Lines Matching refs:svc_rdy_ext
4667 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_hw_mode_caps_parse() local
4674 if (svc_rdy_ext->n_hw_mode_caps >= svc_rdy_ext->param.num_hw_modes) in ath11k_wmi_tlv_hw_mode_caps_parse()
4679 svc_rdy_ext->n_hw_mode_caps++; in ath11k_wmi_tlv_hw_mode_caps_parse()
4683 svc_rdy_ext->tot_phy_id++; in ath11k_wmi_tlv_hw_mode_caps_parse()
4693 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_hw_mode_caps() local
4699 svc_rdy_ext->n_hw_mode_caps = 0; in ath11k_wmi_tlv_hw_mode_caps()
4700 svc_rdy_ext->hw_mode_caps = (struct wmi_hw_mode_capabilities *)ptr; in ath11k_wmi_tlv_hw_mode_caps()
4704 svc_rdy_ext); in ath11k_wmi_tlv_hw_mode_caps()
4711 while (i < svc_rdy_ext->n_hw_mode_caps) { in ath11k_wmi_tlv_hw_mode_caps()
4712 hw_mode_caps = &svc_rdy_ext->hw_mode_caps[i]; in ath11k_wmi_tlv_hw_mode_caps()
4717 svc_rdy_ext->pref_hw_mode_caps = *hw_mode_caps; in ath11k_wmi_tlv_hw_mode_caps()
4735 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_mac_phy_caps_parse() local
4740 if (svc_rdy_ext->n_mac_phy_caps >= svc_rdy_ext->tot_phy_id) in ath11k_wmi_tlv_mac_phy_caps_parse()
4744 if (!svc_rdy_ext->n_mac_phy_caps) { in ath11k_wmi_tlv_mac_phy_caps_parse()
4745 svc_rdy_ext->mac_phy_caps = kcalloc(svc_rdy_ext->tot_phy_id, in ath11k_wmi_tlv_mac_phy_caps_parse()
4747 if (!svc_rdy_ext->mac_phy_caps) in ath11k_wmi_tlv_mac_phy_caps_parse()
4751 memcpy(svc_rdy_ext->mac_phy_caps + svc_rdy_ext->n_mac_phy_caps, ptr, len); in ath11k_wmi_tlv_mac_phy_caps_parse()
4752 svc_rdy_ext->n_mac_phy_caps++; in ath11k_wmi_tlv_mac_phy_caps_parse()
4760 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_ext_hal_reg_caps_parse() local
4765 if (svc_rdy_ext->n_ext_hal_reg_caps >= svc_rdy_ext->param.num_phy) in ath11k_wmi_tlv_ext_hal_reg_caps_parse()
4768 svc_rdy_ext->n_ext_hal_reg_caps++; in ath11k_wmi_tlv_ext_hal_reg_caps_parse()
4776 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_ext_hal_reg_caps() local
4781 svc_rdy_ext->n_ext_hal_reg_caps = 0; in ath11k_wmi_tlv_ext_hal_reg_caps()
4782 svc_rdy_ext->ext_hal_reg_caps = (struct wmi_hal_reg_capabilities_ext *)ptr; in ath11k_wmi_tlv_ext_hal_reg_caps()
4785 svc_rdy_ext); in ath11k_wmi_tlv_ext_hal_reg_caps()
4791 for (i = 0; i < svc_rdy_ext->param.num_phy; i++) { in ath11k_wmi_tlv_ext_hal_reg_caps()
4793 svc_rdy_ext->soc_hal_reg_caps, in ath11k_wmi_tlv_ext_hal_reg_caps()
4794 svc_rdy_ext->ext_hal_reg_caps, i, in ath11k_wmi_tlv_ext_hal_reg_caps()
4812 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse() local
4813 u8 hw_mode_id = svc_rdy_ext->pref_hw_mode_caps.hw_mode_id; in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4818 svc_rdy_ext->soc_hal_reg_caps = (struct wmi_soc_hal_reg_capabilities *)ptr; in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4819 svc_rdy_ext->param.num_phy = svc_rdy_ext->soc_hal_reg_caps->num_phy; in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4823 phy_id_map = svc_rdy_ext->pref_hw_mode_caps.phy_id_map; in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4827 svc_rdy_ext->hw_caps, in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4828 svc_rdy_ext->hw_mode_caps, in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4829 svc_rdy_ext->soc_hal_reg_caps, in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4830 svc_rdy_ext->mac_phy_caps, in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4966 struct wmi_tlv_svc_rdy_ext_parse *svc_rdy_ext = data; in ath11k_wmi_tlv_svc_rdy_ext_parse() local
4972 &svc_rdy_ext->param); in ath11k_wmi_tlv_svc_rdy_ext_parse()
4980 svc_rdy_ext->hw_caps = (struct wmi_soc_mac_phy_hw_mode_caps *)ptr; in ath11k_wmi_tlv_svc_rdy_ext_parse()
4981 svc_rdy_ext->param.num_hw_modes = svc_rdy_ext->hw_caps->num_hw_modes; in ath11k_wmi_tlv_svc_rdy_ext_parse()
4986 svc_rdy_ext); in ath11k_wmi_tlv_svc_rdy_ext_parse()
4992 if (!svc_rdy_ext->hw_mode_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
4994 svc_rdy_ext); in ath11k_wmi_tlv_svc_rdy_ext_parse()
4998 svc_rdy_ext->hw_mode_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
4999 } else if (!svc_rdy_ext->mac_phy_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
5000 svc_rdy_ext->n_mac_phy_caps = 0; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5003 svc_rdy_ext); in ath11k_wmi_tlv_svc_rdy_ext_parse()
5009 svc_rdy_ext->mac_phy_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5010 } else if (!svc_rdy_ext->ext_hal_reg_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
5012 svc_rdy_ext); in ath11k_wmi_tlv_svc_rdy_ext_parse()
5016 svc_rdy_ext->ext_hal_reg_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5017 } else if (!svc_rdy_ext->mac_phy_chainmask_combo_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
5018 svc_rdy_ext->mac_phy_chainmask_combo_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5019 } else if (!svc_rdy_ext->mac_phy_chainmask_cap_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
5020 svc_rdy_ext->mac_phy_chainmask_cap_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5021 } else if (!svc_rdy_ext->oem_dma_ring_cap_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
5022 svc_rdy_ext->oem_dma_ring_cap_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5023 } else if (!svc_rdy_ext->dma_ring_cap_done) { in ath11k_wmi_tlv_svc_rdy_ext_parse()
5025 &svc_rdy_ext->dma_caps_parse); in ath11k_wmi_tlv_svc_rdy_ext_parse()
5029 svc_rdy_ext->dma_ring_cap_done = true; in ath11k_wmi_tlv_svc_rdy_ext_parse()
5042 struct wmi_tlv_svc_rdy_ext_parse svc_rdy_ext = { }; in ath11k_service_ready_ext_event() local
5047 &svc_rdy_ext); in ath11k_service_ready_ext_event()
5058 kfree(svc_rdy_ext.mac_phy_caps); in ath11k_service_ready_ext_event()