Searched refs:bufnum (Results 1 - 16 of 16) sorted by relevance

/drivers/net/arcnet/
H A Darc-rawmode.c39 static void rx(struct net_device *dev, int bufnum,
44 int bufnum);
88 static void rx(struct net_device *dev, int bufnum, argument
120 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
168 int bufnum)
175 lp->next_tx, lp->cur_tx, bufnum);
197 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
198 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length);
167 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument
H A Drfc1051.c39 static void rx(struct net_device *dev, int bufnum,
44 int bufnum);
125 static void rx(struct net_device *dev, int bufnum, argument
154 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
219 int bufnum)
226 lp->next_tx, lp->cur_tx, bufnum);
245 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
246 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length);
218 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument
H A Dcapmode.c41 static void rx(struct net_device *dev, int bufnum, argument
82 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
135 int bufnum)
148 lp->next_tx, lp->cur_tx, bufnum);
172 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
173 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto,
178 lp->hw.copy_to_card(dev, bufnum, ofs+1,
134 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument
H A Drfc1201.c39 static void rx(struct net_device *dev, int bufnum,
44 int bufnum);
45 static int continue_tx(struct net_device *dev, int bufnum);
134 static void rx(struct net_device *dev, int bufnum, argument
163 lp->hw.copy_from_card(dev, bufnum, 512 - length,
196 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
350 lp->hw.copy_from_card(dev, bufnum, ofs + RFC1201_HDR_SIZE,
442 struct arc_rfc1201 *soft, int softlen, int bufnum)
462 lp->hw.copy_to_card(dev, bufnum, ofs - RFC1201_HDR_SIZE,
467 lp->hw.copy_to_card(dev, bufnum,
441 load_pkt(struct net_device *dev, struct arc_hardware *hard, struct arc_rfc1201 *soft, int softlen, int bufnum) argument
474 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument
510 continue_tx(struct net_device *dev, int bufnum) argument
[all...]
H A Darc-rimi.c51 static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset,
53 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, int offset,
306 static void arcrimi_copy_to_card(struct net_device *dev, int bufnum, int offset, argument
310 void __iomem *memaddr = lp->mem_start + 0x800 + bufnum * 512 + offset;
315 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, int offset, argument
319 void __iomem *memaddr = lp->mem_start + 0x800 + bufnum * 512 + offset;
H A Dcom20020.c53 static void com20020_copy_to_card(struct net_device *dev, int bufnum,
55 static void com20020_copy_from_card(struct net_device *dev, int bufnum,
60 static void com20020_copy_from_card(struct net_device *dev, int bufnum, argument
63 int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset;
74 static void com20020_copy_to_card(struct net_device *dev, int bufnum, argument
77 int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset;
H A Dcom90io.c51 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset,
53 static void com90io_copy_from_card(struct net_device *dev, int bufnum, int offset,
346 static void com90io_copy_to_card(struct net_device *dev, int bufnum, int offset, argument
349 TIME("put_whole_buffer", count, put_whole_buffer(dev, bufnum * 512 + offset, count, buf));
353 static void com90io_copy_from_card(struct net_device *dev, int bufnum, int offset, argument
356 TIME("get_whole_buffer", count, get_whole_buffer(dev, bufnum * 512 + offset, count, buf));
H A Darcnet.c57 static void null_rx(struct net_device *dev, int bufnum,
62 int length, int bufnum);
64 static void arcnet_rx(struct net_device *dev, int bufnum);
177 static void arcnet_dump_packet(struct net_device *dev, int bufnum, argument
191 lp->hw.copy_from_card(dev, bufnum, 0, buf, 512);
206 #define arcnet_dump_packet(dev, bufnum, desc,take_arcnet_lock) do { } while (0)
241 static void release_arcbuf(struct net_device *dev, int bufnum) argument
246 lp->buf_queue[lp->first_free_buf++] = bufnum;
251 bufnum);
1001 static void arcnet_rx(struct net_device *dev, int bufnum) argument
1060 null_rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) argument
1084 null_prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument
[all...]
H A Dcom90xx.c63 static void com90xx_copy_to_card(struct net_device *dev, int bufnum, int offset,
65 static void com90xx_copy_from_card(struct net_device *dev, int bufnum, int offset,
623 static void com90xx_copy_to_card(struct net_device *dev, int bufnum, int offset, argument
627 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset;
632 static void com90xx_copy_from_card(struct net_device *dev, int bufnum, int offset, argument
636 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset;
/drivers/media/video/
H A Dmx2_camera.c256 int bufnum; member in struct:mx2_buf_internal
365 unsigned long phys, int bufnum)
371 PRP_DEST_RGB1_PTR + 4 * bufnum);
374 PRP_DEST_Y_PTR - 0x14 * bufnum);
380 PRP_DEST_CB_PTR - 0x14 * bufnum);
382 PRP_DEST_CR_PTR - 0x14 * bufnum);
815 buf->internal.bufnum = 0;
820 mx27_update_emma_buf(pcdev, phys, buf->internal.bufnum);
825 buf->internal.bufnum = 1;
830 mx27_update_emma_buf(pcdev, phys, buf->internal.bufnum);
364 mx27_update_emma_buf(struct mx2_camera_dev *pcdev, unsigned long phys, int bufnum) argument
1460 mx27_camera_frame_done_emma(struct mx2_camera_dev *pcdev, int bufnum, bool err) argument
[all...]
/drivers/mtd/nand/
H A Dfsl_ifc_nand.c49 unsigned int bufnum_mask; /* bufnum = page & bufnum_mask */
190 static int is_blank(struct mtd_info *mtd, unsigned int bufnum) argument
194 u8 __iomem *addr = priv->vbase + bufnum * (mtd->writesize * 2);
216 u32 *eccstat, unsigned int bufnum)
218 u32 reg = eccstat[bufnum / 4];
221 errors = (reg >> ((3 - bufnum % 4) * 8)) & 15;
267 int bufnum = nctrl->page & priv->bufnum_mask; local
268 int sector = bufnum * chip->ecc.steps;
286 if (!is_blank(mtd, bufnum))
215 check_read_ecc(struct mtd_info *mtd, struct fsl_ifc_ctrl *ctrl, u32 *eccstat, unsigned int bufnum) argument
/drivers/usb/gadget/
H A Dm66592-udc.c232 u16 bufnum = 0, buf_bsize = 0; local
246 bufnum = 4 + (info->pipe - M66592_BASE_PIPENUM_INT);
252 bufnum = info->pipe - M66592_BASE_PIPENUM_BULK;
254 bufnum = info->pipe - M66592_BASE_PIPENUM_ISOC;
256 bufnum = M66592_BASE_BUFNUM + (bufnum * 16);
263 bufnum = M66592_BASE_BUFNUM +
269 if (buf_bsize && ((bufnum + 16) >= M66592_MAX_BUFNUM)) {
275 m66592_write(m66592, (buf_bsize << 10) | (bufnum), M66592_PIPEBUF);
H A Dr8a66597-udc.c322 u16 bufnum = 0, buf_bsize = 0; local
336 bufnum = 4 + (info->pipe - R8A66597_BASE_PIPENUM_INT);
342 bufnum = info->pipe - R8A66597_BASE_PIPENUM_BULK;
344 bufnum = info->pipe - R8A66597_BASE_PIPENUM_ISOC;
346 bufnum = R8A66597_BASE_BUFNUM + (bufnum * 16);
353 bufnum = R8A66597_BASE_BUFNUM +
359 if (buf_bsize && ((bufnum + 16) >= R8A66597_MAX_BUFNUM)) {
365 r8a66597_write(r8a66597, (buf_bsize << 10) | (bufnum), PIPEBUF);
/drivers/usb/host/
H A Dr8a66597.h54 u16 bufnum; member in struct:r8a66597_pipe_info
H A Dr8a66597-hcd.c640 r8a66597_write(r8a66597, (info->buf_bsize << 10) | (info->bufnum),
742 u16 bufnum = 0; local
745 bufnum = 0;
747 bufnum = 8 + (pipenum - 1) * R8A66597_BUF_BSIZE*2;
749 bufnum = 4 + (pipenum - 6);
753 return bufnum;
964 info.bufnum = get_bufnum(info.pipenum);
/drivers/infiniband/hw/ipath/
H A Dipath_driver.c1051 * @bufnum: the eager buffer to get
1055 static inline void *ipath_get_egrbuf(struct ipath_devdata *dd, u32 bufnum) argument
1058 (void *) dd->ipath_port0_skbinfo[bufnum].skb->data : NULL;

Completed in 722 milliseconds