/openbsd-current/sys/dev/pci/ |
H A D | if_rtwn.c | 167 struct rtwn_tx_ring tx_ring[RTWN_NTXQUEUES]; member in struct:rtwn_pci_softc 623 struct rtwn_tx_ring *tx_ring = &sc->tx_ring[qid]; local 630 BUS_DMA_NOWAIT, &tx_ring->map); 639 &tx_ring->seg, 1, &tx_ring->nsegs, BUS_DMA_NOWAIT | BUS_DMA_ZERO); 646 error = bus_dmamem_map(sc->sc_dmat, &tx_ring->seg, tx_ring->nsegs, 648 (caddr_t *)&tx_ring->desc, BUS_DMA_NOWAIT); 650 bus_dmamem_free(sc->sc_dmat, &tx_ring 694 struct rtwn_tx_ring *tx_ring = &sc->tx_ring[qid]; local 725 struct rtwn_tx_ring *tx_ring = &sc->tx_ring[qid]; local 984 struct rtwn_tx_ring *tx_ring; local 1202 struct rtwn_tx_ring *tx_ring = &sc->tx_ring[qid]; local [all...] |
H A D | if_et.c | 596 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local 606 (void **)&tx_ring->tr_desc, &tx_ring->tr_paddr, &tx_ring->tr_dmap, 607 &tx_ring->tr_seg); 683 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local 692 et_dma_mem_destroy(sc, tx_ring->tr_desc, tx_ring->tr_dmap); 1134 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local 1147 bzero(tx_ring 1292 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local 1415 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local 1762 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local 1875 struct et_txdesc_ring *tx_ring = &sc->sc_tx_ring; local [all...] |
H A D | if_bnxt.c | 208 struct bnxt_ring tx_ring; member in struct:bnxt_tx_queue 838 tx->tx_ring.phys_id = (uint16_t)HWRM_NA_SIGNATURE; 839 tx->tx_ring.id = BNXT_TX_RING_ID_BASE + bq->q_index; 840 tx->tx_ring.doorbell = tx->tx_ring.id * 0x80; 841 tx->tx_ring.ring_size = PAGE_SIZE / sizeof(struct tx_bd_short); 842 tx->tx_ring.vaddr = BNXT_DMA_KVA(tx->tx_ring_mem); 843 tx->tx_ring.paddr = BNXT_DMA_DVA(tx->tx_ring_mem); 845 &tx->tx_ring, cp->ring.phys_id, HWRM_NA_SIGNATURE, 1) != 0) { 850 bnxt_write_tx_doorbell(sc, &tx->tx_ring, [all...] |
H A D | if_ngbe.c | 87 void ngbe_free_transmit_buffers(struct tx_ring *); 89 int ngbe_allocate_transmit_buffers(struct tx_ring *); 91 int ngbe_setup_transmit_ring(struct tx_ring *); 137 int ngbe_encap(struct tx_ring *, struct mbuf *); 210 int ngbe_tx_ctx_setup(struct tx_ring *, struct mbuf *, 212 void ngbe_txeof(struct tx_ring *); 695 struct tx_ring *txr = ifq->ifq_softc; 889 struct tx_ring *txr = sc->tx_rings; 1050 struct tx_ring *txr = &sc->tx_rings[i]; 1164 struct tx_ring *tx [all...] |
H A D | if_ngbereg.h | 999 struct tx_ring { struct 1032 struct tx_ring *txr; 1062 struct tx_ring *tx_rings;
|
/openbsd-current/sys/dev/ic/ |
H A D | acx.c | 595 bzero(rd->tx_ring, ACX_TX_RING_SIZE); 1952 ACX_TX_RING_SIZE, (caddr_t *)&rd->tx_ring, BUS_DMA_NOWAIT); 1961 rd->tx_ring, ACX_TX_RING_SIZE, NULL, BUS_DMA_WAITOK); 2003 bd->tx_buf[i].tb_desc1 = &rd->tx_ring[i * 2]; 2004 bd->tx_buf[i].tb_desc2 = &rd->tx_ring[(i * 2) + 1]; 2022 if (rd->tx_ring != NULL) { 2068 bzero(&rd->tx_ring[i], sizeof(struct acx_host_desc)); 2069 rd->tx_ring[i].h_ctrl = htole16(DESC_CTRL_HOSTOWN); 2072 rd->tx_ring[i].h_next_desc = htole32(rd->tx_ring_paddr); 2074 rd->tx_ring[ [all...] |
H A D | acxvar.h | 241 struct acx_host_desc *tx_ring; member in struct:acx_ring_data
|
H A D | qwx.c | 9867 qwx_dp_srng_cleanup(sc, &dp->tx_ring[i].tcl_data_ring); 9868 qwx_dp_srng_cleanup(sc, &dp->tx_ring[i].tcl_comp_ring); 10322 ret = qwx_dp_srng_setup(sc, &dp->tx_ring[i].tcl_data_ring, 10330 ret = qwx_dp_srng_setup(sc, &dp->tx_ring[i].tcl_comp_ring, 10338 srng = &sc->hal.srng_list[dp->tx_ring[i].tcl_data_ring.ring_id]; 10343 dp->tx_ring[i].tcl_data_ring.ring_id); 10418 qwx_dp_tx_ring_free_tx_data(struct qwx_softc *sc, struct dp_tx_ring *tx_ring) argument 10422 if (tx_ring->data == NULL) 10426 struct qwx_tx_data *tx_data = &tx_ring->data[i]; 10436 free(tx_ring 10442 qwx_dp_tx_ring_alloc_tx_data(struct qwx_softc *sc, struct dp_tx_ring *tx_ring) argument 15421 qwx_dp_tx_free_txbuf(struct qwx_softc *sc, int msdu_id, struct dp_tx_ring *tx_ring) argument 15440 qwx_dp_tx_htt_tx_complete_buf(struct qwx_softc *sc, struct dp_tx_ring *tx_ring, struct qwx_dp_htt_wbm_tx_status *ts) argument 15448 qwx_dp_tx_process_htt_tx_complete(struct qwx_softc *sc, void *desc, uint8_t mac_id, uint32_t msdu_id, struct dp_tx_ring *tx_ring) argument 15564 qwx_dp_tx_complete_msdu(struct qwx_softc *sc, struct dp_tx_ring *tx_ring, uint32_t msdu_id, struct hal_tx_status *ts) argument 15605 struct dp_tx_ring *tx_ring = &dp->tx_ring[ring_id]; local 24244 struct dp_tx_ring *tx_ring; local [all...] |
H A D | qwxvar.h | 1115 struct dp_tx_ring tx_ring[DP_TCL_NUM_RING_MAX]; member in struct:qwx_dp
|