txq_id 955 drivers/net/ethernet/brocade/bna/bnad.c u32 txq_id; txq_id 959 drivers/net/ethernet/brocade/bna/bnad.c txq_id = tcb->id; txq_id 968 drivers/net/ethernet/brocade/bna/bnad.c txq_id); txq_id 974 drivers/net/ethernet/brocade/bna/bnad.c txq_id); txq_id 1043 drivers/net/ethernet/brocade/bna/bnad.c u32 txq_id; txq_id 1050 drivers/net/ethernet/brocade/bna/bnad.c txq_id = tcb->id; txq_id 1052 drivers/net/ethernet/brocade/bna/bnad.c netif_stop_subqueue(bnad->netdev, txq_id); txq_id 1061 drivers/net/ethernet/brocade/bna/bnad.c u32 txq_id; txq_id 1068 drivers/net/ethernet/brocade/bna/bnad.c txq_id = tcb->id; txq_id 1075 drivers/net/ethernet/brocade/bna/bnad.c netif_wake_subqueue(bnad->netdev, txq_id); txq_id 2922 drivers/net/ethernet/brocade/bna/bnad.c u32 txq_id = 0; txq_id 2951 drivers/net/ethernet/brocade/bna/bnad.c tcb = bnad->tx_info[0].tcb[txq_id]; txq_id 1387 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 txq_id; txq_id 3247 drivers/net/ethernet/intel/ice/ice_common.c le16_to_cpu(buf->txqs[0].txq_id), txq_id 1736 drivers/net/ethernet/intel/ice/ice_lib.c qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); txq_id 1764 drivers/net/ethernet/intel/ice/ice_lib.c if (pf_q == le16_to_cpu(txq->txq_id)) txq_id 2417 drivers/net/ethernet/marvell/mvneta.c u16 txq_id = skb_get_queue_mapping(skb); txq_id 2418 drivers/net/ethernet/marvell/mvneta.c struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; txq_id 2478 drivers/net/ethernet/marvell/mvneta.c struct netdev_queue *nq = netdev_get_tx_queue(dev, txq_id); txq_id 3210 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c u16 txq_id; txq_id 3215 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c txq_id = skb_get_queue_mapping(skb); txq_id 3216 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c txq = port->txqs[txq_id]; txq_id 3274 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct netdev_queue *nq = netdev_get_tx_queue(dev, txq_id); txq_id 2560 drivers/net/ethernet/qlogic/qed/qed_sriov.c u16 txq_id, u8 qid_usage_idx) txq_id 2565 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!qed_iov_validate_txq(p_hwfn, vf, txq_id, QED_IOV_VALIDATE_Q_NA)) txq_id 2568 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_queue = &vf->vf_queues[txq_id]; txq_id 165 drivers/net/ethernet/sfc/falcon/filter.h unsigned txq_id) txq_id 170 drivers/net/ethernet/sfc/falcon/filter.h spec->dmaq_id = txq_id; txq_id 191 drivers/net/ethernet/sfc/filter.h unsigned txq_id) txq_id 196 drivers/net/ethernet/sfc/filter.h spec->dmaq_id = txq_id; txq_id 460 drivers/net/wireless/intel/iwlegacy/3945-mac.c int txq_id = skb_get_queue_mapping(skb); txq_id 513 drivers/net/wireless/intel/iwlegacy/3945-mac.c txq = &il->txq[txq_id]; txq_id 541 drivers/net/wireless/intel/iwlegacy/3945-mac.c (QUEUE_TO_SEQ(txq_id) | IDX_TO_SEQ(q->write_ptr))); txq_id 272 drivers/net/wireless/intel/iwlegacy/3945.c il3945_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx) txq_id 274 drivers/net/wireless/intel/iwlegacy/3945.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 278 drivers/net/wireless/intel/iwlegacy/3945.c BUG_ON(txq_id == IL39_CMD_QUEUE_NUM); txq_id 289 drivers/net/wireless/intel/iwlegacy/3945.c if (il_queue_space(q) > q->low_mark && txq_id >= 0 && txq_id 290 drivers/net/wireless/intel/iwlegacy/3945.c txq_id != IL39_CMD_QUEUE_NUM && il->mac80211_registered) txq_id 302 drivers/net/wireless/intel/iwlegacy/3945.c int txq_id = SEQ_TO_QUEUE(sequence); txq_id 304 drivers/net/wireless/intel/iwlegacy/3945.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 313 drivers/net/wireless/intel/iwlegacy/3945.c "is out of range [0-%d] %d %d\n", txq_id, idx, txq_id 350 drivers/net/wireless/intel/iwlegacy/3945.c D_TX("Tx queue %d Status %s (0x%08x) plcp rate %d retries %d\n", txq_id, txq_id 355 drivers/net/wireless/intel/iwlegacy/3945.c il3945_tx_queue_reclaim(il, txq_id, idx); txq_id 839 drivers/net/wireless/intel/iwlegacy/3945.c int rc, txq_id; txq_id 854 drivers/net/wireless/intel/iwlegacy/3945.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) { txq_id 855 drivers/net/wireless/intel/iwlegacy/3945.c rc = il_tx_queue_init(il, txq_id); txq_id 857 drivers/net/wireless/intel/iwlegacy/3945.c IL_ERR("Tx %d queue init failed\n", txq_id); txq_id 1004 drivers/net/wireless/intel/iwlegacy/3945.c int txq_id; txq_id 1008 drivers/net/wireless/intel/iwlegacy/3945.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) txq_id 1009 drivers/net/wireless/intel/iwlegacy/3945.c if (txq_id == IL39_CMD_QUEUE_NUM) txq_id 1012 drivers/net/wireless/intel/iwlegacy/3945.c il_tx_queue_free(il, txq_id); txq_id 1022 drivers/net/wireless/intel/iwlegacy/3945.c int txq_id; txq_id 1029 drivers/net/wireless/intel/iwlegacy/3945.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) { txq_id 1030 drivers/net/wireless/intel/iwlegacy/3945.c _il_wr(il, FH39_TCSR_CONFIG(txq_id), 0x0); txq_id 1032 drivers/net/wireless/intel/iwlegacy/3945.c FH39_TSSR_TX_STATUS_REG_MSK_CHNL_IDLE(txq_id), txq_id 1033 drivers/net/wireless/intel/iwlegacy/3945.c FH39_TSSR_TX_STATUS_REG_MSK_CHNL_IDLE(txq_id), txq_id 2199 drivers/net/wireless/intel/iwlegacy/3945.c int txq_id = txq->q.id; txq_id 2203 drivers/net/wireless/intel/iwlegacy/3945.c shared_data->tx_base_ptr[txq_id] = cpu_to_le32((u32) txq->q.dma_addr); txq_id 2205 drivers/net/wireless/intel/iwlegacy/3945.c il_wr(il, FH39_CBCC_CTRL(txq_id), 0); txq_id 2206 drivers/net/wireless/intel/iwlegacy/3945.c il_wr(il, FH39_CBCC_BASE(txq_id), 0); txq_id 2208 drivers/net/wireless/intel/iwlegacy/3945.c il_wr(il, FH39_TCSR_CONFIG(txq_id), txq_id 1653 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id; txq_id 1723 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = skb_get_queue_mapping(skb); txq_id 1744 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = il->stations[sta_id].tid[tid].agg.txq_id; txq_id 1749 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq = &il->txq[txq_id]; txq_id 1783 drivers/net/wireless/intel/iwlegacy/4965-mac.c (QUEUE_TO_SEQ(txq_id) | IDX_TO_SEQ(q->write_ptr))); txq_id 1943 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id; txq_id 1947 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) txq_id 1948 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (txq_id == il->cmd_queue) txq_id 1951 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_tx_queue_free(il, txq_id); txq_id 1971 drivers/net/wireless/intel/iwlegacy/4965-mac.c int ret, txq_id; txq_id 2007 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) { txq_id 2008 drivers/net/wireless/intel/iwlegacy/4965-mac.c ret = il_tx_queue_init(il, txq_id); txq_id 2010 drivers/net/wireless/intel/iwlegacy/4965-mac.c IL_ERR("Tx %d queue init failed\n", txq_id); txq_id 2029 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id; txq_id 2042 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) txq_id 2043 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_tx_queue_reset(il, txq_id); txq_id 2049 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id; txq_id 2055 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) txq_id 2056 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (txq_id == il->cmd_queue) txq_id 2059 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_tx_queue_unmap(il, txq_id); txq_id 2095 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id; txq_id 2097 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (txq_id = 0; txq_id < il->hw_params.max_txq_num; txq_id++) txq_id 2098 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (!test_and_set_bit(txq_id, &il->txq_ctx_active_msk)) txq_id 2099 drivers/net/wireless/intel/iwlegacy/4965-mac.c return txq_id; txq_id 2107 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_stop_scheduler(struct il_priv *il, u16 txq_id) txq_id 2111 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_wr_prph(il, IL49_SCD_QUEUE_STATUS_BITS(txq_id), txq_id 2120 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_set_q2ratid(struct il_priv *il, u16 ra_tid, u16 txq_id) txq_id 2129 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->scd_base_addr + IL49_SCD_TRANSLATE_TBL_OFFSET_QUEUE(txq_id); txq_id 2133 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (txq_id & 0x1) txq_id 2150 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_txq_agg_enable(struct il_priv *il, int txq_id, int tx_fifo, int sta_id, txq_id 2157 drivers/net/wireless/intel/iwlegacy/4965-mac.c if ((IL49_FIRST_AMPDU_QUEUE > txq_id) || txq_id 2159 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->cfg->num_of_ampdu_queues <= txq_id)) { txq_id 2161 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id, IL49_FIRST_AMPDU_QUEUE, txq_id 2177 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_stop_scheduler(il, txq_id); txq_id 2180 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_set_q2ratid(il, ra_tid, txq_id); txq_id 2183 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_set_bits_prph(il, IL49_SCD_QUEUECHAIN_SEL, (1 << txq_id)); txq_id 2187 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->txq[txq_id].q.read_ptr = (ssn_idx & 0xff); txq_id 2188 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->txq[txq_id].q.write_ptr = (ssn_idx & 0xff); txq_id 2189 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_set_wr_ptrs(il, txq_id, ssn_idx); txq_id 2194 drivers/net/wireless/intel/iwlegacy/4965-mac.c IL49_SCD_CONTEXT_QUEUE_OFFSET(txq_id), txq_id 2200 drivers/net/wireless/intel/iwlegacy/4965-mac.c IL49_SCD_CONTEXT_QUEUE_OFFSET(txq_id) + sizeof(u32), txq_id 2205 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_set_bits_prph(il, IL49_SCD_INTERRUPT_MASK, (1 << txq_id)); txq_id 2208 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_set_status(il, &il->txq[txq_id], tx_fifo, 1); txq_id 2221 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id; txq_id 2246 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = il4965_txq_ctx_activate_free(il); txq_id 2247 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (txq_id == -1) { txq_id 2255 drivers/net/wireless/intel/iwlegacy/4965-mac.c tid_data->agg.txq_id = txq_id; txq_id 2256 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_set_swq_id(&il->txq[txq_id], il4965_get_ac_from_tid(tid), txq_id); txq_id 2259 drivers/net/wireless/intel/iwlegacy/4965-mac.c ret = il4965_txq_agg_enable(il, txq_id, tx_fifo, sta_id, tid, *ssn); txq_id 2283 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_txq_agg_disable(struct il_priv *il, u16 txq_id, u16 ssn_idx, u8 tx_fifo) txq_id 2285 drivers/net/wireless/intel/iwlegacy/4965-mac.c if ((IL49_FIRST_AMPDU_QUEUE > txq_id) || txq_id 2287 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->cfg->num_of_ampdu_queues <= txq_id)) { txq_id 2289 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id, IL49_FIRST_AMPDU_QUEUE, txq_id 2295 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_stop_scheduler(il, txq_id); txq_id 2297 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_clear_bits_prph(il, IL49_SCD_QUEUECHAIN_SEL, (1 << txq_id)); txq_id 2299 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->txq[txq_id].q.read_ptr = (ssn_idx & 0xff); txq_id 2300 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->txq[txq_id].q.write_ptr = (ssn_idx & 0xff); txq_id 2302 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_set_wr_ptrs(il, txq_id, ssn_idx); txq_id 2304 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_clear_bits_prph(il, IL49_SCD_INTERRUPT_MASK, (1 << txq_id)); txq_id 2305 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_txq_ctx_deactivate(il, txq_id); txq_id 2306 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_set_status(il, &il->txq[txq_id], tx_fifo, 0); txq_id 2315 drivers/net/wireless/intel/iwlegacy/4965-mac.c int tx_fifo_id, txq_id, sta_id, ssn; txq_id 2336 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = tid_data->agg.txq_id; txq_id 2354 drivers/net/wireless/intel/iwlegacy/4965-mac.c write_ptr = il->txq[txq_id].q.write_ptr; txq_id 2355 drivers/net/wireless/intel/iwlegacy/4965-mac.c read_ptr = il->txq[txq_id].q.read_ptr; txq_id 2381 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_txq_agg_disable(il, txq_id, ssn, tx_fifo_id); txq_id 2390 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id) txq_id 2392 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_queue *q = &il->txq[txq_id].q; txq_id 2402 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (txq_id == tid_data->agg.txq_id && txq_id 2407 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_txq_agg_disable(il, txq_id, ssn, tx_fifo); txq_id 2455 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx) txq_id 2457 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 2465 drivers/net/wireless/intel/iwlegacy/4965-mac.c "is out of range [0-%d] %d %d.\n", txq_id, idx, q->n_bd, txq_id 2482 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_status(il, skb, txq_id >= IL4965_FIRST_AMPDU_QUEUE); txq_id 2648 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il4965_tx_resp *tx_resp, int txq_id, txq_id 2675 drivers/net/wireless/intel/iwlegacy/4965-mac.c info = IEEE80211_SKB_CB(il->txq[txq_id].skbs[idx]); txq_id 2698 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = SEQ_TO_QUEUE(seq); txq_id 2706 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->frame_count, txq_id, idx); txq_id 2708 drivers/net/wireless/intel/iwlegacy/4965-mac.c skb = il->txq[txq_id].skbs[idx]; txq_id 2763 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id = SEQ_TO_QUEUE(sequence); txq_id 2765 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 2779 drivers/net/wireless/intel/iwlegacy/4965-mac.c "is out of range [0-%d] %d %d\n", txq_id, idx, txq_id 2823 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_status_reply_tx(il, agg, tx_resp, txq_id, idx); txq_id 2834 drivers/net/wireless/intel/iwlegacy/4965-mac.c freed = il4965_tx_queue_reclaim(il, txq_id, idx); txq_id 2852 drivers/net/wireless/intel/iwlegacy/4965-mac.c "rate_n_flags 0x%x retries %d\n", txq_id, txq_id 2857 drivers/net/wireless/intel/iwlegacy/4965-mac.c freed = il4965_tx_queue_reclaim(il, txq_id, idx); txq_id 2868 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_txq_check_empty(il, sta_id, tid, txq_id); txq_id 2933 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (unlikely(agg->txq_id != scd_flow)) { txq_id 2941 drivers/net/wireless/intel/iwlegacy/4965-mac.c scd_flow, agg->txq_id); txq_id 4002 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id = txq->q.id; txq_id 4005 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_wr(il, FH49_MEM_CBBC_QUEUE(txq_id), txq->q.dma_addr >> 8); txq_id 6284 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_set_wr_ptrs(struct il_priv *il, int txq_id, u32 idx) txq_id 6286 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_wr(il, HBUS_TARG_WRPTR, (idx & 0xff) | (txq_id << 8)); txq_id 6287 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_wr_prph(il, IL49_SCD_QUEUE_RDPTR(txq_id), idx); txq_id 6294 drivers/net/wireless/intel/iwlegacy/4965-mac.c int txq_id = txq->q.id; txq_id 6297 drivers/net/wireless/intel/iwlegacy/4965-mac.c int active = test_bit(txq_id, &il->txq_ctx_active_msk) ? 1 : 0; txq_id 6300 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_wr_prph(il, IL49_SCD_QUEUE_STATUS_BITS(txq_id), txq_id 6310 drivers/net/wireless/intel/iwlegacy/4965-mac.c scd_retry ? "BA" : "AC", txq_id, tx_fifo_id); txq_id 1539 drivers/net/wireless/intel/iwlegacy/4965.c int txq_id = txq->q.id; txq_id 1548 drivers/net/wireless/intel/iwlegacy/4965.c scd_bc_tbl[txq_id].tfd_offset[write_ptr] = bc_ent; txq_id 1552 drivers/net/wireless/intel/iwlegacy/4965.c scd_bc_tbl[txq_id].tfd_offset[TFD_QUEUE_SIZE_MAX + write_ptr] = txq_id 70 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id); txq_id 71 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx); txq_id 81 drivers/net/wireless/intel/iwlegacy/4965.h void il4965_set_wr_ptrs(struct il_priv *il, int txq_id, u32 idx); txq_id 2713 drivers/net/wireless/intel/iwlegacy/common.c int txq_id = txq->q.id; txq_id 2727 drivers/net/wireless/intel/iwlegacy/common.c txq_id, reg); txq_id 2733 drivers/net/wireless/intel/iwlegacy/common.c il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); txq_id 2741 drivers/net/wireless/intel/iwlegacy/common.c _il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); txq_id 2750 drivers/net/wireless/intel/iwlegacy/common.c il_tx_queue_unmap(struct il_priv *il, int txq_id) txq_id 2752 drivers/net/wireless/intel/iwlegacy/common.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 2774 drivers/net/wireless/intel/iwlegacy/common.c il_tx_queue_free(struct il_priv *il, int txq_id) txq_id 2776 drivers/net/wireless/intel/iwlegacy/common.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 2780 drivers/net/wireless/intel/iwlegacy/common.c il_tx_queue_unmap(il, txq_id); txq_id 3005 drivers/net/wireless/intel/iwlegacy/common.c il_tx_queue_init(struct il_priv *il, u32 txq_id) txq_id 3009 drivers/net/wireless/intel/iwlegacy/common.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 3019 drivers/net/wireless/intel/iwlegacy/common.c if (txq_id == il->cmd_queue) { txq_id 3047 drivers/net/wireless/intel/iwlegacy/common.c ret = il_tx_queue_alloc(il, txq, txq_id); txq_id 3058 drivers/net/wireless/intel/iwlegacy/common.c if (txq_id < 4) txq_id 3059 drivers/net/wireless/intel/iwlegacy/common.c il_set_swq_id(txq, txq_id, txq_id); txq_id 3062 drivers/net/wireless/intel/iwlegacy/common.c il_queue_init(il, &txq->q, slots, txq_id); txq_id 3082 drivers/net/wireless/intel/iwlegacy/common.c il_tx_queue_reset(struct il_priv *il, u32 txq_id) txq_id 3085 drivers/net/wireless/intel/iwlegacy/common.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 3087 drivers/net/wireless/intel/iwlegacy/common.c if (txq_id == il->cmd_queue) { txq_id 3099 drivers/net/wireless/intel/iwlegacy/common.c il_queue_init(il, &txq->q, slots, txq_id); txq_id 3244 drivers/net/wireless/intel/iwlegacy/common.c il_hcmd_queue_reclaim(struct il_priv *il, int txq_id, int idx, int cmd_idx) txq_id 3246 drivers/net/wireless/intel/iwlegacy/common.c struct il_tx_queue *txq = &il->txq[txq_id]; txq_id 3252 drivers/net/wireless/intel/iwlegacy/common.c "is out of range [0-%d] %d %d.\n", txq_id, idx, q->n_bd, txq_id 3282 drivers/net/wireless/intel/iwlegacy/common.c int txq_id = SEQ_TO_QUEUE(sequence); txq_id 3295 drivers/net/wireless/intel/iwlegacy/common.c (txq_id != il->cmd_queue, txq_id 3297 drivers/net/wireless/intel/iwlegacy/common.c txq_id, il->cmd_queue, sequence, il->txq[il->cmd_queue].q.read_ptr, txq_id 3321 drivers/net/wireless/intel/iwlegacy/common.c il_hcmd_queue_reclaim(il, txq_id, idx, cmd_idx); txq_id 631 drivers/net/wireless/intel/iwlegacy/common.h u16 txq_id; txq_id 1428 drivers/net/wireless/intel/iwlegacy/common.h il_txq_ctx_activate(struct il_priv *il, int txq_id) txq_id 1430 drivers/net/wireless/intel/iwlegacy/common.h set_bit(txq_id, &il->txq_ctx_active_msk); txq_id 1434 drivers/net/wireless/intel/iwlegacy/common.h il_txq_ctx_deactivate(struct il_priv *il, int txq_id) txq_id 1436 drivers/net/wireless/intel/iwlegacy/common.h clear_bit(txq_id, &il->txq_ctx_active_msk); txq_id 1752 drivers/net/wireless/intel/iwlegacy/common.h int il_tx_queue_init(struct il_priv *il, u32 txq_id); txq_id 1753 drivers/net/wireless/intel/iwlegacy/common.h void il_tx_queue_reset(struct il_priv *il, u32 txq_id); txq_id 1754 drivers/net/wireless/intel/iwlegacy/common.h void il_tx_queue_unmap(struct il_priv *il, int txq_id); txq_id 1755 drivers/net/wireless/intel/iwlegacy/common.h void il_tx_queue_free(struct il_priv *il, int txq_id); txq_id 430 drivers/net/wireless/intel/iwlegacy/debug.c station->tid[j].agg.txq_id, txq_id 227 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c tid_data->agg.txq_id); txq_id 153 drivers/net/wireless/intel/iwlwifi/dvm/dev.h u16 txq_id; txq_id 277 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int txq_id; txq_id 418 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = info->hw_queue; txq_id 421 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = priv->tid_data[sta_id][tid].agg.txq_id; txq_id 432 drivers/net/wireless/intel/iwlwifi/dvm/tx.c priv->queue_to_mac80211[txq_id] != info->hw_queue); txq_id 435 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id, seq_number); txq_id 437 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) txq_id 490 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int sta_id, txq_id; txq_id 503 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = tid_data->agg.txq_id; txq_id 535 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (!test_bit(txq_id, priv->agg_q_alloc)) { txq_id 538 drivers/net/wireless/intel/iwlwifi/dvm/tx.c sta_id, tid, txq_id); txq_id 557 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (test_bit(txq_id, priv->agg_q_alloc)) { txq_id 565 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwl_trans_txq_disable(priv->trans, txq_id, true); txq_id 569 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwlagn_dealloc_agg_txq(priv, txq_id); txq_id 582 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int sta_id, txq_id, ret; txq_id 600 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = iwlagn_alloc_agg_txq(priv, ctx->ac_to_queue[tid_to_ac[tid]]); txq_id 601 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (txq_id < 0) { txq_id 605 drivers/net/wireless/intel/iwlwifi/dvm/tx.c return txq_id; txq_id 615 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.txq_id = txq_id; txq_id 641 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int sta_id, txq_id; txq_id 651 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = tid_data->agg.txq_id; txq_id 654 drivers/net/wireless/intel/iwlwifi/dvm/tx.c sta_id, tid, txq_id, tid_data->agg.state); txq_id 660 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (iwlagn_txfifo_flush(priv, BIT(txq_id))) txq_id 663 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (test_bit(txq_id, priv->agg_q_alloc)) { txq_id 671 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwl_trans_txq_disable(priv->trans, txq_id, true); txq_id 675 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwlagn_dealloc_agg_txq(priv, txq_id); txq_id 693 drivers/net/wireless/intel/iwlwifi/dvm/tx.c q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; txq_id 766 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.txq_id, true); txq_id 767 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwlagn_dealloc_agg_txq(priv, tid_data->agg.txq_id); txq_id 957 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg->txq_id, txq_id 1117 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int txq_id = SEQ_TO_QUEUE(sequence); txq_id 1130 drivers/net/wireless/intel/iwlwifi/dvm/tx.c bool is_agg = (txq_id >= IWLAGN_FIRST_AMPDU_QUEUE); txq_id 1142 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (txq_id != priv->tid_data[sta_id][tid].agg.txq_id) txq_id 1143 drivers/net/wireless/intel/iwlwifi/dvm/tx.c IWL_ERR(priv, "txq_id mismatch: %d %d\n", txq_id, txq_id 1144 drivers/net/wireless/intel/iwlwifi/dvm/tx.c priv->tid_data[sta_id][tid].agg.txq_id); txq_id 1177 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwl_trans_reclaim(priv->trans, txq_id, ssn, &skbs); txq_id 1207 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id, txq_id 1237 drivers/net/wireless/intel/iwlwifi/dvm/tx.c IWL_ERR(priv, "Q: %d, freed %d\n", txq_id, freed); txq_id 1239 drivers/net/wireless/intel/iwlwifi/dvm/tx.c IWL_DEBUG_TX_REPLY(priv, "TXQ %d status %s (0x%08x)\n", txq_id, txq_id 1303 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (unlikely(scd_flow != agg->txq_id)) { txq_id 1312 drivers/net/wireless/intel/iwlwifi/dvm/tx.c scd_flow, sta_id, tid, agg->txq_id); txq_id 68 drivers/net/wireless/intel/iwlwifi/iwl-scd.h u16 txq_id) txq_id 70 drivers/net/wireless/intel/iwlwifi/iwl-scd.h iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id)); txq_id 74 drivers/net/wireless/intel/iwlwifi/iwl-scd.h u16 txq_id) txq_id 76 drivers/net/wireless/intel/iwlwifi/iwl-scd.h iwl_set_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); txq_id 80 drivers/net/wireless/intel/iwlwifi/iwl-scd.h u16 txq_id) txq_id 82 drivers/net/wireless/intel/iwlwifi/iwl-scd.h iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id)); txq_id 131 drivers/net/wireless/intel/iwlwifi/iwl-scd.h u16 txq_id) txq_id 133 drivers/net/wireless/intel/iwlwifi/iwl-scd.h iwl_write_prph(trans, SCD_QUEUE_STATUS_BITS(txq_id), txq_id 579 drivers/net/wireless/intel/iwlwifi/iwl-trans.h void (*txq_set_shared_mode)(struct iwl_trans *trans, u32 txq_id, txq_id 1668 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvm_ap_sta->tid_data[i].txq_id, txq_id 880 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!txq->sta || mvmtxq->txq_id != IWL_MVM_INVALID_QUEUE) { txq_id 2779 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (tid_data->txq_id == IWL_MVM_INVALID_QUEUE) txq_id 2782 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c __set_bit(tid_data->txq_id, &txqs); txq_id 788 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u16 txq_id; txq_id 397 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; txq_id 489 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; txq_id 491 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; txq_id 793 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmtxq->txq_id = queue; txq_id 800 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->tid_data[tid].txq_id = queue; txq_id 840 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmtxq->txq_id = queue; txq_id 1046 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->tid_data[tid].txq_id = IWL_MVM_INVALID_QUEUE; txq_id 1331 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->tid_data[tid].txq_id = queue; txq_id 1476 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int txq_id = tid_data->txq_id; txq_id 1479 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (txq_id == IWL_MVM_INVALID_QUEUE) txq_id 1488 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = iwl_mvm_tvqm_enable_txq(mvm, mvm_sta->sta_id, txq_id 1495 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (txq_id < 0) txq_id 1496 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = IWL_MVM_INVALID_QUEUE; txq_id 1497 drivers/net/wireless/intel/iwlwifi/mvm/sta.c tid_data->txq_id = txq_id; txq_id 1511 drivers/net/wireless/intel/iwlwifi/mvm/sta.c cfg.aggregate = (txq_id >= IWL_MVM_DQA_MIN_DATA_QUEUE || txq_id 1512 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id == txq_id 1517 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta->sta_id, i, txq_id); txq_id 1519 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_enable_txq(mvm, sta, txq_id, seq, &cfg, wdg); txq_id 1520 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm->queue_info[txq_id].status = IWL_MVM_QUEUE_READY; txq_id 1641 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta->tid_data[i].txq_id = IWL_MVM_INVALID_QUEUE; txq_id 1648 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; txq_id 1797 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (mvm_sta->tid_data[i].txq_id == IWL_MVM_INVALID_QUEUE) txq_id 1800 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_disable_txq(mvm, sta, mvm_sta->tid_data[i].txq_id, i, txq_id 1802 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta->tid_data[i].txq_id = IWL_MVM_INVALID_QUEUE; txq_id 1809 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmtxq->txq_id = IWL_MVM_INVALID_QUEUE; txq_id 1819 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 txq_id; txq_id 1823 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = mvm_sta->tid_data[i].txq_id; txq_id 1826 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (txq_id == IWL_MVM_INVALID_QUEUE) txq_id 1829 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = iwl_trans_wait_txq_empty(mvm->trans, txq_id); txq_id 2766 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 txq_id; txq_id 2782 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (mvmsta->tid_data[tid].txq_id == IWL_MVM_INVALID_QUEUE && txq_id 2799 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = mvmsta->tid_data[tid].txq_id; txq_id 2800 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (txq_id == IWL_MVM_INVALID_QUEUE) { txq_id 2809 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = ret; txq_id 2812 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm->queue_info[txq_id].status = IWL_MVM_QUEUE_RESERVED; txq_id 2813 drivers/net/wireless/intel/iwlwifi/mvm/sta.c } else if (WARN_ON(txq_id >= IWL_MAX_HW_QUEUES)) { txq_id 2819 drivers/net/wireless/intel/iwlwifi/mvm/sta.c } else if (unlikely(mvm->queue_info[txq_id].status == txq_id 2830 drivers/net/wireless/intel/iwlwifi/mvm/sta.c tid, txq_id); txq_id 2834 drivers/net/wireless/intel/iwlwifi/mvm/sta.c tid_data->txq_id = txq_id; txq_id 2839 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->sta_id, tid, txq_id, tid_data->ssn, txq_id 2897 drivers/net/wireless/intel/iwlwifi/mvm/sta.c queue = tid_data->txq_id; txq_id 2996 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 txq_id = tid_data->txq_id; txq_id 3010 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (mvm->queue_info[txq_id].status == IWL_MVM_QUEUE_RESERVED) { txq_id 3011 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm->queue_info[txq_id].status = IWL_MVM_QUEUE_FREE; txq_id 3012 drivers/net/wireless/intel/iwlwifi/mvm/sta.c tid_data->txq_id = IWL_MVM_INVALID_QUEUE; txq_id 3021 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 txq_id; txq_id 3035 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = tid_data->txq_id; txq_id 3038 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->sta_id, tid, txq_id, tid_data->state); txq_id 3058 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_sta_tx_agg(mvm, sta, tid, txq_id, false); txq_id 3079 drivers/net/wireless/intel/iwlwifi/mvm/sta.c "\ttid_data->txq_id = %d\n", tid_data->txq_id); txq_id 3093 drivers/net/wireless/intel/iwlwifi/mvm/sta.c u16 txq_id; txq_id 3101 drivers/net/wireless/intel/iwlwifi/mvm/sta.c txq_id = tid_data->txq_id; txq_id 3103 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvmsta->sta_id, tid, txq_id, tid_data->state); txq_id 3118 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_trans_wait_txq_empty(mvm->trans, txq_id); txq_id 3120 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (iwl_mvm_flush_tx_path(mvm, BIT(txq_id), 0)) txq_id 3122 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_trans_wait_tx_queues_empty(mvm->trans, BIT(txq_id)); txq_id 3127 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_sta_tx_agg(mvm, sta, tid, txq_id, false); txq_id 327 drivers/net/wireless/intel/iwlwifi/mvm/sta.h u16 txq_id; txq_id 1006 drivers/net/wireless/intel/iwlwifi/mvm/tx.c static bool iwl_mvm_txq_should_update(struct iwl_mvm *mvm, int txq_id) txq_id 1008 drivers/net/wireless/intel/iwlwifi/mvm/tx.c unsigned long queue_tid_bitmap = mvm->queue_info[txq_id].tid_bitmap; txq_id 1016 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (time_before(mvm->queue_info[txq_id].last_frame_time[tid] + txq_id 1077 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u16 txq_id; txq_id 1142 drivers/net/wireless/intel/iwlwifi/mvm/tx.c txq_id = mvmsta->tid_data[tid].txq_id; txq_id 1146 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (WARN_ONCE(txq_id == IWL_MVM_INVALID_QUEUE, "Invalid TXQ id")) { txq_id 1154 drivers/net/wireless/intel/iwlwifi/mvm/tx.c mvm->queue_info[txq_id].last_frame_time[tid] = jiffies; txq_id 1166 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (unlikely(mvm->queue_info[txq_id].status == txq_id 1168 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_txq_should_update(mvm, txq_id))) txq_id 1173 drivers/net/wireless/intel/iwlwifi/mvm/tx.c mvmsta->sta_id, tid, txq_id, txq_id 1179 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (iwl_trans_tx(mvm->trans, skb, dev_cmd, txq_id)) txq_id 1446 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int txq_id = SEQ_TO_QUEUE(sequence); txq_id 1464 drivers/net/wireless/intel/iwlwifi/mvm/tx.c txq_id = le16_to_cpu(tx_resp->tx_queue); txq_id 1469 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_trans_reclaim(mvm->trans, txq_id, ssn, &skbs); txq_id 1583 drivers/net/wireless/intel/iwlwifi/mvm/tx.c txq_id, iwl_mvm_get_tx_fail_reason(status), status); txq_id 1800 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (tid_data->txq_id != txq) { txq_id 1803 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tid_data->txq_id, tid); txq_id 678 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int iwl_pcie_gen2_tx_init(struct iwl_trans *trans, int txq_id, txq_id 688 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id, txq_id 693 drivers/net/wireless/intel/iwlwifi/pcie/internal.h struct iwl_device_tx_cmd *dev_cmd, int txq_id); txq_id 696 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx); txq_id 701 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_trans_pcie_reclaim(struct iwl_trans *trans, int txq_id, int ssn, txq_id 703 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_trans_pcie_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr); txq_id 1114 drivers/net/wireless/intel/iwlwifi/pcie/internal.h struct iwl_device_tx_cmd *dev_cmd, int txq_id); txq_id 1119 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_pcie_gen2_txq_unmap(struct iwl_trans *trans, int txq_id); txq_id 2299 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 txq_id = txq->id; txq_id 2305 drivers/net/wireless/intel/iwlwifi/pcie/trans.c IWL_ERR(trans, "Queue %d is stuck %d %d\n", txq_id, txq_id 2311 drivers/net/wireless/intel/iwlwifi/pcie/trans.c status = iwl_read_prph(trans, SCD_QUEUE_STATUS_BITS(txq_id)); txq_id 2317 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txq_id, active ? "" : "in", fifo, txq_id 2320 drivers/net/wireless/intel/iwlwifi/pcie/trans.c iwl_read_prph(trans, SCD_QUEUE_RDPTR(txq_id)) & txq_id 2322 drivers/net/wireless/intel/iwlwifi/pcie/trans.c iwl_read_prph(trans, SCD_QUEUE_WRPTR(txq_id)) & txq_id 68 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int txq_id; txq_id 79 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c for (txq_id = 0; txq_id < ARRAY_SIZE(trans_pcie->txq); txq_id++) { txq_id 80 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (!trans_pcie->txq[txq_id]) txq_id 82 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c iwl_pcie_gen2_txq_unmap(trans, txq_id); txq_id 592 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c struct iwl_device_tx_cmd *dev_cmd, int txq_id) txq_id 596 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 601 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (WARN_ONCE(!test_bit(txq_id, trans_pcie->queue_used), txq_id 602 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c "TX on unused queue %d\n", txq_id)) txq_id 636 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cpu_to_le16((u16)(QUEUE_TO_SEQ(txq_id) | txq_id 1048 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c void iwl_pcie_gen2_txq_unmap(struct iwl_trans *trans, int txq_id) txq_id 1051 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1056 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c txq_id, txq->read_ptr); txq_id 1058 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (txq_id != trans_pcie->cmd_queue) { txq_id 1112 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c static void iwl_pcie_gen2_txq_free(struct iwl_trans *trans, int txq_id) txq_id 1115 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1121 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c iwl_pcie_gen2_txq_unmap(trans, txq_id); txq_id 1124 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (txq_id == trans_pcie->cmd_queue) txq_id 1133 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c trans_pcie->txq[txq_id] = NULL; txq_id 1135 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c clear_bit(txq_id, trans_pcie->queue_used); txq_id 1308 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int iwl_pcie_gen2_tx_init(struct iwl_trans *trans, int txq_id, int queue_size) txq_id 1315 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (!trans_pcie->txq[txq_id]) { txq_id 1321 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c trans_pcie->txq[txq_id] = queue; txq_id 1324 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c IWL_ERR(trans, "Tx %d queue init failed\n", txq_id); txq_id 1328 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c queue = trans_pcie->txq[txq_id]; txq_id 1332 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c (txq_id == trans_pcie->cmd_queue)); txq_id 1334 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c IWL_ERR(trans, "Tx %d queue alloc failed\n", txq_id); txq_id 1337 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c trans_pcie->txq[txq_id]->id = txq_id; txq_id 1338 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c set_bit(txq_id, trans_pcie->queue_used); txq_id 212 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id = txq->id; txq_id 243 drivers/net/wireless/intel/iwlwifi/pcie/tx.c scd_bc_tbl[txq_id].tfd_offset[write_ptr] = bc_ent; txq_id 246 drivers/net/wireless/intel/iwlwifi/pcie/tx.c scd_bc_tbl[txq_id]. txq_id 256 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id = txq->id; txq_id 265 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id != trans_pcie->cmd_queue) txq_id 270 drivers/net/wireless/intel/iwlwifi/pcie/tx.c scd_bc_tbl[txq_id].tfd_offset[read_ptr] = bc_ent; txq_id 273 drivers/net/wireless/intel/iwlwifi/pcie/tx.c scd_bc_tbl[txq_id]. txq_id 285 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id = txq->id; txq_id 296 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id != trans_pcie->cmd_queue && txq_id 307 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, reg); txq_id 319 drivers/net/wireless/intel/iwlwifi/pcie/tx.c IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq_id, txq->write_ptr); txq_id 322 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr | (txq_id << 8)); txq_id 655 drivers/net/wireless/intel/iwlwifi/pcie/tx.c static void iwl_pcie_txq_unmap(struct iwl_trans *trans, int txq_id) txq_id 658 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 663 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, txq->read_ptr); txq_id 665 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id != trans_pcie->cmd_queue) { txq_id 680 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id == trans_pcie->cmd_queue) txq_id 706 drivers/net/wireless/intel/iwlwifi/pcie/tx.c static void iwl_pcie_txq_free(struct iwl_trans *trans, int txq_id) txq_id 709 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 716 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_unmap(trans, txq_id); txq_id 719 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id == trans_pcie->cmd_queue) txq_id 808 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id; txq_id 817 drivers/net/wireless/intel/iwlwifi/pcie/tx.c for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; txq_id 818 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id++) { txq_id 819 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 822 drivers/net/wireless/intel/iwlwifi/pcie/tx.c FH_MEM_CBBC_QUEUE(trans, txq_id), txq_id 826 drivers/net/wireless/intel/iwlwifi/pcie/tx.c FH_MEM_CBBC_QUEUE(trans, txq_id), txq_id 828 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_unmap(trans, txq_id); txq_id 882 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id; txq_id 903 drivers/net/wireless/intel/iwlwifi/pcie/tx.c for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; txq_id 904 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id++) txq_id 905 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_unmap(trans, txq_id); txq_id 917 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id; txq_id 924 drivers/net/wireless/intel/iwlwifi/pcie/tx.c for (txq_id = 0; txq_id 925 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id < trans->trans_cfg->base_params->num_of_queues; txq_id 926 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id++) { txq_id 927 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_free(trans, txq_id); txq_id 928 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id] = NULL; txq_id 947 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id, slots_num; txq_id 987 drivers/net/wireless/intel/iwlwifi/pcie/tx.c for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; txq_id 988 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id++) { txq_id 989 drivers/net/wireless/intel/iwlwifi/pcie/tx.c bool cmd_queue = (txq_id == trans_pcie->cmd_queue); txq_id 997 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id] = &trans_pcie->txq_memory[txq_id]; txq_id 998 drivers/net/wireless/intel/iwlwifi/pcie/tx.c ret = iwl_pcie_txq_alloc(trans, trans_pcie->txq[txq_id], txq_id 1001 drivers/net/wireless/intel/iwlwifi/pcie/tx.c IWL_ERR(trans, "Tx %d queue alloc failed\n", txq_id); txq_id 1004 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id]->id = txq_id; txq_id 1019 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id, slots_num; txq_id 1041 drivers/net/wireless/intel/iwlwifi/pcie/tx.c for (txq_id = 0; txq_id < trans->trans_cfg->base_params->num_of_queues; txq_id 1042 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id++) { txq_id 1043 drivers/net/wireless/intel/iwlwifi/pcie/tx.c bool cmd_queue = (txq_id == trans_pcie->cmd_queue); txq_id 1051 drivers/net/wireless/intel/iwlwifi/pcie/tx.c ret = iwl_pcie_txq_init(trans, trans_pcie->txq[txq_id], txq_id 1054 drivers/net/wireless/intel/iwlwifi/pcie/tx.c IWL_ERR(trans, "Tx %d queue init failed\n", txq_id); txq_id 1064 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_write_direct32(trans, FH_MEM_CBBC_QUEUE(trans, txq_id), txq_id 1065 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id]->dma_addr >> 8); txq_id 1106 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_trans_pcie_reclaim(struct iwl_trans *trans, int txq_id, int ssn, txq_id 1110 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1116 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (WARN_ON(txq_id == trans_pcie->cmd_queue)) txq_id 1121 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (!test_bit(txq_id, trans_pcie->queue_used)) { txq_id 1123 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, ssn); txq_id 1131 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, txq->read_ptr, tfd_num, ssn); txq_id 1140 drivers/net/wireless/intel/iwlwifi/pcie/tx.c __func__, txq_id, last_to_free, txq_id 1173 drivers/net/wireless/intel/iwlwifi/pcie/tx.c test_bit(txq_id, trans_pcie->queue_stopped)) { txq_id 1209 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_trans_tx(trans, skb, dev_cmd_ptr, txq_id); txq_id 1224 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_trans_pcie_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr) txq_id 1227 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1284 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_pcie_cmdq_reclaim(struct iwl_trans *trans, int txq_id, int idx) txq_id 1287 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1299 drivers/net/wireless/intel/iwlwifi/pcie/tx.c WARN_ONCE(test_bit(txq_id, trans_pcie->queue_used), txq_id 1301 drivers/net/wireless/intel/iwlwifi/pcie/tx.c __func__, txq_id, idx, txq_id 1328 drivers/net/wireless/intel/iwlwifi/pcie/tx.c u16 txq_id) txq_id 1338 drivers/net/wireless/intel/iwlwifi/pcie/tx.c SCD_TRANS_TBL_OFFSET_QUEUE(txq_id); txq_id 1342 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id & 0x1) txq_id 1356 drivers/net/wireless/intel/iwlwifi/pcie/tx.c bool iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, u16 ssn, txq_id 1361 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1365 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (test_and_set_bit(txq_id, trans_pcie->queue_used)) txq_id 1366 drivers/net/wireless/intel/iwlwifi/pcie/tx.c WARN_ONCE(1, "queue %d already used - expect issues", txq_id); txq_id 1374 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id == trans_pcie->cmd_queue && txq_id 1379 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_scd_txq_set_inactive(trans, txq_id); txq_id 1382 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id != trans_pcie->cmd_queue) txq_id 1383 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_scd_txq_set_chain(trans, txq_id); txq_id 1389 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_set_ratid_map(trans, ra_tid, txq_id); txq_id 1392 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_scd_txq_enable_agg(trans, txq_id); txq_id 1400 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_scd_txq_disable_agg(trans, txq_id); txq_id 1428 drivers/net/wireless/intel/iwlwifi/pcie/tx.c (ssn & 0xff) | (txq_id << 8)); txq_id 1433 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_write_prph(trans, SCD_QUEUE_RDPTR(txq_id), ssn); txq_id 1437 drivers/net/wireless/intel/iwlwifi/pcie/tx.c SCD_CONTEXT_QUEUE_OFFSET(txq_id), 0); txq_id 1440 drivers/net/wireless/intel/iwlwifi/pcie/tx.c SCD_CONTEXT_QUEUE_OFFSET(txq_id) + sizeof(u32), txq_id 1445 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_write_prph(trans, SCD_QUEUE_STATUS_BITS(txq_id), txq_id 1452 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq_id == trans_pcie->cmd_queue && txq_id 1454 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_scd_enable_set_active(trans, BIT(txq_id)); txq_id 1458 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, fifo, ssn & 0xff); txq_id 1462 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, ssn & 0xff); txq_id 1468 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_trans_pcie_txq_set_shared_mode(struct iwl_trans *trans, u32 txq_id, txq_id 1472 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq = trans_pcie->txq[txq_id]; txq_id 1477 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_trans_pcie_txq_disable(struct iwl_trans *trans, int txq_id, txq_id 1482 drivers/net/wireless/intel/iwlwifi/pcie/tx.c SCD_TX_STTS_QUEUE_OFFSET(txq_id); txq_id 1485 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id]->frozen_expiry_remainder = 0; txq_id 1486 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id]->frozen = false; txq_id 1494 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (!test_and_clear_bit(txq_id, trans_pcie->queue_used)) { txq_id 1496 drivers/net/wireless/intel/iwlwifi/pcie/tx.c "queue %d not used", txq_id); txq_id 1501 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_scd_txq_set_inactive(trans, txq_id); txq_id 1507 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_unmap(trans, txq_id); txq_id 1508 drivers/net/wireless/intel/iwlwifi/pcie/tx.c trans_pcie->txq[txq_id]->ampdu = false; txq_id 1510 drivers/net/wireless/intel/iwlwifi/pcie/tx.c IWL_DEBUG_TX_QUEUES(trans, "Deactivate queue %d\n", txq_id); txq_id 1807 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int txq_id = SEQ_TO_QUEUE(sequence); txq_id 1818 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (WARN(txq_id != trans_pcie->cmd_queue, txq_id 1820 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, trans_pcie->cmd_queue, sequence, txq->read_ptr, txq_id 1848 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_cmdq_reclaim(trans, txq_id, index); txq_id 2296 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_device_tx_cmd *dev_cmd, int txq_id) txq_id 2313 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq = trans_pcie->txq[txq_id]; txq_id 2315 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (WARN_ONCE(!test_bit(txq_id, trans_pcie->queue_used), txq_id 2316 drivers/net/wireless/intel/iwlwifi/pcie/tx.c "TX on unused queue %d\n", txq_id)) txq_id 2375 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, wifi_seq, txq->write_ptr); txq_id 2382 drivers/net/wireless/intel/iwlwifi/pcie/tx.c cpu_to_le16((u16)(QUEUE_TO_SEQ(txq_id) | txq_id 1424 drivers/net/wireless/realtek/rtlwifi/wifi.h u16 txq_id;