Lines Matching +full:1 +full:q
36 ar5210SetTxQueueProps(struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo) in ar5210SetTxQueueProps() argument
40 if (q >= HAL_NUM_TX_QUEUES) { in ar5210SetTxQueueProps()
42 __func__, q); in ar5210SetTxQueueProps()
45 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo); in ar5210SetTxQueueProps()
52 ar5210GetTxQueueProps(struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo) in ar5210GetTxQueueProps() argument
56 if (q >= HAL_NUM_TX_QUEUES) { in ar5210GetTxQueueProps()
58 __func__, q); in ar5210GetTxQueueProps()
61 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q]); in ar5210GetTxQueueProps()
73 int q; in ar5210SetupTxQueue() local
77 q = 2; in ar5210SetupTxQueue()
80 q = 1; in ar5210SetupTxQueue()
83 q = 0; in ar5210SetupTxQueue()
88 return -1; in ar5210SetupTxQueue()
91 HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: queue %u\n", __func__, q); in ar5210SetupTxQueue()
93 qi = &ahp->ah_txq[q]; in ar5210SetupTxQueue()
96 __func__, q); in ar5210SetupTxQueue()
97 return -1; in ar5210SetupTxQueue()
114 (void) ar5210SetTxQueueProps(ah, q, qInfo); in ar5210SetupTxQueue()
116 return q; in ar5210SetupTxQueue()
123 ar5210ReleaseTxQueue(struct ath_hal *ah, u_int q) in ar5210ReleaseTxQueue() argument
128 if (q >= HAL_NUM_TX_QUEUES) { in ar5210ReleaseTxQueue()
130 __func__, q); in ar5210ReleaseTxQueue()
133 qi = &ahp->ah_txq[q]; in ar5210ReleaseTxQueue()
136 __func__, q); in ar5210ReleaseTxQueue()
140 HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: release queue %u\n", __func__, q); in ar5210ReleaseTxQueue()
143 ahp->ah_txOkInterruptMask &= ~(1 << q); in ar5210ReleaseTxQueue()
144 ahp->ah_txErrInterruptMask &= ~(1 << q); in ar5210ReleaseTxQueue()
145 ahp->ah_txDescInterruptMask &= ~(1 << q); in ar5210ReleaseTxQueue()
146 ahp->ah_txEolInterruptMask &= ~(1 << q); in ar5210ReleaseTxQueue()
147 ahp->ah_txUrnInterruptMask &= ~(1 << q); in ar5210ReleaseTxQueue()
154 ar5210ResetTxQueue(struct ath_hal *ah, u_int q) in ar5210ResetTxQueue() argument
161 if (q >= HAL_NUM_TX_QUEUES) { in ar5210ResetTxQueue()
163 __func__, q); in ar5210ResetTxQueue()
166 qi = &ahp->ah_txq[q]; in ar5210ResetTxQueue()
169 __func__, q); in ar5210ResetTxQueue()
229 ahp->ah_txOkInterruptMask |= 1 << q; in ar5210ResetTxQueue()
231 ahp->ah_txOkInterruptMask &= ~(1 << q); in ar5210ResetTxQueue()
233 ahp->ah_txErrInterruptMask |= 1 << q; in ar5210ResetTxQueue()
235 ahp->ah_txErrInterruptMask &= ~(1 << q); in ar5210ResetTxQueue()
237 ahp->ah_txDescInterruptMask |= 1 << q; in ar5210ResetTxQueue()
239 ahp->ah_txDescInterruptMask &= ~(1 << q); in ar5210ResetTxQueue()
241 ahp->ah_txEolInterruptMask |= 1 << q; in ar5210ResetTxQueue()
243 ahp->ah_txEolInterruptMask &= ~(1 << q); in ar5210ResetTxQueue()
245 ahp->ah_txUrnInterruptMask |= 1 << q; in ar5210ResetTxQueue()
247 ahp->ah_txUrnInterruptMask &= ~(1 << q); in ar5210ResetTxQueue()
254 * for multiple Q functionality
257 ar5210GetTxDP(struct ath_hal *ah, u_int q) in ar5210GetTxDP() argument
262 HALASSERT(q < HAL_NUM_TX_QUEUES); in ar5210GetTxDP()
264 qi = &ahp->ah_txq[q]; in ar5210GetTxDP()
270 __func__, q); in ar5210GetTxDP()
282 ar5210SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp) in ar5210SetTxDP() argument
287 HALASSERT(q < HAL_NUM_TX_QUEUES); in ar5210SetTxDP()
290 __func__, q, txdp); in ar5210SetTxDP()
291 qi = &ahp->ah_txq[q]; in ar5210SetTxDP()
312 __func__, q); in ar5210SetTxDP()
367 ar5210StartTxDma(struct ath_hal *ah, u_int q) in ar5210StartTxDma() argument
372 HALASSERT(q < HAL_NUM_TX_QUEUES); in ar5210StartTxDma()
374 HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: queue %u\n", __func__, q); in ar5210StartTxDma()
375 qi = &ahp->ah_txq[q]; in ar5210StartTxDma()
391 __func__, q); in ar5210StartTxDma()
400 ar5210NumTxPending(struct ath_hal *ah, u_int q) in ar5210NumTxPending() argument
406 HALASSERT(q < HAL_NUM_TX_QUEUES); in ar5210NumTxPending()
408 HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: queue %u\n", __func__, q); in ar5210NumTxPending()
409 qi = &ahp->ah_txq[q]; in ar5210NumTxPending()
416 __func__, q); in ar5210NumTxPending()
428 ar5210StopTxDma(struct ath_hal *ah, u_int q) in ar5210StopTxDma() argument
433 HALASSERT(q < HAL_NUM_TX_QUEUES); in ar5210StopTxDma()
435 HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: queue %u\n", __func__, q); in ar5210StopTxDma()
436 qi = &ahp->ah_txq[q]; in ar5210StopTxDma()
453 __func__, q); in ar5210StopTxDma()
466 ((1<<HAL_PKT_TYPE_NORMAL)|(1<<HAL_PKT_TYPE_ATIM)|\
467 (1<<HAL_PKT_TYPE_PSPOLL)|(1<<HAL_PKT_TYPE_PROBE_RESP)|\
468 (1<<HAL_PKT_TYPE_BEACON))
469 #define isValidPktType(_t) ((1<<(_t)) & VALID_PKT_TYPES)
471 ((1<<0x0b)|(1<<0x0f)|(1<<0x0a)|(1<<0x0e)|(1<<0x09)|(1<<0x0d)|\
472 (1<<0x08)|(1<<0x0c)|(1<<0x1b)|(1<<0x1a)|(1<<0x1e)|(1<<0x19)|\
473 (1<<0x1d)|(1<<0x18)|(1<<0x1c))
474 #define isValidTxRate(_r) ((1<<(_r)) & VALID_TX_RATES)