Lines Matching refs:wmi_sc
295 struct ath11k_wmi_base *wmi_sc = wmi->wmi_ab; in ath11k_wmi_cmd_send() local
297 struct ath11k_base *ab = wmi_sc->ab; in ath11k_wmi_cmd_send()
302 wait_event_timeout(wmi_sc->tx_credits_wq, ({ in ath11k_wmi_cmd_send()
306 &wmi_sc->ab->dev_flags)) in ath11k_wmi_cmd_send()
316 &wmi_sc->ab->dev_flags)) in ath11k_wmi_cmd_send()
324 ath11k_warn(wmi_sc->ab, "wmi command %d timeout\n", cmd_id); in ath11k_wmi_cmd_send()
327 ath11k_warn(wmi_sc->ab, "ce desc not available for wmi command %d\n", in ath11k_wmi_cmd_send()
614 struct sk_buff *ath11k_wmi_alloc_skb(struct ath11k_wmi_base *wmi_sc, u32 len) in ath11k_wmi_alloc_skb() argument
617 struct ath11k_base *ab = wmi_sc->ab; in ath11k_wmi_alloc_skb()
4294 struct ath11k_wmi_base *wmi_sc = &ab->wmi_ab; in ath11k_wmi_cmd_init() local
4307 memcpy(&wmi_sc->wlan_resource_config, &config, sizeof(config)); in ath11k_wmi_cmd_init()
4309 init_param.res_cfg = &wmi_sc->wlan_resource_config; in ath11k_wmi_cmd_init()
4310 init_param.num_mem_chunks = wmi_sc->num_mem_chunks; in ath11k_wmi_cmd_init()
4311 init_param.hw_mode_id = wmi_sc->preferred_hw_mode; in ath11k_wmi_cmd_init()
4312 init_param.mem_chunks = wmi_sc->mem_chunks; in ath11k_wmi_cmd_init()
4320 return ath11k_init_cmd_send(&wmi_sc->wmi[0], &init_param); in ath11k_wmi_cmd_init()