Home
last modified time | relevance | path

Searched refs:rfd (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/ethernet/i825xx/
A D82596.c486 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()
575 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
577 rfd->v_next = rfd+1; in init_rx_bufs()
578 rfd->v_prev = rfd-1; in init_rx_bufs()
579 rfd->b_next = WSWAPrfd(virt_to_bus(rfd+1)); in init_rx_bufs()
584 rfd = lp->rfds; in init_rx_bufs()
768 rfd, rfd->rbd, rfd->stat)); in i596_rx()
856 rfd->stat = 0; in i596_rx()
[all …]
A Dlib82596.c470 rfd, SWAP16(rfd->stat), SWAP16(rfd->cmd), in i596_display_data()
471 SWAP32(rfd->b_next), SWAP32(rfd->rbd), in i596_display_data()
473 rfd = rfd->v_next; in i596_display_data()
522 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
524 rfd->v_next = rfd+1; in init_rx_bufs()
525 rfd->v_prev = rfd-1; in init_rx_bufs()
526 rfd->b_next = SWAP32(virt_to_dma(lp, rfd+1)); in init_rx_bufs()
531 rfd = dma->rfds; in init_rx_bufs()
704 rfd, rfd->rbd, rfd->stat)); in i596_rx()
802 rfd->stat = 0; in i596_rx()
[all …]
A Dsun3_82586.c637 volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; in alloc_rfa() local
642 memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); in alloc_rfa()
643 p->rfd_first = rfd; in alloc_rfa()
646 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa()
647 rfd[i].rbd_offset = 0xffff; in alloc_rfa()
649 rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ in alloc_rfa()
651 ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); in alloc_rfa()
/linux/drivers/net/ethernet/qualcomm/emac/
A Demac-mac.c629 if (!rx_q->rfd.rfbuff) in emac_rx_q_free_descs()
654 memset(rx_q->rfd.v_addr, 0, rx_q->rfd.size); in emac_rx_q_free_descs()
655 rx_q->rfd.produce_idx = 0; in emac_rx_q_free_descs()
656 rx_q->rfd.consume_idx = 0; in emac_rx_q_free_descs()
703 kfree(rx_q->rfd.rfbuff); in emac_rx_q_bufs_free()
704 rx_q->rfd.rfbuff = NULL; in emac_rx_q_bufs_free()
707 rx_q->rfd.dma_addr = 0; in emac_rx_q_bufs_free()
708 rx_q->rfd.size = 0; in emac_rx_q_bufs_free()
725 if (!rx_q->rfd.rfbuff) in emac_rx_descs_alloc()
729 rx_q->rfd.size = rx_q->rfd.count * (adpt->rfd_size * 4); in emac_rx_descs_alloc()
[all …]
A Demac-mac.h175 struct emac_rfd_ring rfd; member
/linux/drivers/net/ethernet/agere/
A Det131x.c403 struct rfd { struct
2008 struct rfd *rfd; in et131x_rx_dma_memory_free() local
2021 kfree(rfd); in et131x_rx_dma_memory_free()
2086 struct rfd *rfd; in et131x_init_recv() local
2092 rfd = kzalloc(sizeof(*rfd), GFP_ATOMIC | GFP_DMA); in et131x_init_recv()
2093 if (!rfd) in et131x_init_recv()
2187 struct rfd *rfd; in nic_rx_pkts() local
2245 rfd = list_entry(element, struct rfd, list_node); in nic_rx_pkts()
2247 if (!rfd) { in nic_rx_pkts()
2289 return rfd; in nic_rx_pkts()
[all …]
/linux/net/9p/
A Dtrans_fd.c50 int rfd; member
736 if (clnt->trans_opts.fd.rfd != ~0) in p9_fd_show_options()
737 seq_printf(m, ",rfd=%u", clnt->trans_opts.fd.rfd); in p9_fd_show_options()
760 opts->rfd = ~0; in parse_opts()
794 opts->rfd = option; in parse_opts()
811 static int p9_fd_open(struct p9_client *client, int rfd, int wfd) in p9_fd_open() argument
818 ts->rd = fget(rfd); in p9_fd_open()
1064 client->trans_opts.fd.rfd = opts.rfd; in p9_fd_create()
1067 if (opts.rfd == ~0 || opts.wfd == ~0) { in p9_fd_create()
1072 err = p9_fd_open(client, opts.rfd, opts.wfd); in p9_fd_create()
/linux/drivers/net/ethernet/intel/
A De100.c407 struct rfd { struct
547 struct rfd blank_rfd;
1942 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1946 sizeof(struct rfd), in e100_rx_alloc_skb()
1958 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1987 sizeof(struct rfd), in e100_rx_indicate()
2017 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2104 sizeof(struct rfd), in e100_rx_clean()
2113 sizeof(struct rfd), in e100_rx_clean()
2119 sizeof(struct rfd), in e100_rx_clean()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac4_dma.c263 unsigned int rfd, rfa; in dwmac4_dma_rx_chan_op_mode() local
278 rfd = 0x03; /* Full-2.5K */ in dwmac4_dma_rx_chan_op_mode()
283 rfd = 0x07; /* Full-4.5K */ in dwmac4_dma_rx_chan_op_mode()
289 mtl_rx_op |= rfd << MTL_OP_MODE_RFD_SHIFT; in dwmac4_dma_rx_chan_op_mode()
A Ddwxgmac2_dma.c167 unsigned int rfd, rfa; in dwxgmac2_dma_rx_mode() local
182 rfd = 0x03; /* Full-2.5K */ in dwxgmac2_dma_rx_mode()
187 rfd = 0x07; /* Full-4.5K */ in dwxgmac2_dma_rx_mode()
193 flow |= rfd << XGMAC_RFD_SHIFT; in dwxgmac2_dma_rx_mode()
A Ddwmac1000.h241 enum rfd { enum
/linux/drivers/net/ethernet/atheros/alx/
A Dalx.h60 struct alx_rfd *rfd; member
A Dmain.c86 struct alx_rfd *rfd = &rxq->rfd[cur]; in alx_refill_rx_ring() local
123 rfd->addr = cpu_to_le64(dma); in alx_refill_rx_ring()
642 rxq->rfd = alx->descmem.virt + offset; in alx_alloc_rx_ring()
/linux/drivers/cdrom/
A Dcdrom.c696 struct rwrt_feature_desc *rfd) in cdrom_get_random_writable() argument
712 memcpy(rfd, &buffer[sizeof(struct feature_header)], sizeof (*rfd)); in cdrom_get_random_writable()
743 struct rwrt_feature_desc rfd; in cdrom_is_random_writable() local
748 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_is_random_writable()
751 if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_is_random_writable()
855 struct rwrt_feature_desc rfd; in cdrom_ram_open_write() local
861 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_ram_open_write()
863 else if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_ram_open_write()
864 ret = !rfd.curr; in cdrom_ram_open_write()
/linux/include/net/9p/
A Dclient.h112 int rfd; member
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-dev.c2278 unsigned int rfa, rfd; in xgbe_queue_flow_control_threshold() local
2285 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2286 if (rfd > XGMAC_FLOW_CONTROL_MAX) in xgbe_queue_flow_control_threshold()
2287 rfd = XGMAC_FLOW_CONTROL_MAX; in xgbe_queue_flow_control_threshold()
2323 rfd = rfa + (frame_fifo_size / 2); in xgbe_queue_flow_control_threshold()
2330 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2335 pdata->rx_rfd[queue] = XGMAC_FLOW_CONTROL_VALUE(rfd); in xgbe_queue_flow_control_threshold()
/linux/Documentation/
A Dwatch_queue.rst305 static void consumer(int rfd, struct watch_queue_buffer *buf)
310 while (buf_len = read(rfd, buffer, sizeof(buffer)),
/linux/drivers/mtd/
A DKconfig143 http://www.gensw.com/pages/prod/bios/rfd.htm

Completed in 67 milliseconds