Lines Matching refs:pub
301 if (wl->pub) { in brcms_free()
302 brcms_debugfs_detach(wl->pub); in brcms_free()
303 brcms_c_module_unregister(wl->pub, "linux", wl); in brcms_free()
310 wl->pub = NULL; in brcms_free()
340 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false); in brcms_remove()
341 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_remove()
412 if (!wl->pub->up) { in brcms_ops_tx()
440 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start()
446 if (!wl->pub->up) in brcms_ops_start()
810 wl->pub->global_ampdu = &(scb->scb_ampdu); in brcms_ops_sta_add()
811 wl->pub->global_ampdu->scb = scb; in brcms_ops_sta_add()
812 wl->pub->global_ampdu->max_pdu = 16; in brcms_ops_sta_add()
890 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
970 if (wl->pub->up) { in brcms_dpc()
983 if (!wl->pub->up) in brcms_dpc()
1048 if (wl->pub->_nbands > 1) { in ieee_hw_rate_init()
1139 wl->pub = brcms_c_pub(wl->wlc); in brcms_attach()
1141 wl->pub->ieee_hw = hw; in brcms_attach()
1152 brcms_c_module_register(wl->pub, "linux", wl, NULL); in brcms_attach()
1162 memcpy(perm, &wl->pub->cur_etheraddr, ETH_ALEN); in brcms_attach()
1172 if (wl->pub->srom_ccode[0] && in brcms_attach()
1173 regulatory_hint(wl->wiphy, wl->pub->srom_ccode)) in brcms_attach()
1176 brcms_debugfs_attach(wl->pub); in brcms_attach()
1177 brcms_debugfs_create_files(wl->pub); in brcms_attach()
1246 wl->pub->hw_up = false; in brcms_suspend()
1327 wl->pub->unit); in brcms_init()
1337 brcms_dbg_info(wl->wlc->hw->d11core, "Resetting wl%d\n", wl->pub->unit); in brcms_reset()
1344 wl->pub->up = false; in brcms_reset()
1352 wl->wlc->pub->unit); in brcms_fatal_error()
1354 ieee80211_restart_hw(wl->pub->ieee_hw); in brcms_fatal_error()
1397 if (wl->pub->up) in brcms_up()
1440 ieee80211_queue_delayed_work(t->wl->pub->ieee_hw, in _brcms_timer()
1495 struct ieee80211_hw *hw = t->wl->pub->ieee_hw; in brcms_add_timer()
1701 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1703 wiphy_rfkill_start_polling(wl->pub->ieee_hw->wiphy); in brcms_rfkill_set_hw_state()