Lines Matching refs:pdev_idx
247 pdev_id = ar->pdev_idx; in ath11k_regd_update()
841 int pdev_idx; in ath11k_reg_handle_chan_list() local
856 pdev_idx = reg_info->phy_id; in ath11k_reg_handle_chan_list()
863 ab->default_regd[pdev_idx]) { in ath11k_reg_handle_chan_list()
869 if (pdev_idx >= ab->num_radios) { in ath11k_reg_handle_chan_list()
879 pdev_idx < ab->hw_params.num_rxdma_per_pdev) in ath11k_reg_handle_chan_list()
887 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_handle_chan_list()
888 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_handle_chan_list()
896 if (ab->default_regd[pdev_idx] && in ath11k_reg_handle_chan_list()
898 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_handle_chan_list()
902 ar = ab->pdevs[pdev_idx].ar; in ath11k_reg_handle_chan_list()
916 ath11k_reg_reset_info(&ab->reg_info_store[pdev_idx]); in ath11k_reg_handle_chan_list()
917 ab->reg_info_store[pdev_idx] = *reg_info; in ath11k_reg_handle_chan_list()
921 if (ab->default_regd[pdev_idx]) { in ath11k_reg_handle_chan_list()
929 ar = ab->pdevs[pdev_idx].ar; in ath11k_reg_handle_chan_list()
930 kfree(ab->new_regd[pdev_idx]); in ath11k_reg_handle_chan_list()
931 ab->new_regd[pdev_idx] = regd; in ath11k_reg_handle_chan_list()
937 ab->default_regd[pdev_idx] = regd; in ath11k_reg_handle_chan_list()