/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/ |
H A D | rtwn_pci_tx.c | 100 uint8_t qid; local 108 qid = RTWN_PCI_MGNT_QUEUE; 111 qid = M_WME_GETAC(m); 115 ring = &pc->tx_ring[qid]; 119 "%s: ring #%u is full (m %p)\n", __func__, qid, data->m); 128 __func__, ring->cur, qid); 186 sc->qfullmsk |= (1 << qid); 193 rtwn_write_2(sc, R92C_PCIE_CTRL_REG, (1 << qid));
|
H A D | rtwn_pci_attach.c | 267 rtwn_pci_alloc_tx_list(struct rtwn_softc *sc, int qid) argument 270 struct rtwn_tx_ring *tx_ring = &pc->tx_ring[qid]; 327 rtwn_pci_free_tx_list(sc, qid); 332 rtwn_pci_reset_tx_ring_stopped(struct rtwn_softc *sc, int qid) argument 335 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; 360 sc->qfullmsk &= ~(1 << qid); 397 int qid) 402 if (qid != RTWN_PCI_BEACON_QUEUE) { 406 rtwn_pci_reset_tx_ring_stopped(sc, qid); 411 } else if (qid 396 rtwn_pci_reset_tx_list(struct rtwn_softc *sc, struct ieee80211vap *vap, int qid) argument 438 rtwn_pci_free_tx_list(struct rtwn_softc *sc, int qid) argument [all...] |
H A D | rtwn_pci_rx.c | 253 rtwn_pci_tx_done(struct rtwn_softc *sc, int qid) argument 256 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; 260 RTWN_DPRINTF(sc, RTWN_DEBUG_INTR, "%s: qid %d, last %d, cur %d\n", 261 __func__, qid, ring->last, ring->cur); 287 ("ring->queued (qid %d) underflow!\n", qid)); 301 if ((sc->qfullmsk & (1 << qid)) != 0 && 303 sc->qfullmsk &= ~(1 << qid);
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | subr_gtaskqueue.c | 702 panic("%s: failed to pick a qid.", __func__); 736 int cpu, qid, error; local 744 qid = taskqgroup_find(qgroup, uniq); 745 qgroup->tqg_queue[qid].tgc_cnt++; 746 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); 747 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; 749 cpu = qgroup->tqg_queue[qid].tgc_cpu; 763 int qid, cpu, error; local 766 qid = taskqgroup_find(qgroup, gtask->gt_uniq); 767 cpu = qgroup->tqg_queue[qid] 788 int i, qid, error; local 830 int cpu, error, i, qid; local [all...] |
H A D | iflib.c | 1421 #define netmap_rx_irq(ifp, qid, budget) (0) 3444 calc_next_txd(iflib_txq_t txq, int cidx, uint8_t qid) argument 3451 size = txq->ift_txd_size[qid]; 3452 start = txq->ift_ifdi[qid].idi_vaddr; 4918 get_cpuid_for_queue(if_ctx_t ctx, unsigned int base_cpuid, unsigned int qid, argument 4930 * has been enabled, the assignment is for TX, the TX qid 4931 * corresponds to an RX qid, and the CPU assigned to the 4936 is_tx && qid < scctx->isc_nrxqsets) { 4940 rx_cpuid = cpuid_advance(ctx, base_cpuid, qid); 4957 core_index = scctx->isc_nrxqsets + qid; 6357 iflib_irq_set_affinity(if_ctx_t ctx, if_irq_t irq, iflib_intr_type_t type, int qid, struct grouptask *gtask, struct taskqgroup *tqg, void *uniq, const char *name) argument 6382 iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, iflib_intr_type_t type, driver_filter_t *filter, void *filter_arg, int qid, const char *name) argument 6470 iflib_softirq_alloc_generic(if_ctx_t ctx, if_irq_t irq, iflib_intr_type_t type, void *arg, int qid, const char *name) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/ |
H A D | if_iwnreg.h | 111 #define IWN_FH_TFBD_CTRL0(qid) (0x1900 + (qid) * 8) 112 #define IWN_FH_TFBD_CTRL1(qid) (0x1904 + (qid) * 8) 114 #define IWN_FH_SRAM_ADDR(qid) (0x19a4 + (qid) * 4) 115 #define IWN_FH_CBBC_QUEUE(qid) (0x19d0 + (qid) * 4) 121 #define IWN_FH_TX_CONFIG(qid) (0x1d00 + (qid) * 3 444 uint8_t qid; member in struct:iwn_rx_desc 514 uint8_t qid; member in struct:iwn_tx_cmd 1524 uint16_t qid; member in struct:iwn_compressed_ba [all...] |
H A D | if_iwn.c | 1403 int qid; local 1434 for (qid = 0; qid < sc->ntxqs; qid++) 1435 iwn_free_tx_ring(sc, &sc->txq[qid]); 1994 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) argument 2000 ring->qid = qid; 2091 sc->qfullmsk &= ~(1 << ring->qid); 2125 iwn_check_tx_ring(struct iwn_softc *sc, int qid) argument 3261 int i, qid, shift; local 3565 int qid = desc->qid & IWN_RX_DESC_QID_MSK; local 3590 int qid = desc->qid & IWN_RX_DESC_QID_MSK; local 3873 iwn_ampdu_tx_done(struct iwn_softc *sc, int qid, int nframes, int rtsfailcnt, void *stat) argument 4169 int qid; local 4383 iwn4965_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 4401 iwn5000_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 4420 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx) argument 7525 int qid; local 7555 int qid = *(int *)tap->txa_private; local 7587 int error, qid; local 7623 int qid; local 7645 iwn4965_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 7685 iwn4965_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument 7706 iwn5000_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument 7745 iwn5000_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument 7928 int error, qid; local 7983 int error, qid; local 8745 int error, chnl, qid; local 8857 int chnl, qid, ntries; local [all...] |
H A D | if_iwnvar.h | 117 int qid; member in struct:iwn_tx_ring
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | rt2860reg.h | 47 #define RT2860_TX_BASE_PTR(qid) (0x0230 + (qid) * 16) 48 #define RT2860_TX_MAX_CNT(qid) (0x0234 + (qid) * 16) 49 #define RT2860_TX_CTX_IDX(qid) (0x0238 + (qid) * 16) 50 #define RT2860_TX_DTX_IDX(qid) (0x023c + (qid) * 16) 66 #define RT2860_TXQ_IO(qid) (0x041c + (qid) * [all...] |
H A D | rt2860.c | 242 int error, ntries, qid; local 283 for (qid = 0; qid < 6; qid++) { 284 if ((error = rt2860_alloc_tx_ring(sc, &sc->txq[qid])) != 0) { 286 "could not allocate Tx ring %d\n", qid); 366 fail2: while (--qid >= 0) 367 rt2860_free_tx_ring(sc, &sc->txq[qid]); 377 int qid; local 385 for (qid 1129 rt2860_tx_intr(struct rt2860_softc *sc, int qid) argument 1472 uint8_t type, qsel, mcs, pid, tid, qid; local 1746 uint8_t type, qsel, mcs, pid, tid, qid; local 3810 int i, qid, ridx, ntries, error; local 4089 int qid; local [all...] |
H A D | rt2661.c | 856 int error, qid; local 868 qid = RT2661_TX_QID(val); 869 txq = (qid <= 3) ? &sc->txq[qid] : &sc->mgtq; 912 DPRINTFN(sc, 15, "tx done q=%d idx=%u\n", qid, txq->stat); 1237 desc->qid = ac;
|
H A D | rt2661reg.h | 246 uint8_t qid; member in struct:rt2661_tx_desc
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/ |
H A D | if_runreg.h | 43 #define RT2860_TX_BASE_PTR(qid) (0x0230 + (qid) * 16) 44 #define RT2860_TX_MAX_CNT(qid) (0x0234 + (qid) * 16) 45 #define RT2860_TX_CTX_IDX(qid) (0x0238 + (qid) * 16) 46 #define RT2860_TX_DTX_IDX(qid) (0x023c + (qid) * 16) 62 #define RT2860_TXQ_IO(qid) (0x041c + (qid) * [all...] |
H A D | if_rumreg.h | 254 uint8_t qid; member in struct:rum_tx_desc
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpireg.h | 82 #define WPI_FH_CBBC_CTRL(qid) (0x940 + (qid) * 8) 83 #define WPI_FH_CBBC_BASE(qid) (0x944 + (qid) * 8) 90 #define WPI_FH_TX_CONFIG(qid) (0xd00 + (qid) * 32) 213 #define WPI_FH_TX_STATUS_IDLE(qid) \ 214 (1 << ((qid) + 24) | 1 << ((qid) + 16)) 298 uint8_t qid; member in struct:wpi_rx_desc 363 uint8_t qid; member in struct:wpi_tx_cmd [all...] |
H A D | if_wpi.c | 684 uint8_t qid; local 711 for (qid = 0; qid < WPI_DRV_NTXQUEUES; qid++) 712 wpi_free_tx_ring(sc, &sc->txq[qid]); 1156 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, uint8_t qid) argument 1162 ring->qid = qid; 1182 sc->shared->txbase[qid] = htole32(ring->desc_dma.paddr); 1234 WPI_WRITE(sc, WPI_HBUS_TARG_WRPTR, ring->qid << 2385 int qid; local 5368 uint8_t chnl, qid; local [all...] |
H A D | if_wpivar.h | 76 uint8_t qid; member in struct:wpi_tx_ring
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_txrx.c | 90 qidx_t i, ntxd, qid, cur; local 96 for (qid = 0; qid < adapter->tx_num_queues; qid++) { 97 que = &adapter->tx_queues[qid]; 104 printf("qid[%d]->tx_rsq[%d]: %d clear ", qid, rs_cidx, cur); 108 printf("qid[%d]->tx_rsq[rs_cidx-1=%d]: %d ", qid, rs_cidx, cur);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwm.c | 1426 iwm_alloc_tx_ring(struct iwm_softc *sc, struct iwm_tx_ring *ring, int qid) argument 1432 ring->qid = qid; 1466 if (qid > IWM_LAST_AGG_TX_QUEUE) 1488 if (qid == IWM_CMD_QUEUE || qid == IWM_DQA_CMD_QUEUE) 1529 sc->qfullmsk &= ~(1 << ring->qid); 1530 sc->qenablemsk &= ~(1 << ring->qid); 1532 if (ring->qid == sc->cmdqid && ring->queued > 0) { 2082 int qid; local 2323 int qid, err; local 2398 iwm_enable_ac_txq(struct iwm_softc *sc, int qid, int fifo) argument 2443 iwm_enable_txq(struct iwm_softc *sc, int sta_id, int qid, int fifo, int aggregate, uint8_t tid, uint16_t ssn) argument 2490 iwm_disable_txq(struct iwm_softc *sc, int sta_id, int qid, uint8_t tid) argument 3564 int qid = IWM_FIRST_AGG_TX_QUEUE + tid; local 3781 int qid = IWM_FIRST_AGG_TX_QUEUE + tid; local 3814 int qid = IWM_FIRST_AGG_TX_QUEUE + tid; local 5751 uint8_t qid = agg_status[i].qid; local 5855 int qid = cmd_hdr->qid; local 5971 int qid; local 6527 iwm_cmd_done(struct iwm_softc *sc, int qid, int idx, int code) argument 6561 iwm_update_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id, uint16_t len) argument 6587 iwm_reset_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id) argument 6733 int qid, hasqos; local 7274 int qid; local 7284 int qid = ac; local 7399 int err, qid; local 8627 int qid = IWM_FIRST_AGG_TX_QUEUE + tid; local 9079 int qid = IWM_FIRST_AGG_TX_QUEUE + tid; local 10187 int err, i, ac, qid, s; local 10975 int qid, idx, code; local 10993 int qid, idx, code, handled = 1; local [all...] |
H A D | if_iwmvar.h | 278 int qid; member in struct:iwm_tx_ring
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | em_txrx.c | 99 qidx_t i, ntxd, qid, cur; local 105 for (qid = 0; qid < sc->tx_num_queues; qid++) { 106 que = &sc->tx_queues[qid]; 113 printf("qid[%d]->tx_rsq[%d]: %d clear ", qid, rs_cidx, cur); 117 printf("qid[%d]->tx_rsq[rs_cidx-1=%d]: %d ", qid, rs_cidx, cur);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 2034 iwx_alloc_tx_ring(struct iwx_softc *sc, struct iwx_tx_ring *ring, int qid) argument 2042 ring->qid = qid; 2109 if (qid == IWX_DQA_CMD_QUEUE) 2154 sc->qfullmsk &= ~(1 << ring->qid); 2155 sc->qenablemsk &= ~(1 << ring->qid); 2157 if (sc->aggqid[i] == ring->qid) { 2824 iwx_enable_txq(struct iwx_softc *sc, int sta_id, int qid, int tid, argument 2835 struct iwx_tx_ring *ring = &sc->txq[qid]; 2895 if (fwqid != qid) { 2913 iwx_disable_txq(struct iwx_softc *sc, int sta_id, int qid, uint8_t tid) argument 3678 int err, qid; local 5364 int qid = cmd_hdr->qid, status, txfail; local 5437 int qid; local 5978 iwx_cmd_done(struct iwx_softc *sc, int qid, int idx, int code) argument 6169 int i, totlen, err, pad, qid; local 6432 uint16_t qid = le16toh(queue_info->queue_num); local 7623 int qid = IWX_FIRST_AGG_TX_QUEUE + tid; local 9726 int qid, idx, code; local 9744 int qid, idx, code, handled = 1; local [all...] |
H A D | if_iwxvar.h | 247 int qid; member in struct:iwx_tx_ring
|
/haiku/src/libs/compat/freebsd_iflib/compat/net/ |
H A D | iflib.h | 458 void *filter_arg, int qid, const char *name); 459 void iflib_softirq_alloc_generic(if_ctx_t ctx, if_irq_t irq, iflib_intr_type_t type, void *arg, int qid, const char *name);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_freebsd.c | 767 HAL_DMA_ADDR *bufListPtr, uint32_t *segLenPtr, u_int descId, u_int qid, 783 qid, keyType, firstSeg, lastSeg, ds0); 766 ar9300_freebsd_fill_tx_desc(struct ath_hal *ah, struct ath_desc *ds, HAL_DMA_ADDR *bufListPtr, uint32_t *segLenPtr, u_int descId, u_int qid, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_desc *ds0) argument
|