Lines Matching refs:bank_id
355 int bank_id = DP_INVALID_BANK_ID; in ath12k_dp_tx_get_bank_profile() local
368 bank_id = i; in ath12k_dp_tx_get_bank_profile()
373 bank_id = i; in ath12k_dp_tx_get_bank_profile()
378 if (bank_id == DP_INVALID_BANK_ID) { in ath12k_dp_tx_get_bank_profile()
381 return bank_id; in ath12k_dp_tx_get_bank_profile()
385 dp->bank_profiles[bank_id].is_configured = true; in ath12k_dp_tx_get_bank_profile()
386 dp->bank_profiles[bank_id].bank_config = bank_config; in ath12k_dp_tx_get_bank_profile()
389 dp->bank_profiles[bank_id].num_users++; in ath12k_dp_tx_get_bank_profile()
393 ath12k_hal_tx_configure_bank_register(ab, bank_config, bank_id); in ath12k_dp_tx_get_bank_profile()
396 bank_id, bank_config, dp->bank_profiles[bank_id].bank_config, in ath12k_dp_tx_get_bank_profile()
397 dp->bank_profiles[bank_id].num_users); in ath12k_dp_tx_get_bank_profile()
399 return bank_id; in ath12k_dp_tx_get_bank_profile()
402 void ath12k_dp_tx_put_bank_profile(struct ath12k_dp *dp, u8 bank_id) in ath12k_dp_tx_put_bank_profile() argument
405 dp->bank_profiles[bank_id].num_users--; in ath12k_dp_tx_put_bank_profile()
1116 arvif->bank_id = ath12k_dp_tx_get_bank_profile(ab, arvif, &ab->dp); in ath12k_dp_vdev_tx_attach()
1119 if (arvif->bank_id == DP_INVALID_BANK_ID) { in ath12k_dp_vdev_tx_attach()