Lines Matching defs:queue

140 	 * 21-16: RX queue
421 * @cmd_queue: the index of the command queue.
424 * @cmd_q_wdg_timeout: the timeout of the watchdog timer for the command queue.
434 * @scd_set_active: should the transport configure the SCD for HCMD queue
477 * struct iwl_trans_rxq_dma_data - RX queue DMA data
528 * @txq_enable: setup a queue. To setup an AC queue, use the
530 * this one. The op_mode must not configure the HCMD queue. The scheduler
533 * the sequence number of the packets routed to this queue because of a
535 * @txq_disable: de-configure a Tx queue to send AMPDUs
537 * @txq_set_shared_mode: change Tx queue shared/unshared marking
539 * @wait_txq_empty: wait until specific tx queue is empty. May sleep.
540 * @freeze_txq_timer: prevents the timer of the queue from firing until the
541 * queue is set to awake. Must be atomic.
591 struct iwl_device_tx_cmd *dev_cmd, int queue);
592 void (*reclaim)(struct iwl_trans *trans, int queue, int ssn,
595 void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr);
597 bool (*txq_enable)(struct iwl_trans *trans, int queue, u16 ssn,
600 void (*txq_disable)(struct iwl_trans *trans, int queue,
607 void (*txq_free)(struct iwl_trans *trans, int queue);
608 int (*rxq_dma_data)(struct iwl_trans *trans, int queue,
615 int (*wait_txq_empty)(struct iwl_trans *trans, int queue);
848 * @q: generic Rx/Tx queue descriptor
852 * for each command on the queue
855 * @lock: queue lock
856 * @stuck_timer: timer that fires if queue gets stuck
859 * @ampdu: true if this queue is an ampdu queue for an specific RA/TID
860 * @wd_timeout: queue watchdog timeout (jiffies) - per queue
861 * @frozen: tx stuck queue timer is frozen
863 * @bc_tbl: byte count table of the queue (relevant only for gen2 transport)
867 * @n_window: safe queue window
868 * @id: queue id
869 * @low_mark: low watermark, resume queue if free space more than this
870 * @high_mark: high watermark, stop queue if free space less than this
872 * A Tx queue consists of circular buffer of BDs (a.k.a. TFDs, transmit frame
878 * queues, n_window, which is the size of the software queue data
879 * is also 256; however, for the command queue, n_window is only
886 * data is a window overlayed over the HW queue.
893 /* lock for syncing changes on the queue */
1162 struct iwl_device_tx_cmd *dev_cmd, int queue)
1172 return trans->ops->tx(trans, skb, dev_cmd, queue);
1175 static inline void iwl_trans_reclaim(struct iwl_trans *trans, int queue,
1183 trans->ops->reclaim(trans, queue, ssn, skbs);
1186 static inline void iwl_trans_set_q_ptrs(struct iwl_trans *trans, int queue,
1194 trans->ops->set_q_ptrs(trans, queue, ptr);
1197 static inline void iwl_trans_txq_disable(struct iwl_trans *trans, int queue,
1200 trans->ops->txq_disable(trans, queue, configure_scd);
1204 iwl_trans_txq_enable_cfg(struct iwl_trans *trans, int queue, u16 ssn,
1215 return trans->ops->txq_enable(trans, queue, ssn,
1220 iwl_trans_get_rxq_dma_data(struct iwl_trans *trans, int queue,
1226 return trans->ops->rxq_dma_data(trans, queue, data);
1230 iwl_trans_txq_free(struct iwl_trans *trans, int queue)
1235 trans->ops->txq_free(trans, queue);
1259 int queue, bool shared_mode)
1262 trans->ops->txq_set_shared_mode(trans, queue, shared_mode);
1265 static inline void iwl_trans_txq_enable(struct iwl_trans *trans, int queue,
1278 iwl_trans_txq_enable_cfg(trans, queue, ssn, &cfg, queue_wdg_timeout);
1282 void iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue, int fifo,
1293 iwl_trans_txq_enable_cfg(trans, queue, 0, &cfg, queue_wdg_timeout);
1335 static inline int iwl_trans_wait_txq_empty(struct iwl_trans *trans, int queue)
1345 return trans->ops->wait_txq_empty(trans, queue);