/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 278 u32 rfd; member 408 struct i596_rfd *rfd; in i596_display_data() local 418 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); in i596_display_data() 433 rfd = lp->rfd_head; in i596_display_data() 434 printk(KERN_DEBUG "rfd_head = %p\n", rfd); in i596_display_data() 439 rfd, SWAP16(rfd->stat), SWAP16(rfd->cmd), in i596_display_data() 440 SWAP32(rfd->b_next), SWAP32(rfd->rbd), in i596_display_data() 441 SWAP16(rfd->count)); in i596_display_data() 442 rfd = rfd->v_next; in i596_display_data() 443 } while (rfd != lp->rfd_head); in i596_display_data() [all …]
|
D | 82596.c | 294 struct i596_rfd *rfd; member 460 struct i596_rfd *rfd; in i596_display_data() local 470 lp->scb.cmd, lp->scb.rfd); in i596_display_data() 481 rfd = lp->rfd_head; in i596_display_data() 482 printk(KERN_ERR "rfd_head = %p\n", rfd); in i596_display_data() 486 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data() 487 rfd->count); in i596_display_data() 488 rfd = rfd->v_next; in i596_display_data() 489 } while (rfd != lp->rfd_head); in i596_display_data() 544 struct i596_rfd *rfd; in init_rx_bufs() local [all …]
|
D | sun3_82586.c | 641 volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; in alloc_rfa() local 646 memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); in alloc_rfa() 647 p->rfd_first = rfd; in alloc_rfa() 650 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa() 651 rfd[i].rbd_offset = 0xffff; in alloc_rfa() 653 rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ in alloc_rfa() 655 ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); in alloc_rfa()
|
/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 303 #define EMAC_RFD(RXQ, SIZE, IDX) ((RXQ)->rfd.v_addr + (SIZE * (IDX))) 306 #define GET_RFD_BUFFER(RXQ, IDX) (&((RXQ)->rfd.rfbuff[(IDX)])) 395 writel(upper_32_bits(adpt->rx_q.rfd.dma_addr), in emac_mac_dma_rings_config() 398 writel(lower_32_bits(adpt->rx_q.rfd.dma_addr), in emac_mac_dma_rings_config() 403 writel(adpt->rx_q.rfd.count & RFD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 681 if (!rx_q->rfd.rfbuff) in emac_rx_q_free_descs() 684 for (i = 0; i < rx_q->rfd.count; i++) { in emac_rx_q_free_descs() 698 size = sizeof(struct emac_buffer) * rx_q->rfd.count; in emac_rx_q_free_descs() 699 memset(rx_q->rfd.rfbuff, 0, size); in emac_rx_q_free_descs() 706 memset(rx_q->rfd.v_addr, 0, rx_q->rfd.size); in emac_rx_q_free_descs() [all …]
|
D | emac-mac.h | 182 struct emac_rfd_ring rfd; member
|
/drivers/net/ethernet/agere/ |
D | et131x.c | 401 struct rfd { struct 2010 struct rfd *rfd; in et131x_rx_dma_memory_free() local 2018 rfd = list_entry(rx_ring->recv_list.next, in et131x_rx_dma_memory_free() 2019 struct rfd, list_node); in et131x_rx_dma_memory_free() 2021 list_del(&rfd->list_node); in et131x_rx_dma_memory_free() 2022 rfd->skb = NULL; in et131x_rx_dma_memory_free() 2023 kfree(rfd); in et131x_rx_dma_memory_free() 2088 struct rfd *rfd; in et131x_init_recv() local 2094 rfd = kzalloc(sizeof(*rfd), GFP_ATOMIC | GFP_DMA); in et131x_init_recv() 2095 if (!rfd) in et131x_init_recv() [all …]
|
/drivers/net/ethernet/intel/ |
D | e100.c | 435 struct rfd { struct 575 struct rfd blank_rfd; 1949 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN) 1956 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb() 1971 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb() 1974 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_skb() 1985 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local 1994 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_indicate() 1995 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate() 2008 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate() [all …]
|
/drivers/net/ethernet/atheros/alx/ |
D | alx.h | 56 struct alx_rfd *rfd; member
|
D | main.c | 90 struct alx_rfd *rfd = &rxq->rfd[cur]; in alx_refill_rx_ring() local 127 rfd->addr = cpu_to_le64(dma); in alx_refill_rx_ring() 621 alx->rxq.rfd = in alx_alloc_descriptors()
|
/drivers/cdrom/ |
D | cdrom.c | 687 struct rwrt_feature_desc *rfd) in cdrom_get_random_writable() argument 703 memcpy(rfd, &buffer[sizeof(struct feature_header)], sizeof (*rfd)); in cdrom_get_random_writable() 734 struct rwrt_feature_desc rfd; in cdrom_is_random_writable() local 739 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_is_random_writable() 742 if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_is_random_writable() 846 struct rwrt_feature_desc rfd; in cdrom_ram_open_write() local 852 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_ram_open_write() 854 else if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_ram_open_write() 855 ret = !rfd.curr; in cdrom_ram_open_write()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000.h | 255 enum rfd { enum
|
/drivers/mtd/ |
D | Kconfig | 269 http://www.gensw.com/pages/prod/bios/rfd.htm
|