Lines Matching refs:pdev_idx
2346 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd()
2553 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd()
5694 int ret = 0, pdev_idx, i, j; in ath12k_reg_chan_list_event() local
5719 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event()
5721 if (pdev_idx >= ab->num_radios) { in ath12k_reg_chan_list_event()
5727 pdev_idx < ab->hw_params->num_rxdma_per_pdev) in ath12k_reg_chan_list_event()
5736 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5737 !memcmp(ab->default_regd[pdev_idx]->alpha2, in ath12k_reg_chan_list_event()
5745 if (ab->default_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5747 ab->default_regd[pdev_idx]->alpha2) && in ath12k_reg_chan_list_event()
5766 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event()
5767 kfree(ab->new_regd[pdev_idx]); in ath12k_reg_chan_list_event()
5768 ab->new_regd[pdev_idx] = regd; in ath12k_reg_chan_list_event()
5776 kfree(ab->default_regd[pdev_idx]); in ath12k_reg_chan_list_event()
5778 ab->default_regd[pdev_idx] = regd; in ath12k_reg_chan_list_event()
7284 u32 pdev_idx) in ath12k_connect_pdev_htc_service() argument
7299 conn_req.service_id = svc_id[pdev_idx]; in ath12k_connect_pdev_htc_service()
7308 ab->wmi_ab.wmi_endpoint_id[pdev_idx] = conn_resp.eid; in ath12k_connect_pdev_htc_service()
7309 ab->wmi_ab.wmi[pdev_idx].eid = conn_resp.eid; in ath12k_connect_pdev_htc_service()
7310 ab->wmi_ab.max_msg_len[pdev_idx] = conn_resp.max_msg_len; in ath12k_connect_pdev_htc_service()