Lines Matching full:pub
33 #include "pub.h"
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()
811 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
812 wl->pub->global_ampdu->scb = scb; in brcms_ops_sta_add()
813 wl->pub->global_ampdu->max_pdu = 16; in brcms_ops_sta_add()
892 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()
1070 if (wl->pub->_nbands > 1) { in ieee_hw_rate_init()
1162 wl->pub = brcms_c_pub(wl->wlc); in brcms_attach()
1164 wl->pub->ieee_hw = hw; in brcms_attach()
1175 brcms_c_module_register(wl->pub, "linux", wl, NULL); in brcms_attach()
1185 memcpy(perm, &wl->pub->cur_etheraddr, ETH_ALEN); in brcms_attach()
1195 if (wl->pub->srom_ccode[0] && in brcms_attach()
1196 regulatory_hint(wl->wiphy, wl->pub->srom_ccode)) in brcms_attach()
1199 brcms_debugfs_attach(wl->pub); in brcms_attach()
1200 brcms_debugfs_create_files(wl->pub); in brcms_attach()
1275 wl->pub->hw_up = false; in brcms_suspend()
1356 wl->pub->unit); in brcms_init()
1366 brcms_dbg_info(wl->wlc->hw->d11core, "Resetting wl%d\n", wl->pub->unit); in brcms_reset()
1373 wl->pub->up = false; in brcms_reset()
1381 wl->wlc->pub->unit); in brcms_fatal_error()
1383 ieee80211_restart_hw(wl->pub->ieee_hw); in brcms_fatal_error()
1426 if (wl->pub->up) in brcms_up()
1470 ieee80211_queue_delayed_work(t->wl->pub->ieee_hw, in _brcms_timer()
1523 struct ieee80211_hw *hw = t->wl->pub->ieee_hw; in brcms_add_timer()
1730 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1732 wiphy_rfkill_start_polling(wl->pub->ieee_hw->wiphy); in brcms_rfkill_set_hw_state()