Lines Matching refs:brcms_c_info
318 static struct brcms_c_info *wlc_info_dbg = (struct brcms_c_info *) (NULL);
352 static u8 brcms_basic_rate(struct brcms_c_info *wlc, u32 rspec) in brcms_basic_rate()
383 static bool brcms_deviceremoved(struct brcms_c_info *wlc) in brcms_deviceremoved()
395 static int brcms_txpktpendtot(struct brcms_c_info *wlc) in brcms_txpktpendtot()
406 static bool brcms_is_mband_unlocked(struct brcms_c_info *wlc) in brcms_is_mband_unlocked()
430 static void brcms_c_detach_mfree(struct brcms_c_info *wlc) in brcms_c_detach_mfree()
475 static struct brcms_c_info *
478 struct brcms_c_info *wlc; in brcms_c_attach_malloc()
608 static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_time()
801 static u32 brcms_c_setband_inact(struct brcms_c_info *wlc, uint bandunit) in brcms_c_setband_inact()
827 brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs) in brcms_c_dotxstatus()
1059 static void brcms_c_tbtt(struct brcms_c_info *wlc) in brcms_c_tbtt()
1071 brcms_c_mhfdef(struct brcms_c_info *wlc, u16 *mhfs, u16 mhf2_init) in brcms_c_mhfdef()
1097 static bool brcms_b_attach_dmapio(struct brcms_c_info *wlc, uint j, bool wme) in brcms_b_attach_dmapio()
1199 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_info_init()
1589 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_upd_synthpu()
1688 static void brcms_b_bsinit(struct brcms_c_info *wlc, u16 chanspec) in brcms_b_bsinit()
1807 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_setband()
2152 void brcms_c_start_station(struct brcms_c_info *wlc, u8 *addr) in brcms_c_start_station()
2158 void brcms_c_start_ap(struct brcms_c_info *wlc, u8 *addr, const u8 *bssid, in brcms_c_start_ap()
2170 void brcms_c_start_adhoc(struct brcms_c_info *wlc, u8 *addr) in brcms_c_start_adhoc()
2179 static void brcms_c_gpio_init(struct brcms_c_info *wlc) in brcms_c_gpio_init()
2379 void brcms_c_intrson(struct brcms_c_info *wlc) in brcms_c_intrson()
2386 u32 brcms_c_intrsoff(struct brcms_c_info *wlc) in brcms_c_intrsoff()
2405 void brcms_c_intrsrestore(struct brcms_c_info *wlc, u32 macintmask) in brcms_c_intrsrestore()
2507 brcms_c_mute(struct brcms_c_info *wlc, bool mute_tx) in brcms_c_mute()
2520 static inline u32 wlc_intstatus(struct brcms_c_info *wlc, bool in_isr) in wlc_intstatus()
2572 bool brcms_c_intrsupd(struct brcms_c_info *wlc) in brcms_c_intrsupd()
2595 bool brcms_c_isr(struct brcms_c_info *wlc) in brcms_c_isr()
2623 void brcms_c_suspend_mac_and_wait(struct brcms_c_info *wlc) in brcms_c_suspend_mac_and_wait()
2691 void brcms_c_enable_mac(struct brcms_c_info *wlc) in brcms_c_enable_mac()
2877 static void brcms_c_flushqueues(struct brcms_c_info *wlc) in brcms_c_flushqueues()
2994 static void brcms_c_copyto_shm(struct brcms_c_info *wlc, uint offset, in brcms_c_copyto_shm()
3053 static bool brcms_c_ps_allowed(struct brcms_c_info *wlc) in brcms_c_ps_allowed()
3059 static void brcms_c_statsupd(struct brcms_c_info *wlc) in brcms_c_statsupd()
3122 void brcms_c_reset(struct brcms_c_info *wlc) in brcms_c_reset()
3156 static void brcms_b_coreinit(struct brcms_c_info *wlc) in brcms_b_coreinit()
3332 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_init()
3374 static void brcms_c_set_phy_chanspec(struct brcms_c_info *wlc, in brcms_c_set_phy_chanspec()
3391 brcms_default_rateset(struct brcms_c_info *wlc, struct brcms_c_rateset *rs) in brcms_default_rateset()
3401 static void brcms_c_rate_lookup_init(struct brcms_c_info *wlc, in brcms_c_rate_lookup_init()
3495 static void brcms_c_bandinit_ordered(struct brcms_c_info *wlc, in brcms_c_bandinit_ordered()
3544 void brcms_c_mac_promisc(struct brcms_c_info *wlc, uint filter_flags) in brcms_c_mac_promisc()
3572 static void brcms_c_ucode_mac_upd(struct brcms_c_info *wlc) in brcms_c_ucode_mac_upd()
3597 static void brcms_c_write_rate_shm(struct brcms_c_info *wlc, u8 rate, in brcms_c_write_rate_shm()
3632 brcms_c_rateset_get_hwrs(struct brcms_c_info *wlc) in brcms_c_rateset_get_hwrs()
3649 static void brcms_c_set_ratetable(struct brcms_c_info *wlc) in brcms_c_set_ratetable()
3680 static void brcms_c_bsinit(struct brcms_c_info *wlc) in brcms_c_bsinit()
3698 brcms_c_duty_cycle_set(struct brcms_c_info *wlc, int duty_cycle, bool isOFDM, in brcms_c_duty_cycle_set()
3726 static void brcms_c_set_ps_ctrl(struct brcms_c_info *wlc) in brcms_c_set_ps_ctrl()
3756 struct brcms_c_info *wlc = bsscfg->wlc; in brcms_c_set_mac()
3773 void brcms_c_set_ssid(struct brcms_c_info *wlc, u8 *ssid, size_t ssid_len) in brcms_c_set_ssid()
3797 static void brcms_c_switch_shortslot(struct brcms_c_info *wlc, bool shortslot) in brcms_c_switch_shortslot()
3811 static void brcms_c_set_home_chanspec(struct brcms_c_info *wlc, u16 chanspec) in brcms_c_set_home_chanspec()
3867 static void brcms_c_setband(struct brcms_c_info *wlc, in brcms_c_setband()
3882 static void brcms_c_set_chanspec(struct brcms_c_info *wlc, u16 chanspec) in brcms_c_set_chanspec()
3940 void brcms_c_beacon_phytxctl_txant_upd(struct brcms_c_info *wlc, in brcms_c_beacon_phytxctl_txant_upd()
3961 void brcms_c_protection_upd(struct brcms_c_info *wlc, uint idx, int val) in brcms_c_protection_upd()
4010 static void brcms_c_ht_update_sgi_rx(struct brcms_c_info *wlc, int val) in brcms_c_ht_update_sgi_rx()
4018 static void brcms_c_ht_update_ldpc(struct brcms_c_info *wlc, s8 val) in brcms_c_ht_update_ldpc()
4029 void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci, in brcms_c_wme_setparams()
4094 static void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend) in brcms_c_edcf_setparams()
4129 static void brcms_c_radio_monitor_start(struct brcms_c_info *wlc) in brcms_c_radio_monitor_start()
4140 static bool brcms_c_radio_monitor_stop(struct brcms_c_info *wlc) in brcms_c_radio_monitor_stop()
4151 static void brcms_c_radio_hwdisable_upd(struct brcms_c_info *wlc) in brcms_c_radio_hwdisable_upd()
4163 bool brcms_c_check_radio_disabled(struct brcms_c_info *wlc) in brcms_c_check_radio_disabled()
4174 struct brcms_c_info *wlc = (struct brcms_c_info *) arg; in brcms_c_radio_timer()
4187 static void brcms_b_watchdog(struct brcms_c_info *wlc) in brcms_b_watchdog()
4207 static void brcms_c_watchdog(struct brcms_c_info *wlc) in brcms_c_watchdog()
4248 struct brcms_c_info *wlc = (struct brcms_c_info *) arg; in brcms_c_watchdog_by_timer()
4253 static bool brcms_c_timers_init(struct brcms_c_info *wlc, int unit) in brcms_c_timers_init()
4281 static void brcms_c_info_init(struct brcms_c_info *wlc, int unit) in brcms_c_info_init()
4331 static uint brcms_c_attach_module(struct brcms_c_info *wlc) in brcms_c_attach_module()
4363 struct brcms_pub *brcms_c_pub(struct brcms_c_info *wlc) in brcms_c_pub()
4374 static int brcms_b_attach(struct brcms_c_info *wlc, struct bcma_device *core, in brcms_b_attach()
4680 static bool brcms_c_attach_stf_ant_init(struct brcms_c_info *wlc) in brcms_c_attach_stf_ant_init()
4721 static void brcms_c_bss_default_init(struct brcms_c_info *wlc) in brcms_c_bss_default_init()
4753 static void brcms_c_update_mimo_band_bwcap(struct brcms_c_info *wlc, u8 bwcap) in brcms_c_update_mimo_band_bwcap()
4775 static void brcms_c_timers_deinit(struct brcms_c_info *wlc) in brcms_c_timers_deinit()
4788 static void brcms_c_detach_module(struct brcms_c_info *wlc) in brcms_c_detach_module()
4806 static void brcms_b_detach(struct brcms_c_info *wlc) in brcms_b_detach()
4845 uint brcms_c_detach(struct brcms_c_info *wlc) in brcms_c_detach()
4870 static void brcms_c_ap_upd(struct brcms_c_info *wlc) in brcms_c_ap_upd()
4971 static void brcms_c_wme_retries_write(struct brcms_c_info *wlc) in brcms_c_wme_retries_write()
4985 int brcms_c_up(struct brcms_c_info *wlc) in brcms_c_up()
5151 uint brcms_c_down(struct brcms_c_info *wlc) in brcms_c_down()
5203 int brcms_c_set_gmode(struct brcms_c_info *wlc, u8 gmode, bool config) in brcms_c_set_gmode()
5291 int brcms_c_set_nmode(struct brcms_c_info *wlc) in brcms_c_set_nmode()
5319 brcms_c_set_internal_rateset(struct brcms_c_info *wlc, in brcms_c_set_internal_rateset()
5362 static void brcms_c_ofdm_rateset_war(struct brcms_c_info *wlc) in brcms_c_ofdm_rateset_war()
5367 int brcms_c_set_channel(struct brcms_c_info *wlc, u16 channel) in brcms_c_set_channel()
5397 int brcms_c_set_rate_limit(struct brcms_c_info *wlc, u16 srl, u16 lrl) in brcms_c_set_rate_limit()
5421 void brcms_c_get_current_rateset(struct brcms_c_info *wlc, in brcms_c_get_current_rateset()
5436 int brcms_c_set_rateset(struct brcms_c_info *wlc, struct brcm_rateset *rs) in brcms_c_set_rateset()
5468 static void brcms_c_time_lock(struct brcms_c_info *wlc) in brcms_c_time_lock()
5475 static void brcms_c_time_unlock(struct brcms_c_info *wlc) in brcms_c_time_unlock()
5482 int brcms_c_set_beacon_period(struct brcms_c_info *wlc, u16 period) in brcms_c_set_beacon_period()
5501 u16 brcms_c_get_phy_type(struct brcms_c_info *wlc, int phyidx) in brcms_c_get_phy_type()
5506 void brcms_c_set_shortslot_override(struct brcms_c_info *wlc, s8 sslot_override) in brcms_c_set_shortslot_override()
5541 struct brcms_c_info *wlc = (struct brcms_c_info *) pub->wlc; in brcms_c_module_register()
5562 struct brcms_c_info *wlc = (struct brcms_c_info *) pub->wlc; in brcms_c_module_unregister()
5657 bcmc_fid_generate(struct brcms_c_info *wlc, struct brcms_bss_cfg *bsscfg, in bcmc_fid_generate()
5673 brcms_c_calc_ack_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_ack_time()
5692 brcms_c_calc_cts_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_cts_time()
5699 brcms_c_calc_ba_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_ba_time()
5725 brcms_c_compute_frame_dur(struct brcms_c_info *wlc, u32 rate, in brcms_c_compute_frame_dur()
5749 brcms_c_calc_frame_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_len()
5794 static bool brcms_c_valid_rate(struct brcms_c_info *wlc, u32 rspec, int band, in brcms_c_valid_rate()
5828 mac80211_wlc_set_nrate(struct brcms_c_info *wlc, struct brcms_band *cur_band, in mac80211_wlc_set_nrate()
5943 static void brcms_c_cck_plcp_set(struct brcms_c_info *wlc, int rate_500, in brcms_c_cck_plcp_set()
6027 static void brcms_c_compute_cck_plcp(struct brcms_c_info *wlc, u32 rspec, in brcms_c_compute_cck_plcp()
6036 brcms_c_compute_plcp(struct brcms_c_info *wlc, u32 rspec, in brcms_c_compute_plcp()
6059 brcms_c_compute_rtscts_dur(struct brcms_c_info *wlc, bool cts_only, in brcms_c_compute_rtscts_dur()
6093 static u16 brcms_c_phytxctl1_calc(struct brcms_c_info *wlc, u32 rspec) in brcms_c_phytxctl1_calc()
6153 brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw, in brcms_c_d11hdrs_mac80211()
6790 static int brcms_c_tx(struct brcms_c_info *wlc, struct sk_buff *skb) in brcms_c_tx()
6844 bool brcms_c_sendpkt_mac80211(struct brcms_c_info *wlc, struct sk_buff *sdu, in brcms_c_sendpkt_mac80211()
6861 brcms_c_txfifo(struct brcms_c_info *wlc, uint fifo, struct sk_buff *p) in brcms_c_txfifo()
6885 brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec, in brcms_c_rspec_to_rts_rspec()
6932 static void brcms_c_bcn_li_upd(struct brcms_c_info *wlc) in brcms_c_bcn_li_upd()
6967 static u64 brcms_c_recover_tsf64(struct brcms_c_info *wlc, in brcms_c_recover_tsf64()
6992 prep_mac80211_status(struct brcms_c_info *wlc, struct d11rxhdr *rxh, in prep_mac80211_status()
7105 brcms_c_recvctl(struct brcms_c_info *wlc, struct d11rxhdr *rxh, in brcms_c_recvctl()
7138 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_lsig_len()
7180 brcms_c_mod_prb_rsp_rate_table(struct brcms_c_info *wlc, uint frame_len) in brcms_c_mod_prb_rsp_rate_table()
7231 static void brcms_c_beacon_write(struct brcms_c_info *wlc, in brcms_c_beacon_write()
7281 static void brcms_c_update_beacon_hw(struct brcms_c_info *wlc, in brcms_c_update_beacon_hw()
7333 void brcms_c_update_beacon(struct brcms_c_info *wlc) in brcms_c_update_beacon()
7349 void brcms_c_set_new_beacon(struct brcms_c_info *wlc, struct sk_buff *beacon, in brcms_c_set_new_beacon()
7365 void brcms_c_set_new_probe_resp(struct brcms_c_info *wlc, in brcms_c_set_new_probe_resp()
7379 void brcms_c_enable_probe_resp(struct brcms_c_info *wlc, bool enable) in brcms_c_enable_probe_resp()
7392 brcms_c_shm_ssid_upd(struct brcms_c_info *wlc, struct brcms_bss_cfg *cfg) in brcms_c_shm_ssid_upd()
7407 brcms_c_bss_update_probe_resp(struct brcms_c_info *wlc, in brcms_c_bss_update_probe_resp()
7442 void brcms_c_update_probe_resp(struct brcms_c_info *wlc, bool suspend) in brcms_c_update_probe_resp()
7468 brcms_c_set_addrmatch(struct brcms_c_info *wlc, int match_reg_offset, in brcms_c_set_addrmatch()
7479 void brcms_c_scan_start(struct brcms_c_info *wlc) in brcms_c_scan_start()
7484 void brcms_c_scan_stop(struct brcms_c_info *wlc) in brcms_c_scan_stop()
7489 void brcms_c_associate_upd(struct brcms_c_info *wlc, bool state) in brcms_c_associate_upd()
7512 int brcms_c_get_curband(struct brcms_c_info *wlc) in brcms_c_get_curband()
7517 bool brcms_c_tx_flush_completed(struct brcms_c_info *wlc) in brcms_c_tx_flush_completed()
7529 void brcms_c_set_beacon_listen_interval(struct brcms_c_info *wlc, u8 interval) in brcms_c_set_beacon_listen_interval()
7536 u64 brcms_c_tsf_get(struct brcms_c_info *wlc) in brcms_c_tsf_get()
7550 void brcms_c_tsf_set(struct brcms_c_info *wlc, u64 tsf) in brcms_c_tsf_set()
7566 int brcms_c_set_tx_power(struct brcms_c_info *wlc, int txpwr) in brcms_c_set_tx_power()
7575 int brcms_c_get_tx_power(struct brcms_c_info *wlc) in brcms_c_get_tx_power()
7591 static void brcms_c_recv(struct brcms_c_info *wlc, struct sk_buff *p) in brcms_c_recv()
7702 bool brcms_c_dpc(struct brcms_c_info *wlc, bool bounded) in brcms_c_dpc()
7789 void brcms_c_init(struct brcms_c_info *wlc, bool mute_tx) in brcms_c_init()
7891 struct brcms_c_info *
7895 struct brcms_c_info *wlc; in brcms_c_attach()