| /src/sys/arch/arm/broadcom/ |
| bcm53xx_eth.c | 312 aprint_error(": failed to init rxq: %d\n", error); 608 struct bcmeth_rxqueue * const rxq = &sc->sc_rxq; local in function:bcmeth_ifstop 616 bcmeth_write_4(sc, rxq->rxq_reg_rcvctl, 617 bcmeth_read_4(sc, rxq->rxq_reg_rcvctl) & ~RCVCTL_ENABLE); 628 uint32_t rx0 = bcmeth_read_4(sc, rxq->rxq_reg_rcvsts0); 694 struct bcmeth_rxqueue *rxq, 698 bus_dmamap_sync(sc->sc_dmat, rxq->rxq_descmap, 699 (rxdb - rxq->rxq_first) * sizeof(*rxdb), count * sizeof(*rxdb), 706 struct bcmeth_rxqueue *rxq, 710 bus_dmamap_sync(sc->sc_dmat, rxq->rxq_descmap 1791 struct bcmeth_rxqueue * const rxq = &sc->sc_rxq; local in function:bcmeth_intr 1975 struct bcmeth_rxqueue * const rxq = &sc->sc_rxq; local in function:bcmeth_worker [all...] |
| /src/sys/arch/powerpc/booke/dev/ |
| pq3etsec.c | 646 aprint_error(": failed to init rxq: %d\n", error); 1237 struct pq3etsec_rxqueue *rxq, 1241 bus_dmamap_sync(sc->sc_dmat, rxq->rxq_descmap, 1242 (rxbd - rxq->rxq_first) * sizeof(*rxbd), count * sizeof(*rxbd), 1249 struct pq3etsec_rxqueue *rxq, 1253 bus_dmamap_sync(sc->sc_dmat, rxq->rxq_descmap, 1254 (rxbd - rxq->rxq_first) * sizeof(*rxbd), count * sizeof(*rxbd), 1478 struct pq3etsec_rxqueue *rxq) 1480 volatile struct rxbd *producer = rxq->rxq_producer; 1482 size_t inuse = rxq->rxq_inuse 2509 struct pq3etsec_rxqueue * const rxq = &sc->sc_rxq; local in function:pq3etsec_soft_intr [all...] |
| /src/sys/dev/marvell/ |
| if_gfe.c | 127 #define GE_RXDSYNC(sc, rxq, n, ops) \ 128 bus_dmamap_sync((sc)->sc_dmat, (rxq)->rxq_desc_mem.gdm_map, \ 129 (n) * sizeof((rxq)->rxq_descs[0]), sizeof((rxq)->rxq_descs[0]), \ 131 #define GE_RXDPRESYNC(sc, rxq, n) \ 132 GE_RXDSYNC(sc, rxq, n, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE) 133 #define GE_RXDPOSTSYNC(sc, rxq, n) \ 134 GE_RXDSYNC(sc, rxq, n, BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE) 755 struct gfe_rxqueue * const rxq = &sc->sc_rxq[rxprio]; local in function:gfe_rx_rxqalloc 761 error = gfe_dmamem_alloc(sc, &rxq->rxq_desc_mem, 1 781 struct gfe_rxqueue * const rxq = &sc->sc_rxq[rxprio]; local in function:gfe_rx_rxqinit 868 struct gfe_rxqueue * const rxq = &sc->sc_rxq[rxprio]; local in function:gfe_rx_get 982 struct gfe_rxqueue *rxq; local in function:gfe_rx_process 1040 struct gfe_rxqueue *rxq; local in function:gfe_rx_prime 1093 struct gfe_rxqueue *rxq = &sc->sc_rxq[rxprio]; local in function:gfe_rx_cleanup 1147 struct gfe_rxqueue *rxq = &sc->sc_rxq[GE_RXPRIO_HI]; local in function:gfe_tick 1153 struct gfe_rxqueue *rxq = &sc->sc_rxq[GE_RXPRIO_MEDHI]; local in function:gfe_tick 1159 struct gfe_rxqueue *rxq = &sc->sc_rxq[GE_RXPRIO_MEDLO]; local in function:gfe_tick 1165 struct gfe_rxqueue *rxq = &sc->sc_rxq[GE_RXPRIO_LO]; local in function:gfe_tick [all...] |
| /src/sys/arch/arm/at91/ |
| at91emacvar.h | 62 struct emac_qmeta rxq[RX_QLEN]; member in struct:emac_softc
|
| at91emac.c | 266 sc->rxq[bi].m_dmamap, 0, 269 sc->rxq[bi].m_dmamap); 270 m_set_rcvif(sc->rxq[bi].m, ifp); 271 sc->rxq[bi].m->m_pkthdr.len = 272 sc->rxq[bi].m->m_len = fl; 274 if_percpuq_enqueue(ifp->if_percpuq, sc->rxq[bi].m); 278 sc->rxq[bi].m = m; 280 sc->rxq[bi].m_dmamap, 284 sc->rxq[bi].m_dmamap, 0, 288 sc->rxq[bi].m_dmamap->dm_segs[0].ds_add [all...] |
| /src/sys/arch/arm/ep93xx/ |
| epevar.h | 60 struct epe_qmeta rxq[RX_QLEN]; member in struct:epe_softc
|
| epe.c | 218 sc->rxq[bi].m_dmamap); 219 m_set_rcvif(sc->rxq[bi].m, ifp); 220 sc->rxq[bi].m->m_pkthdr.len = 221 sc->rxq[bi].m->m_len = fl; 223 sc->rxq[bi].m); 224 sc->rxq[bi].m = m; 226 sc->rxq[bi].m_dmamap, 230 sc->rxq[bi].m_dmamap->dm_segs[0].ds_addr; 364 0, BUS_DMA_WAITOK, &sc->rxq[i].m_dmamap); 367 sc->rxq[i].m = m [all...] |
| /src/sys/dev/pci/ |
| if_vmx.c | 1079 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_set_interrupt_idx 1094 rxq = &vmxq->vxq_rxqueue; 1095 rxs = rxq->vxrxq_rs; 1129 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_init_rxq 1133 rxq = &sc->vmx_queue[q].vxq_rxqueue; 1135 snprintf(rxq->vxrxq_name, sizeof(rxq->vxrxq_name), "%s-rx%d", 1137 rxq->vxrxq_mtx = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NET /* XXX */); 1139 rxq->vxrxq_sc = sc; 1142 rxr = &rxq->vxrxq_cmd_ring[i] 1475 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_alloc_rxq_data 1552 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_free_rxq_data 1655 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_init_shared_data 1966 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_setup_stats 2026 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_teardown_stats 2520 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_legacy_intr 2565 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_txrxq_intr 2610 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_handle_queue 2734 struct vmxnet3_rxqueue *rxq; local in function:vmxnet3_stop_rendezvous [all...] |
| if_wm.c | 266 #define WM_CDRXOFF(rxq, x) ((rxq)->rxq_descsize * (x)) 461 WM_Q_EVCNT_DEFINE(rxq, intr); /* Interrupts */ 462 WM_Q_EVCNT_DEFINE(rxq, defer); /* Rx deferred processing */ 463 WM_Q_EVCNT_DEFINE(rxq, ipsum); /* IP checksums checked */ 464 WM_Q_EVCNT_DEFINE(rxq, tusum); /* TCP/UDP cksums checked */ 465 WM_Q_EVCNT_DEFINE(rxq, qdrop); /* Rx queue drop packet */ 743 #define WM_RXCHAIN_RESET(rxq) \ 745 (rxq)->rxq_tailp = &(rxq)->rxq_head; 3698 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_detach 6356 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_unset_stopping_flags 6381 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_set_stopping_flags 6447 struct wm_rxqueue *rxq = &wmq->wmq_rxq; local in function:wm_itrs_calculate 6523 struct wm_rxqueue *rxq = &wmq->wmq_rxq; local in function:wm_init_sysctls 6794 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_update_stats 6848 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_clear_evcnt 7588 struct wm_rxqueue *rxq = &sc->sc_queue[qidx].wmq_rxq; local in function:wm_init_locked 7740 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_stop_locked 8199 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_alloc_txrx_queues 8233 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_alloc_txrx_queues 8265 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; local in function:wm_free_txrx_queues 8577 struct wm_rxqueue *rxq = &wmq->wmq_rxq; local in function:wm_init_txrx_queues 10906 struct wm_rxqueue *rxq = &wmq->wmq_rxq; local in function:wm_intr_legacy 11060 struct wm_rxqueue *rxq = &wmq->wmq_rxq; local in function:wm_txrxintr_msix 11121 struct wm_rxqueue *rxq = &wmq->wmq_rxq; local in function:wm_handle_queue [all...] |
| if_nfe.c | 362 mutex_init(&sc->rxq.mtx, MUTEX_DEFAULT, IPL_NET); 364 if (nfe_alloc_rx_ring(sc, &sc->rxq) != 0) { 462 nfe_free_rx_ring(sc, &sc->rxq); 463 mutex_destroy(&sc->rxq.mtx); 785 bus_dmamap_sync(sc->sc_dmat, sc->rxq.map, 786 (char *)desc32 - (char *)sc->rxq.desc32, 793 bus_dmamap_sync(sc->sc_dmat, sc->rxq.map, 794 (char *)desc64 - (char *)sc->rxq.desc64, 813 for (i = sc->rxq.cur;; i = NFE_RX_NEXTDESC(i)) { 814 data = &sc->rxq.data[i] [all...] |
| if_nfevar.h | 98 struct nfe_rx_ring rxq; member in struct:nfe_softc
|
| if_iwivar.h | 139 struct iwi_rx_ring rxq; member in struct:iwi_softc
|
| if_iavfvar.h | 167 struct iavf_vc_rxq_info rxq; member in struct:iavf_vc_queue_pair_info
|
| if_wpivar.h | 148 struct wpi_rx_ring rxq; member in struct:wpi_softc
|
| /src/sys/dev/cadence/ |
| if_cemacvar.h | 67 struct cemac_qmeta rxq[RX_QLEN]; member in struct:cemac_softc
|
| if_cemac.c | 329 sc->rxq[bi].m_dmamap, 0, MCLBYTES, 332 sc->rxq[bi].m_dmamap); 333 m_set_rcvif(sc->rxq[bi].m, ifp); 334 sc->rxq[bi].m->m_pkthdr.len = 335 sc->rxq[bi].m->m_len = fl; 352 sc->rxq[bi].m->m_pkthdr.csum_flags = csum; 355 sc->rxq[bi].m); 358 sc->rxq[bi].m = m; 360 sc->rxq[bi].m_dmamap, m->m_ext.ext_buf, 363 sc->rxq[bi].m_dmamap, 0, MCLBYTES [all...] |
| /src/sys/arch/sgimips/dev/ |
| zs_ms.c | 68 uint8_t rxq[ZSMS_RXQ_LEN]; member in struct:zsms_softc 191 sc->rxq[sc->rxq_tail] = c; 232 int8_t c = sc->rxq[sc->rxq_head];
|
| zs_kbd.c | 81 uint8_t rxq[ZSKBD_RXQ_LEN]; member in struct:zskbd_devconfig 272 dc->rxq[dc->rxq_tail] = c; 327 uint8_t key = dc->rxq[dc->rxq_head];
|
| /src/sys/dev/ic/ |
| arn5008.c | 580 struct athn_rxq *rxq = &sc->sc_rxq[0]; local in function:ar5008_rx_alloc 586 rxq->bf = malloc(ATHN_NRXBUFS * sizeof(*bf), M_DEVBUF, 592 BUS_DMA_NOWAIT, &rxq->map); 596 error = bus_dmamem_alloc(sc->sc_dmat, size, 0, 0, &rxq->seg, 1, 602 error = bus_dmamem_map(sc->sc_dmat, &rxq->seg, 1, size, 603 (void **)&rxq->descs, BUS_DMA_NOWAIT | BUS_DMA_COHERENT); 607 error = bus_dmamap_load(sc->sc_dmat, rxq->map, rxq->descs, 613 bf = &rxq->bf[i]; 614 ds = &((struct ar_rx_desc *)rxq->descs)[i] 661 struct athn_rxq *rxq = &sc->sc_rxq[0]; local in function:ar5008_rx_free 691 struct athn_rxq *rxq = &sc->sc_rxq[0]; local in function:ar5008_rx_enable 790 struct athn_rxq *rxq = &sc->sc_rxq[0]; local in function:ar5008_rx_process [all...] |
| rt2560var.h | 133 struct rt2560_rx_ring rxq; member in struct:rt2560_softc
|
| rt2661var.h | 130 struct rt2661_rx_ring rxq; member in struct:rt2661_softc
|
| rt2560.c | 378 error = rt2560_alloc_rx_ring(sc, &sc->rxq, RT2560_RX_RING_COUNT); 513 rt2560_free_rx_ring(sc, &sc->rxq); 709 desc = &sc->rxq.desc[i]; 710 data = &sc->rxq.data[i]; 1242 hw = (RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr) / 1245 for (; sc->rxq.cur_decrypt != hw;) { 1246 desc = &sc->rxq.desc[sc->rxq.cur_decrypt]; 1247 data = &sc->rxq.data[sc->rxq.cur_decrypt] [all...] |
| rt2860var.h | 146 struct rt2860_rx_ring rxq; member in struct:rt2860_softc
|
| /src/sys/arch/ews4800mips/dev/ |
| ewskbd.c | 112 uint8_t rxq[EWSKBD_RXQ_LEN]; member in struct:ewskbd_devconfig 310 dc->rxq[dc->rxq_tail] = c; 365 uint8_t key = dc->rxq[dc->rxq_head];
|
| /src/sys/dev/usb/ |
| if_runvar.h | 197 struct run_rx_ring rxq; member in struct:run_softc
|