Lines Matching refs:pub

300 	if (wl->pub) {  in brcms_free()
301 brcms_debugfs_detach(wl->pub); in brcms_free()
302 brcms_c_module_unregister(wl->pub, "linux", wl); in brcms_free()
309 wl->pub = NULL; in brcms_free()
339 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false); in brcms_remove()
340 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_remove()
411 if (!wl->pub->up) { in brcms_ops_tx()
439 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start()
445 if (!wl->pub->up) in brcms_ops_start()
807 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
808 wl->pub->global_ampdu->scb = scb; in brcms_ops_sta_add()
809 wl->pub->global_ampdu->max_pdu = 16; in brcms_ops_sta_add()
887 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
967 if (wl->pub->up) { in brcms_dpc()
980 if (!wl->pub->up) in brcms_dpc()
1045 if (wl->pub->_nbands > 1) { in ieee_hw_rate_init()
1135 wl->pub = brcms_c_pub(wl->wlc); in brcms_attach()
1137 wl->pub->ieee_hw = hw; in brcms_attach()
1148 brcms_c_module_register(wl->pub, "linux", wl, NULL); in brcms_attach()
1158 memcpy(perm, &wl->pub->cur_etheraddr, ETH_ALEN); in brcms_attach()
1168 if (wl->pub->srom_ccode[0] && in brcms_attach()
1169 regulatory_hint(wl->wiphy, wl->pub->srom_ccode)) in brcms_attach()
1172 brcms_debugfs_attach(wl->pub); in brcms_attach()
1173 brcms_debugfs_create_files(wl->pub); in brcms_attach()
1242 wl->pub->hw_up = false; in brcms_suspend()
1323 wl->pub->unit); in brcms_init()
1333 brcms_dbg_info(wl->wlc->hw->d11core, "Resetting wl%d\n", wl->pub->unit); in brcms_reset()
1340 wl->pub->up = false; in brcms_reset()
1348 wl->wlc->pub->unit); in brcms_fatal_error()
1350 ieee80211_restart_hw(wl->pub->ieee_hw); in brcms_fatal_error()
1393 if (wl->pub->up) in brcms_up()
1436 ieee80211_queue_delayed_work(t->wl->pub->ieee_hw, in _brcms_timer()
1489 struct ieee80211_hw *hw = t->wl->pub->ieee_hw; in brcms_add_timer()
1695 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1697 wiphy_rfkill_start_polling(wl->pub->ieee_hw->wiphy); in brcms_rfkill_set_hw_state()