Lines Matching refs:pub

298 	if (wl->pub) {  in brcms_free()
299 brcms_debugfs_detach(wl->pub); in brcms_free()
300 brcms_c_module_unregister(wl->pub, "linux", wl); in brcms_free()
307 wl->pub = NULL; in brcms_free()
337 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false); in brcms_remove()
338 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_remove()
409 if (!wl->pub->up) { in brcms_ops_tx()
437 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start()
443 if (!wl->pub->up) in brcms_ops_start()
812 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
813 wl->pub->global_ampdu->max_pdu = 16; in brcms_ops_sta_add()
891 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
992 if (wl->pub->up) { in brcms_dpc()
1005 if (!wl->pub->up) in brcms_dpc()
1069 if (wl->pub->_nbands > 1) { in ieee_hw_rate_init()
1160 wl->pub = brcms_c_pub(wl->wlc); in brcms_attach()
1162 wl->pub->ieee_hw = hw; in brcms_attach()
1173 brcms_c_module_register(wl->pub, "linux", wl, NULL); in brcms_attach()
1183 memcpy(perm, &wl->pub->cur_etheraddr, ETH_ALEN); in brcms_attach()
1193 if (wl->pub->srom_ccode[0] && in brcms_attach()
1194 regulatory_hint(wl->wiphy, wl->pub->srom_ccode)) in brcms_attach()
1197 brcms_debugfs_attach(wl->pub); in brcms_attach()
1198 brcms_debugfs_create_files(wl->pub); in brcms_attach()
1273 wl->pub->hw_up = false; in brcms_suspend()
1354 wl->pub->unit); in brcms_init()
1364 brcms_dbg_info(wl->wlc->hw->d11core, "Resetting wl%d\n", wl->pub->unit); in brcms_reset()
1371 wl->pub->up = false; in brcms_reset()
1379 wl->wlc->pub->unit); in brcms_fatal_error()
1381 ieee80211_restart_hw(wl->pub->ieee_hw); in brcms_fatal_error()
1424 if (wl->pub->up) in brcms_up()
1468 ieee80211_queue_delayed_work(t->wl->pub->ieee_hw, in _brcms_timer()
1521 struct ieee80211_hw *hw = t->wl->pub->ieee_hw; in brcms_add_timer()
1728 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1730 wiphy_rfkill_start_polling(wl->pub->ieee_hw->wiphy); in brcms_rfkill_set_hw_state()