Lines Matching refs:cfg
94 struct brcmf_cfg80211_info *cfg; member
152 struct brcmf_if *ifp = btci->cfg->pub->iflist[0]; in brcmf_btcoex_boost_wifi()
371 int brcmf_btcoex_attach(struct brcmf_cfg80211_info *cfg) in brcmf_btcoex_attach() argument
388 btci->cfg = cfg; in brcmf_btcoex_attach()
394 cfg->btcoex = btci; in brcmf_btcoex_attach()
402 void brcmf_btcoex_detach(struct brcmf_cfg80211_info *cfg) in brcmf_btcoex_detach() argument
406 if (!cfg->btcoex) in brcmf_btcoex_detach()
409 if (cfg->btcoex->timer_on) { in brcmf_btcoex_detach()
410 cfg->btcoex->timer_on = false; in brcmf_btcoex_detach()
411 del_timer_sync(&cfg->btcoex->timer); in brcmf_btcoex_detach()
414 cancel_work_sync(&cfg->btcoex->work); in brcmf_btcoex_detach()
416 brcmf_btcoex_boost_wifi(cfg->btcoex, false); in brcmf_btcoex_detach()
417 brcmf_btcoex_restore_part1(cfg->btcoex); in brcmf_btcoex_detach()
419 kfree(cfg->btcoex); in brcmf_btcoex_detach()
420 cfg->btcoex = NULL; in brcmf_btcoex_detach()
469 struct brcmf_cfg80211_info *cfg = wiphy_priv(vif->wdev.wiphy); in brcmf_btcoex_set_mode() local
470 struct brcmf_btcoex_info *btci = cfg->btcoex; in brcmf_btcoex_set_mode()
471 struct brcmf_if *ifp = cfg->pub->iflist[0]; in brcmf_btcoex_set_mode()