Lines Matching refs:bank_profiles
382 if (dp->bank_profiles[i].is_configured && in ath12k_dp_tx_get_bank_profile()
383 (dp->bank_profiles[i].bank_config ^ bank_config) == 0) { in ath12k_dp_tx_get_bank_profile()
387 if (!dp->bank_profiles[i].is_configured || in ath12k_dp_tx_get_bank_profile()
388 !dp->bank_profiles[i].num_users) { in ath12k_dp_tx_get_bank_profile()
401 dp->bank_profiles[bank_id].is_configured = true; in ath12k_dp_tx_get_bank_profile()
402 dp->bank_profiles[bank_id].bank_config = bank_config; in ath12k_dp_tx_get_bank_profile()
405 dp->bank_profiles[bank_id].num_users++; in ath12k_dp_tx_get_bank_profile()
412 bank_id, bank_config, dp->bank_profiles[bank_id].bank_config, in ath12k_dp_tx_get_bank_profile()
413 dp->bank_profiles[bank_id].num_users); in ath12k_dp_tx_get_bank_profile()
421 dp->bank_profiles[bank_id].num_users--; in ath12k_dp_tx_put_bank_profile()
429 kfree(dp->bank_profiles); in ath12k_dp_deinit_bank_profiles()
430 dp->bank_profiles = NULL; in ath12k_dp_deinit_bank_profiles()
440 dp->bank_profiles = kmalloc_array(num_tcl_banks, in ath12k_dp_init_bank_profiles()
443 if (!dp->bank_profiles) in ath12k_dp_init_bank_profiles()
449 dp->bank_profiles[i].is_configured = false; in ath12k_dp_init_bank_profiles()
450 dp->bank_profiles[i].num_users = 0; in ath12k_dp_init_bank_profiles()