/drivers/net/arcnet/ |
D | arc-rawmode.c | 39 static void rx(struct net_device *dev, int bufnum, 44 int bufnum); 88 static void rx(struct net_device *dev, int bufnum, in rx() argument 120 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 168 int bufnum) in prepare_tx() argument 175 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx() 197 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx() 198 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
|
D | rfc1051.c | 39 static void rx(struct net_device *dev, int bufnum, 44 int bufnum); 125 static void rx(struct net_device *dev, int bufnum, in rx() argument 154 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 219 int bufnum) in prepare_tx() argument 226 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx() 245 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx() 246 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length); in prepare_tx()
|
D | rfc1201.c | 39 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, in rx() argument 163 lp->hw.copy_from_card(dev, bufnum, 512 - length, in rx() 196 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 350 lp->hw.copy_from_card(dev, bufnum, ofs + RFC1201_HDR_SIZE, in rx() 442 struct arc_rfc1201 *soft, int softlen, int bufnum) in load_pkt() argument 462 lp->hw.copy_to_card(dev, bufnum, ofs - RFC1201_HDR_SIZE, in load_pkt() 467 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in load_pkt() [all …]
|
D | capmode.c | 41 static void rx(struct net_device *dev, int bufnum, in rx() argument 82 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft), in rx() 135 int bufnum) in prepare_tx() argument 148 lp->next_tx, lp->cur_tx, bufnum); in prepare_tx() 172 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx() 173 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto, in prepare_tx() 178 lp->hw.copy_to_card(dev, bufnum, ofs+1, in prepare_tx()
|
D | arcnet.c | 57 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, in arcnet_dump_packet() argument 191 lp->hw.copy_from_card(dev, bufnum, 0, buf, 512); in arcnet_dump_packet() 206 #define arcnet_dump_packet(dev, bufnum, desc,take_arcnet_lock) do { } while (0) argument 241 static void release_arcbuf(struct net_device *dev, int bufnum) in release_arcbuf() argument 246 lp->buf_queue[lp->first_free_buf++] = bufnum; in release_arcbuf() 251 bufnum); in release_arcbuf() 1001 static void arcnet_rx(struct net_device *dev, int bufnum) in arcnet_rx() argument [all …]
|
D | com20020.c | 53 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, in com20020_copy_from_card() argument 63 int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset; in com20020_copy_from_card() 74 static void com20020_copy_to_card(struct net_device *dev, int bufnum, in com20020_copy_to_card() argument 77 int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset; in com20020_copy_to_card()
|
D | arc-rimi.c | 51 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, in arcrimi_copy_to_card() argument 310 void __iomem *memaddr = lp->mem_start + 0x800 + bufnum * 512 + offset; in arcrimi_copy_to_card() 315 static void arcrimi_copy_from_card(struct net_device *dev, int bufnum, int offset, in arcrimi_copy_from_card() argument 319 void __iomem *memaddr = lp->mem_start + 0x800 + bufnum * 512 + offset; in arcrimi_copy_from_card()
|
D | com90io.c | 51 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, in com90io_copy_to_card() argument 349 TIME("put_whole_buffer", count, put_whole_buffer(dev, bufnum * 512 + offset, count, buf)); in com90io_copy_to_card() 353 static void com90io_copy_from_card(struct net_device *dev, int bufnum, int offset, in com90io_copy_from_card() argument 356 TIME("get_whole_buffer", count, get_whole_buffer(dev, bufnum * 512 + offset, count, buf)); in com90io_copy_from_card()
|
D | com90xx.c | 63 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, in com90xx_copy_to_card() argument 627 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card() 632 static void com90xx_copy_from_card(struct net_device *dev, int bufnum, int offset, in com90xx_copy_from_card() argument 636 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
|
/drivers/media/platform/soc_camera/ |
D | mx2_camera.c | 221 int bufnum; member 386 unsigned long phys, int bufnum) in mx27_update_emma_buf() argument 392 PRP_DEST_RGB1_PTR + 4 * bufnum); in mx27_update_emma_buf() 395 PRP_DEST_Y_PTR - 0x14 * bufnum); in mx27_update_emma_buf() 401 PRP_DEST_CB_PTR - 0x14 * bufnum); in mx27_update_emma_buf() 403 PRP_DEST_CR_PTR - 0x14 * bufnum); in mx27_update_emma_buf() 671 buf->internal.bufnum = 0; in mx2_start_streaming() 675 mx27_update_emma_buf(pcdev, phys, buf->internal.bufnum); in mx2_start_streaming() 680 buf->internal.bufnum = 1; in mx2_start_streaming() 684 mx27_update_emma_buf(pcdev, phys, buf->internal.bufnum); in mx2_start_streaming() [all …]
|
/drivers/mtd/nand/ |
D | fsl_ifc_nand.c | 192 static int is_blank(struct mtd_info *mtd, unsigned int bufnum) in is_blank() argument 196 u8 __iomem *addr = priv->vbase + bufnum * (mtd->writesize * 2); in is_blank() 218 u32 *eccstat, unsigned int bufnum) in check_read_ecc() argument 220 u32 reg = eccstat[bufnum / 4]; in check_read_ecc() 223 errors = (reg >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc() 272 int bufnum = nctrl->page & priv->bufnum_mask; in fsl_ifc_run_command() local 273 int sector = bufnum * chip->ecc.steps; in fsl_ifc_run_command() 291 if (!is_blank(mtd, bufnum)) in fsl_ifc_run_command()
|
/drivers/usb/gadget/ |
D | m66592-udc.c | 232 u16 bufnum = 0, buf_bsize = 0; in pipe_buffer_setting() local 246 bufnum = 4 + (info->pipe - M66592_BASE_PIPENUM_INT); in pipe_buffer_setting() 252 bufnum = info->pipe - M66592_BASE_PIPENUM_BULK; in pipe_buffer_setting() 254 bufnum = info->pipe - M66592_BASE_PIPENUM_ISOC; in pipe_buffer_setting() 256 bufnum = M66592_BASE_BUFNUM + (bufnum * 16); in pipe_buffer_setting() 263 bufnum = M66592_BASE_BUFNUM + in pipe_buffer_setting() 269 if (buf_bsize && ((bufnum + 16) >= M66592_MAX_BUFNUM)) { in pipe_buffer_setting() 275 m66592_write(m66592, (buf_bsize << 10) | (bufnum), M66592_PIPEBUF); in pipe_buffer_setting()
|
D | r8a66597-udc.c | 322 u16 bufnum = 0, buf_bsize = 0; in pipe_buffer_setting() local 336 bufnum = 4 + (info->pipe - R8A66597_BASE_PIPENUM_INT); in pipe_buffer_setting() 342 bufnum = info->pipe - R8A66597_BASE_PIPENUM_BULK; in pipe_buffer_setting() 344 bufnum = info->pipe - R8A66597_BASE_PIPENUM_ISOC; in pipe_buffer_setting() 346 bufnum = R8A66597_BASE_BUFNUM + (bufnum * 16); in pipe_buffer_setting() 353 bufnum = R8A66597_BASE_BUFNUM + in pipe_buffer_setting() 359 if (buf_bsize && ((bufnum + 16) >= R8A66597_MAX_BUFNUM)) { in pipe_buffer_setting() 365 r8a66597_write(r8a66597, (buf_bsize << 10) | (bufnum), PIPEBUF); in pipe_buffer_setting()
|
/drivers/staging/imx-drm/ipu-v3/ |
D | imx-ipu-v3.h | 245 int bufnum, dma_addr_t buf) in ipu_cpmem_set_buffer() argument 247 if (bufnum) in ipu_cpmem_set_buffer()
|
/drivers/usb/host/ |
D | r8a66597-hcd.c | 636 r8a66597_write(r8a66597, (info->buf_bsize << 10) | (info->bufnum), in pipe_buffer_setting() 738 u16 bufnum = 0; in get_bufnum() local 741 bufnum = 0; in get_bufnum() 743 bufnum = 8 + (pipenum - 1) * R8A66597_BUF_BSIZE*2; in get_bufnum() 745 bufnum = 4 + (pipenum - 6); in get_bufnum() 749 return bufnum; in get_bufnum() 960 info.bufnum = get_bufnum(info.pipenum); in init_pipe_info()
|
D | r8a66597.h | 51 u16 bufnum; member
|
/drivers/infiniband/hw/ipath/ |
D | ipath_driver.c | 1050 static inline void *ipath_get_egrbuf(struct ipath_devdata *dd, u32 bufnum) in ipath_get_egrbuf() argument 1053 (void *) dd->ipath_port0_skbinfo[bufnum].skb->data : NULL; in ipath_get_egrbuf()
|