Lines Matching refs:tid_bitmap

352 	if (WARN_ON(mvm->queue_info[queue].tid_bitmap == 0))  in iwl_mvm_disable_txq()
355 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_disable_txq()
357 cmd.action = mvm->queue_info[queue].tid_bitmap ? in iwl_mvm_disable_txq()
365 mvm->queue_info[queue].tid_bitmap); in iwl_mvm_disable_txq()
375 WARN(mvm->queue_info[queue].tid_bitmap, in iwl_mvm_disable_txq()
377 queue, mvm->queue_info[queue].tid_bitmap); in iwl_mvm_disable_txq()
380 mvm->queue_info[queue].tid_bitmap = 0; in iwl_mvm_disable_txq()
407 unsigned long tid_bitmap; in iwl_mvm_get_queue_agg_tids() local
418 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_get_queue_agg_tids()
429 for_each_set_bit(tid, &tid_bitmap, IWL_MAX_TID_COUNT + 1) { in iwl_mvm_get_queue_agg_tids()
447 unsigned long tid_bitmap; in iwl_mvm_remove_sta_queue_marking() local
458 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_remove_sta_queue_marking()
473 for_each_set_bit(tid, &tid_bitmap, IWL_MAX_TID_COUNT + 1) { in iwl_mvm_remove_sta_queue_marking()
638 if (WARN(mvm->queue_info[queue].tid_bitmap == 0, in iwl_mvm_reconfig_scd()
689 shared_queue = hweight16(mvm->queue_info[queue].tid_bitmap) > 1; in iwl_mvm_redirect_queue()
761 if (mvm->queue_info[i].tid_bitmap == 0 && in iwl_mvm_find_free_queue()
862 if (mvm->queue_info[queue].tid_bitmap & BIT(tid)) { in iwl_mvm_update_txq_mapping()
869 if (mvm->queue_info[queue].tid_bitmap) in iwl_mvm_update_txq_mapping()
872 mvm->queue_info[queue].tid_bitmap |= BIT(tid); in iwl_mvm_update_txq_mapping()
894 queue, mvm->queue_info[queue].tid_bitmap); in iwl_mvm_update_txq_mapping()
941 unsigned long tid_bitmap; in iwl_mvm_change_queue_tid() local
949 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_change_queue_tid()
951 if (WARN(!tid_bitmap, "TXQ %d has no tids assigned to it\n", queue)) in iwl_mvm_change_queue_tid()
955 tid = find_first_bit(&tid_bitmap, IWL_MAX_TID_COUNT + 1); in iwl_mvm_change_queue_tid()
977 unsigned long tid_bitmap; in iwl_mvm_unshare_queue() local
989 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_unshare_queue()
992 tid = find_first_bit(&tid_bitmap, IWL_MAX_TID_COUNT + 1); in iwl_mvm_unshare_queue()
993 if (tid_bitmap != BIT(tid)) { in iwl_mvm_unshare_queue()
995 queue, tid_bitmap); in iwl_mvm_unshare_queue()
1059 unsigned long tid_bitmap, in iwl_mvm_remove_inactive_tids() argument
1072 for_each_set_bit(tid, &tid_bitmap, IWL_MAX_TID_COUNT + 1) { in iwl_mvm_remove_inactive_tids()
1075 tid_bitmap &= ~BIT(tid); in iwl_mvm_remove_inactive_tids()
1079 tid_bitmap &= ~BIT(tid); in iwl_mvm_remove_inactive_tids()
1083 if (tid_bitmap == mvm->queue_info[queue].tid_bitmap) { in iwl_mvm_remove_inactive_tids()
1092 for_each_set_bit(tid, &tid_bitmap, IWL_MAX_TID_COUNT + 1) { in iwl_mvm_remove_inactive_tids()
1096 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_remove_inactive_tids()
1098 q_tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_remove_inactive_tids()
1121 mvm->queue_info[queue].tid_bitmap); in iwl_mvm_remove_inactive_tids()
1127 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_remove_inactive_tids()
1130 if (hweight16(mvm->queue_info[queue].tid_bitmap) == 1 && in iwl_mvm_remove_inactive_tids()
1175 queue_tid_bitmap = mvm->queue_info[i].tid_bitmap; in iwl_mvm_inactivity_check()
1475 !mvm->queue_info[IWL_MVM_DQA_BSS_CLIENT_QUEUE].tid_bitmap && in iwl_mvm_reserve_sta_stream()