Lines Matching refs:wmi_sc
287 struct ath11k_wmi_base *wmi_sc = wmi->wmi_ab; in ath11k_wmi_cmd_send() local
289 struct ath11k_base *ab = wmi_sc->ab; in ath11k_wmi_cmd_send()
294 wait_event_timeout(wmi_sc->tx_credits_wq, ({ in ath11k_wmi_cmd_send()
298 &wmi_sc->ab->dev_flags)) in ath11k_wmi_cmd_send()
308 &wmi_sc->ab->dev_flags)) in ath11k_wmi_cmd_send()
316 ath11k_warn(wmi_sc->ab, "wmi command %d timeout\n", cmd_id); in ath11k_wmi_cmd_send()
319 ath11k_warn(wmi_sc->ab, "ce desc not available for wmi command %d\n", in ath11k_wmi_cmd_send()
604 struct sk_buff *ath11k_wmi_alloc_skb(struct ath11k_wmi_base *wmi_sc, u32 len) in ath11k_wmi_alloc_skb() argument
607 struct ath11k_base *ab = wmi_sc->ab; in ath11k_wmi_alloc_skb()
4178 struct ath11k_wmi_base *wmi_sc = &ab->wmi_ab; in ath11k_wmi_cmd_init() local
4187 memcpy(&wmi_sc->wlan_resource_config, &config, sizeof(config)); in ath11k_wmi_cmd_init()
4189 init_param.res_cfg = &wmi_sc->wlan_resource_config; in ath11k_wmi_cmd_init()
4190 init_param.num_mem_chunks = wmi_sc->num_mem_chunks; in ath11k_wmi_cmd_init()
4191 init_param.hw_mode_id = wmi_sc->preferred_hw_mode; in ath11k_wmi_cmd_init()
4192 init_param.mem_chunks = wmi_sc->mem_chunks; in ath11k_wmi_cmd_init()
4200 return ath11k_init_cmd_send(&wmi_sc->wmi[0], &init_param); in ath11k_wmi_cmd_init()