Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
D82596.c294 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 …]
Dlib82596.c278 u32 rfd; member
439 struct i596_rfd *rfd; in i596_display_data() local
449 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); in i596_display_data()
464 rfd = lp->rfd_head; in i596_display_data()
465 printk(KERN_DEBUG "rfd_head = %p\n", rfd); in i596_display_data()
470 rfd, SWAP16(rfd->stat), SWAP16(rfd->cmd), in i596_display_data()
471 SWAP32(rfd->b_next), SWAP32(rfd->rbd), in i596_display_data()
472 SWAP16(rfd->count)); in i596_display_data()
473 rfd = rfd->v_next; in i596_display_data()
474 } while (rfd != lp->rfd_head); in i596_display_data()
[all …]
Dsun3_82586.c641 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c235 #define EMAC_RFD(RXQ, SIZE, IDX) ((RXQ)->rfd.v_addr + (SIZE * (IDX)))
238 #define GET_RFD_BUFFER(RXQ, IDX) (&((RXQ)->rfd.rfbuff[(IDX)]))
315 writel(upper_32_bits(adpt->rx_q.rfd.dma_addr), in emac_mac_dma_rings_config()
318 writel(lower_32_bits(adpt->rx_q.rfd.dma_addr), in emac_mac_dma_rings_config()
323 writel(adpt->rx_q.rfd.count & RFD_RING_SIZE_BMSK, in emac_mac_dma_rings_config()
629 if (!rx_q->rfd.rfbuff) in emac_rx_q_free_descs()
632 for (i = 0; i < rx_q->rfd.count; i++) { in emac_rx_q_free_descs()
646 size = sizeof(struct emac_buffer) * rx_q->rfd.count; in emac_rx_q_free_descs()
647 memset(rx_q->rfd.rfbuff, 0, size); in emac_rx_q_free_descs()
654 memset(rx_q->rfd.v_addr, 0, rx_q->rfd.size); in emac_rx_q_free_descs()
[all …]
Demac-mac.h175 struct emac_rfd_ring rfd; member
/kernel/linux/linux-5.10/drivers/net/ethernet/agere/
Det131x.c403 struct rfd { struct
2008 struct rfd *rfd; in et131x_rx_dma_memory_free() local
2016 rfd = list_entry(rx_ring->recv_list.next, in et131x_rx_dma_memory_free()
2017 struct rfd, list_node); in et131x_rx_dma_memory_free()
2019 list_del(&rfd->list_node); in et131x_rx_dma_memory_free()
2020 rfd->skb = NULL; in et131x_rx_dma_memory_free()
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()
[all …]
/kernel/linux/linux-5.10/net/9p/
Dtrans_fd.c52 int rfd; member
739 if (clnt->trans_opts.fd.rfd != ~0) in p9_fd_show_options()
740 seq_printf(m, ",rfd=%u", clnt->trans_opts.fd.rfd); in p9_fd_show_options()
763 opts->rfd = ~0; in parse_opts()
797 opts->rfd = option; in parse_opts()
814 static int p9_fd_open(struct p9_client *client, int rfd, int wfd) in p9_fd_open() argument
821 ts->rd = fget(rfd); in p9_fd_open()
1072 client->trans_opts.fd.rfd = opts.rfd; in p9_fd_create()
1075 if (opts.rfd == ~0 || opts.wfd == ~0) { in p9_fd_create()
1080 err = p9_fd_open(client, opts.rfd, opts.wfd); in p9_fd_create()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/
De100.c407 struct rfd { struct
547 struct rfd blank_rfd;
1917 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
1924 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb()
1939 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1943 sizeof(struct rfd), in e100_rx_alloc_skb()
1955 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1964 sizeof(struct rfd), DMA_BIDIRECTIONAL); in e100_rx_indicate()
1965 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate()
1978 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_dma.c253 unsigned int rfd, rfa; in dwmac4_dma_rx_chan_op_mode() local
268 rfd = 0x03; /* Full-2.5K */ in dwmac4_dma_rx_chan_op_mode()
273 rfd = 0x07; /* Full-4.5K */ in dwmac4_dma_rx_chan_op_mode()
279 mtl_rx_op |= rfd << MTL_OP_MODE_RFD_SHIFT; in dwmac4_dma_rx_chan_op_mode()
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()
Ddwmac1000.h241 enum rfd { enum
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/
Dalx.h60 struct alx_rfd *rfd; member
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()
/kernel/linux/linux-5.10/include/net/9p/
Dclient.h114 int rfd; member
/kernel/linux/linux-5.10/drivers/cdrom/
Dcdrom.c689 struct rwrt_feature_desc *rfd) in cdrom_get_random_writable() argument
705 memcpy(rfd, &buffer[sizeof(struct feature_header)], sizeof (*rfd)); in cdrom_get_random_writable()
736 struct rwrt_feature_desc rfd; in cdrom_is_random_writable() local
741 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_is_random_writable()
744 if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_is_random_writable()
848 struct rwrt_feature_desc rfd; in cdrom_ram_open_write() local
854 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_ram_open_write()
856 else if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_ram_open_write()
857 ret = !rfd.curr; in cdrom_ram_open_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c2285 unsigned int rfa, rfd; in xgbe_queue_flow_control_threshold() local
2292 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2293 if (rfd > XGMAC_FLOW_CONTROL_MAX) in xgbe_queue_flow_control_threshold()
2294 rfd = XGMAC_FLOW_CONTROL_MAX; in xgbe_queue_flow_control_threshold()
2330 rfd = rfa + (frame_fifo_size / 2); in xgbe_queue_flow_control_threshold()
2337 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2342 pdata->rx_rfd[queue] = XGMAC_FLOW_CONTROL_VALUE(rfd); in xgbe_queue_flow_control_threshold()
/kernel/linux/linux-5.10/Documentation/
Dwatch_queue.rst305 static void consumer(int rfd, struct watch_queue_buffer *buf)
310 while (buf_len = read(rfd, buffer, sizeof(buffer)),
/kernel/linux/linux-5.10/drivers/mtd/
DKconfig141 http://www.gensw.com/pages/prod/bios/rfd.htm