Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/i825xx/
H A D82596.c485 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data()
486 rfd->count); in i596_display_data()
487 rfd = rfd->v_next; in i596_display_data()
574 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
576 rfd->v_next = rfd+1; in init_rx_bufs()
577 rfd->v_prev = rfd-1; in init_rx_bufs()
578 rfd->b_next = WSWAPrfd(virt_to_bus(rfd+1)); in init_rx_bufs()
583 rfd = lp->rfds; in init_rx_bufs()
767 rfd, rfd->rbd, rfd->stat)); in i596_rx()
855 rfd->stat = 0; in i596_rx()
[all …]
H A Dlib82596.c469 rfd, SWAP16(rfd->stat), SWAP16(rfd->cmd), in i596_display_data()
470 SWAP32(rfd->b_next), SWAP32(rfd->rbd), in i596_display_data()
472 rfd = rfd->v_next; in i596_display_data()
521 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
523 rfd->v_next = rfd+1; in init_rx_bufs()
524 rfd->v_prev = rfd-1; in init_rx_bufs()
525 rfd->b_next = SWAP32(virt_to_dma(lp, rfd+1)); in init_rx_bufs()
530 rfd = dma->rfds; in init_rx_bufs()
703 rfd, rfd->rbd, rfd->stat)); in i596_rx()
801 rfd->stat = 0; in i596_rx()
[all …]
H A Dsun3_82586.c638 volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; in alloc_rfa() local
643 memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); in alloc_rfa()
644 p->rfd_first = rfd; in alloc_rfa()
647 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa()
648 rfd[i].rbd_offset = 0xffff; in alloc_rfa()
650 rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ in alloc_rfa()
652 ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); in alloc_rfa()
/openbmc/qemu/util/
H A Devent_notifier-posix.c29 e->rfd = fd; in event_notifier_init_fd()
47 e->rfd = e->wfd = ret; in event_notifier_init()
63 e->rfd = fds[0]; in event_notifier_init()
84 if (e->rfd != e->wfd) { in event_notifier_cleanup()
85 close(e->rfd); in event_notifier_cleanup()
88 e->rfd = -1; in event_notifier_cleanup()
96 return e->rfd; in event_notifier_get_fd()
137 len = read(e->rfd, buffer, sizeof(buffer)); in event_notifier_test_and_clear()
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H 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 …]
H A Demac-mac.h175 struct emac_rfd_ring rfd; member
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dutils.cpp65 fd_set rfd; in setupUnixSocket() local
70 FD_ZERO(&rfd); in setupUnixSocket()
71 FD_SET(sock, &rfd); in setupUnixSocket()
75 int retval = select(nfd, &rfd, NULL, NULL, &tv); in setupUnixSocket()
85 if ((retval > 0) && (FD_ISSET(sock, &rfd))) in setupUnixSocket()
/openbmc/linux/drivers/net/ethernet/agere/
H 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 …]
/openbmc/linux/net/9p/
H A Dtrans_fd.c49 int rfd; member
748 if (clnt->trans_opts.fd.rfd != ~0) in p9_fd_show_options()
749 seq_printf(m, ",rfd=%u", clnt->trans_opts.fd.rfd); in p9_fd_show_options()
772 opts->rfd = ~0; in parse_opts()
806 opts->rfd = option; in parse_opts()
823 static int p9_fd_open(struct p9_client *client, int rfd, int wfd) in p9_fd_open() argument
830 ts->rd = fget(rfd); in p9_fd_open()
1091 client->trans_opts.fd.rfd = opts.rfd; in p9_fd_create()
1094 if (opts.rfd == ~0 || opts.wfd == ~0) { in p9_fd_create()
1099 err = p9_fd_open(client, opts.rfd, opts.wfd); in p9_fd_create()
/openbmc/linux/drivers/net/ethernet/intel/
H A De100.c407 struct rfd { struct
547 struct rfd blank_rfd;
1938 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1942 sizeof(struct rfd), in e100_rx_alloc_skb()
1954 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1983 sizeof(struct rfd), in e100_rx_indicate()
2013 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2100 sizeof(struct rfd), in e100_rx_clean()
2109 sizeof(struct rfd), in e100_rx_clean()
2115 sizeof(struct rfd), in e100_rx_clean()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcompression.py42 rfd, wfd = os.pipe()
43 with open(rfd, "rb") as r, open(wfd, "wb") as w:
/openbmc/qemu/include/qemu/
H A Devent_notifier.h25 int rfd;
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dwatch_queue.rst275 static void consumer(int rfd, struct watch_queue_buffer *buf)
280 while (buf_len = read(rfd, buffer, sizeof(buffer)),
/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A Dalx.h60 struct alx_rfd *rfd; member
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_dma.c171 unsigned int rfd, rfa; in dwxgmac2_dma_rx_mode() local
186 rfd = 0x03; /* Full-2.5K */ in dwxgmac2_dma_rx_mode()
191 rfd = 0x07; /* Full-4.5K */ in dwxgmac2_dma_rx_mode()
197 flow |= rfd << XGMAC_RFD_SHIFT; in dwxgmac2_dma_rx_mode()
H A Ddwmac4_dma.c295 unsigned int rfd, rfa; in dwmac4_dma_rx_chan_op_mode() local
310 rfd = 0x03; /* Full-2.5K */ in dwmac4_dma_rx_chan_op_mode()
315 rfd = 0x07; /* Full-4.5K */ in dwmac4_dma_rx_chan_op_mode()
321 mtl_rx_op |= rfd << MTL_OP_MODE_RFD_SHIFT; in dwmac4_dma_rx_chan_op_mode()
H A Ddwmac1000.h241 enum rfd { enum
/openbmc/u-boot/drivers/net/
H A Ddwc_eth_qos.c950 u32 rfd, rfa; in eqos_start() local
967 rfd = 0x3; /* Full-3K */ in eqos_start()
970 rfd = 0x6; /* Full-4K */ in eqos_start()
973 rfd = 0x6; /* Full-4K */ in eqos_start()
976 rfd = 0x6; /* Full-4K */ in eqos_start()
985 (rfd << in eqos_start()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c137 KVMResampleFd *rfd; in kvm_resample_fd_remove() local
140 if (rfd->gsi == gsi) { in kvm_resample_fd_remove()
141 QLIST_REMOVE(rfd, node); in kvm_resample_fd_remove()
142 g_free(rfd); in kvm_resample_fd_remove()
150 KVMResampleFd *rfd = g_new0(KVMResampleFd, 1); in kvm_resample_fd_insert() local
152 rfd->gsi = gsi; in kvm_resample_fd_insert()
153 rfd->resample_event = event; in kvm_resample_fd_insert()
160 KVMResampleFd *rfd; in kvm_resample_fd_notify() local
163 if (rfd->gsi == gsi) { in kvm_resample_fd_notify()
2236 if (rfd != -1) { in kvm_irqchip_assign_irqfd()
[all …]
/openbmc/linux/drivers/cdrom/
H A Dcdrom.c690 struct rwrt_feature_desc *rfd) in cdrom_get_random_writable() argument
706 memcpy(rfd, &buffer[sizeof(struct feature_header)], sizeof (*rfd)); in cdrom_get_random_writable()
737 struct rwrt_feature_desc rfd; in cdrom_is_random_writable() local
742 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_is_random_writable()
745 if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_is_random_writable()
849 struct rwrt_feature_desc rfd; in cdrom_ram_open_write() local
855 if ((ret = cdrom_get_random_writable(cdi, &rfd))) in cdrom_ram_open_write()
857 else if (CDF_RWRT == be16_to_cpu(rfd.feature_code)) in cdrom_ram_open_write()
858 ret = !rfd.curr; in cdrom_ram_open_write()
/openbmc/openbmc/poky/meta-selftest/recipes-devtools/mtd/
H A Dmtd-utils-selftest_git.bb68 FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}…
/openbmc/linux/include/net/9p/
H A Dclient.h113 int rfd; member
/openbmc/openbmc/poky/meta/recipes-devtools/mtd/
H A Dmtd-utils_git.bb74 FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}…
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dev.c2335 unsigned int rfa, rfd; in xgbe_queue_flow_control_threshold() local
2342 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2343 if (rfd > XGMAC_FLOW_CONTROL_MAX) in xgbe_queue_flow_control_threshold()
2344 rfd = XGMAC_FLOW_CONTROL_MAX; in xgbe_queue_flow_control_threshold()
2380 rfd = rfa + (frame_fifo_size / 2); in xgbe_queue_flow_control_threshold()
2387 rfd = rfa + frame_fifo_size; in xgbe_queue_flow_control_threshold()
2392 pdata->rx_rfd[queue] = XGMAC_FLOW_CONTROL_VALUE(rfd); in xgbe_queue_flow_control_threshold()
/openbmc/linux/Documentation/core-api/
H A Dwatch_queue.rst305 static void consumer(int rfd, struct watch_queue_buffer *buf)
310 while (buf_len = read(rfd, buffer, sizeof(buffer)),

12