Lines Matching defs:queue

87 	 * 21-16: RX queue
393 * @cmd_queue: the index of the command queue.
396 * @cmd_q_wdg_timeout: the timeout of the watchdog timer for the command queue.
406 * @scd_set_active: should the transport configure the SCD for HCMD queue
413 * @queue_alloc_cmd_ver: queue allocation command version, set to 0
453 * struct iwl_trans_rxq_dma_data - RX queue DMA data
522 * @txq_enable: setup a queue. To setup an AC queue, use the
524 * this one. The op_mode must not configure the HCMD queue. The scheduler
527 * the sequence number of the packets routed to this queue because of a
529 * @txq_disable: de-configure a Tx queue to send AMPDUs
531 * @txq_set_shared_mode: change Tx queue shared/unshared marking
533 * @wait_txq_empty: wait until specific tx queue is empty. May sleep.
534 * @freeze_txq_timer: prevents the timer of the queue from firing until the
535 * queue is set to awake. Must be atomic.
589 struct iwl_device_tx_cmd *dev_cmd, int queue);
590 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
593 void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr);
595 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
598 void (*txq_disable)(struct iwl_trans *trans, int queue,
604 void (*txq_free)(struct iwl_trans *trans, int queue);
605 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
612 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
923 * @q: generic Rx/Tx queue descriptor
927 * for each command on the queue
930 * @lock: queue lock
931 * @stuck_timer: timer that fires if queue gets stuck
934 * @ampdu: true if this queue is an ampdu queue for an specific RA/TID
935 * @wd_timeout: queue watchdog timeout (jiffies) - per queue
936 * @frozen: tx stuck queue timer is frozen
938 * @bc_tbl: byte count table of the queue (relevant only for gen2 transport)
942 * @n_window: safe queue window
943 * @id: queue id
944 * @low_mark: low watermark, resume queue if free space more than this
945 * @high_mark: high watermark, stop queue if free space less than this
947 * A Tx queue consists of circular buffer of BDs (a.k.a. TFDs, transmit frame
953 * queues, n_window, which is the size of the software queue data
954 * is also 256; however, for the command queue, n_window is only
961 * data is a window overlayed over the HW queue.
968 /* lock for syncing changes on the queue */
1001 * @queue_alloc_cmd_ver: queue allocation command version
1056 * @wait_command_queue: wait queue for sync commands
1262 struct iwl_device_tx_cmd *dev_cmd, int queue)
1272 return trans->ops->tx(trans, skb, dev_cmd, queue);
1275 static inline void iwl_trans_reclaim(struct iwl_trans *trans, int queue,
1284 trans->ops->reclaim(trans, queue, ssn, skbs, is_flush);
1287 static inline void iwl_trans_set_q_ptrs(struct iwl_trans *trans, int queue,
1295 trans->ops->set_q_ptrs(trans, queue, ptr);
1298 static inline void iwl_trans_txq_disable(struct iwl_trans *trans, int queue,
1301 trans->ops->txq_disable(trans, queue, configure_scd);
1305 iwl_trans_txq_enable_cfg(struct iwl_trans *trans, int queue, u16 ssn,
1316 return trans->ops->txq_enable(trans, queue, ssn,
1321 iwl_trans_get_rxq_dma_data(struct iwl_trans *trans, int queue,
1327 return trans->ops->rxq_dma_data(trans, queue, data);
1331 iwl_trans_txq_free(struct iwl_trans *trans, int queue)
1336 trans->ops->txq_free(trans, queue);
1359 int queue, bool shared_mode)
1362 trans->ops->txq_set_shared_mode(trans, queue, shared_mode);
1365 static inline void iwl_trans_txq_enable(struct iwl_trans *trans, int queue,
1378 iwl_trans_txq_enable_cfg(trans, queue, ssn, &cfg, queue_wdg_timeout);
1382 void iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue, int fifo,
1393 iwl_trans_txq_enable_cfg(trans, queue, 0, &cfg, queue_wdg_timeout);
1436 static inline int iwl_trans_wait_txq_empty(struct iwl_trans *trans, int queue)
1446 return trans->ops->wait_txq_empty(trans, queue);