/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | 82596.c | 485 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 D | lib82596.c | 469 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 D | sun3_82586.c | 638 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 D | event_notifier-posix.c | 29 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 D | emac-mac.c | 629 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 D | emac-mac.h | 175 struct emac_rfd_ring rfd; member
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | utils.cpp | 65 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 D | et131x.c | 403 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 D | trans_fd.c | 49 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 D | e100.c | 407 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 D | compression.py | 42 rfd, wfd = os.pipe() 43 with open(rfd, "rb") as r, open(wfd, "wb") as w:
|
/openbmc/qemu/include/qemu/ |
H A D | event_notifier.h | 25 int rfd;
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | watch_queue.rst | 275 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 D | alx.h | 60 struct alx_rfd *rfd; member
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_dma.c | 171 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 D | dwmac4_dma.c | 295 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 D | dwmac1000.h | 241 enum rfd { enum
|
/openbmc/u-boot/drivers/net/ |
H A D | dwc_eth_qos.c | 950 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 D | kvm-all.c | 137 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 D | cdrom.c | 690 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 D | mtd-utils-selftest_git.bb | 68 FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}…
|
/openbmc/linux/include/net/9p/ |
H A D | client.h | 113 int rfd; member
|
/openbmc/openbmc/poky/meta/recipes-devtools/mtd/ |
H A D | mtd-utils_git.bb | 74 FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}…
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dev.c | 2335 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 D | watch_queue.rst | 305 static void consumer(int rfd, struct watch_queue_buffer *buf) 310 while (buf_len = read(rfd, buffer, sizeof(buffer)),
|