Lines Matching refs:brcms_hardware

502 	wlc->hw = kzalloc(sizeof(struct brcms_hardware), GFP_ATOMIC);  in brcms_c_attach_malloc()
595 static void brcms_b_update_slot_timing(struct brcms_hardware *wlc_hw, in brcms_b_update_slot_timing()
680 static void brcms_c_write_inits(struct brcms_hardware *wlc_hw, in brcms_c_write_inits()
704 static void brcms_c_write_mhf(struct brcms_hardware *wlc_hw, u16 *mhfs) in brcms_c_write_mhf()
716 static void brcms_c_ucode_bsinit(struct brcms_hardware *wlc_hw) in brcms_c_ucode_bsinit()
750 static void brcms_b_core_ioctl(struct brcms_hardware *wlc_hw, u32 m, u32 v) in brcms_b_core_ioctl()
758 static void brcms_b_core_phy_clk(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_core_phy_clk()
783 static void brcms_c_setxband(struct brcms_hardware *wlc_hw, uint bandunit) in brcms_c_setxband()
810 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_setband_inact()
1022 brcms_b_txstatus(struct brcms_hardware *wlc_hw, bool bound, bool *fatal) in brcms_b_txstatus()
1080 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_mhfdef()
1112 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_attach_dmapio()
1187 static void brcms_b_detach_dmapio(struct brcms_hardware *wlc_hw) in brcms_b_detach_dmapio()
1204 static void brcms_b_info_init(struct brcms_hardware *wlc_hw) in brcms_b_info_init()
1223 static void brcms_b_wait_for_wake(struct brcms_hardware *wlc_hw) in brcms_b_wait_for_wake()
1234 static void brcms_b_clkctl_clk(struct brcms_hardware *wlc_hw, enum bcma_clkmode mode) in brcms_b_clkctl_clk()
1320 brcms_b_mhf(struct brcms_hardware *wlc_hw, u8 idx, u16 mask, u16 val, in brcms_b_mhf()
1375 static void brcms_c_mctrl_reset(struct brcms_hardware *wlc_hw) in brcms_c_mctrl_reset()
1389 static void brcms_c_mctrl_write(struct brcms_hardware *wlc_hw) in brcms_c_mctrl_write()
1408 void brcms_b_mctrl(struct brcms_hardware *wlc_hw, u32 mask, u32 val) in brcms_b_mctrl()
1429 void brcms_c_ucode_wake_override_set(struct brcms_hardware *wlc_hw, in brcms_c_ucode_wake_override_set()
1443 void brcms_c_ucode_wake_override_clear(struct brcms_hardware *wlc_hw, in brcms_c_ucode_wake_override_clear()
1461 static void brcms_c_ucode_mute_override_set(struct brcms_hardware *wlc_hw) in brcms_c_ucode_mute_override_set()
1475 static void brcms_c_ucode_mute_override_clear(struct brcms_hardware *wlc_hw) in brcms_c_ucode_mute_override_clear()
1495 brcms_b_set_addrmatch(struct brcms_hardware *wlc_hw, int match_reg_offset, in brcms_b_set_addrmatch()
1518 brcms_b_write_template_ram(struct brcms_hardware *wlc_hw, int offset, int len, in brcms_b_write_template_ram()
1554 static void brcms_b_set_cwmin(struct brcms_hardware *wlc_hw, u16 newmin) in brcms_b_set_cwmin()
1564 static void brcms_b_set_cwmax(struct brcms_hardware *wlc_hw, u16 newmax) in brcms_b_set_cwmax()
1574 void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw) in brcms_b_bw_set()
1593 static void brcms_b_upd_synthpu(struct brcms_hardware *wlc_hw) in brcms_b_upd_synthpu()
1609 static void brcms_c_ucode_txant_set(struct brcms_hardware *wlc_hw) in brcms_c_ucode_txant_set()
1626 static u16 brcms_b_ofdm_ratetable_offset(struct brcms_hardware *wlc_hw, in brcms_b_ofdm_ratetable_offset()
1660 static void brcms_upd_ofdm_pctl1_table(struct brcms_hardware *wlc_hw) in brcms_upd_ofdm_pctl1_table()
1697 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_bsinit()
1733 void brcms_b_core_phypll_reset(struct brcms_hardware *wlc_hw) in brcms_b_core_phypll_reset()
1752 void brcms_b_phyclk_fgc(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_phyclk_fgc()
1765 void brcms_b_macphyclk_set(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_macphyclk_set()
1773 void brcms_b_phy_reset(struct brcms_hardware *wlc_hw) in brcms_b_phy_reset()
1812 static void brcms_b_setband(struct brcms_hardware *wlc_hw, uint bandunit, in brcms_b_setband()
1849 static bool brcms_c_isgoodchip(struct brcms_hardware *wlc_hw) in brcms_c_isgoodchip()
1863 static bool brcms_c_validboardtype(struct brcms_hardware *wlc_hw) in brcms_c_validboardtype()
1891 static void brcms_c_get_macaddr(struct brcms_hardware *wlc_hw, u8 etheraddr[ETH_ALEN]) in brcms_c_get_macaddr()
1908 static void brcms_b_xtal(struct brcms_hardware *wlc_hw, bool want) in brcms_b_xtal()
1933 static bool brcms_b_radio_read_hwdisabled(struct brcms_hardware *wlc_hw) in brcms_b_radio_read_hwdisabled()
1977 static bool wlc_dma_rxreset(struct brcms_hardware *wlc_hw, uint fifo) in wlc_dma_rxreset()
1991 void brcms_b_corereset(struct brcms_hardware *wlc_hw, u32 flags) in brcms_b_corereset()
2072 static void brcms_b_corerev_fifofixup(struct brcms_hardware *wlc_hw) in brcms_b_corerev_fifofixup()
2132 void brcms_b_switch_macfreq(struct brcms_hardware *wlc_hw, u8 spurmode) in brcms_b_switch_macfreq()
2188 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_gpio_init()
2248 static void brcms_ucode_write(struct brcms_hardware *wlc_hw, in brcms_ucode_write()
2267 static void brcms_ucode_download(struct brcms_hardware *wlc_hw) in brcms_ucode_download()
2296 void brcms_b_txant_set(struct brcms_hardware *wlc_hw, u16 phytxant) in brcms_b_txant_set()
2308 u16 brcms_b_get_txant(struct brcms_hardware *wlc_hw) in brcms_b_get_txant()
2313 void brcms_b_antsel_type_set(struct brcms_hardware *wlc_hw, u8 antsel_type) in brcms_b_antsel_type_set()
2321 static void brcms_b_fifoerrors(struct brcms_hardware *wlc_hw) in brcms_b_fifoerrors()
2388 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrson()
2395 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrsoff()
2414 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrsrestore()
2423 static void brcms_b_tx_fifo_suspend(struct brcms_hardware *wlc_hw, in brcms_b_tx_fifo_suspend()
2457 static void brcms_b_tx_fifo_resume(struct brcms_hardware *wlc_hw, in brcms_b_tx_fifo_resume()
2480 static void brcms_b_mute(struct brcms_hardware *wlc_hw, bool mute_tx) in brcms_b_mute()
2529 struct brcms_hardware *wlc_hw = wlc->hw; in wlc_intstatus()
2604 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_isr()
2632 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_suspend_mac_and_wait()
2700 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_enable_mac()
2734 void brcms_b_band_stf_ss_set(struct brcms_hardware *wlc_hw, u8 stf_mode) in brcms_b_band_stf_ss_set()
2742 static bool brcms_b_validate_chip_access(struct brcms_hardware *wlc_hw) in brcms_b_validate_chip_access()
2803 void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on) in brcms_b_core_phypll_ctl()
2856 static void brcms_c_coredisable(struct brcms_hardware *wlc_hw) in brcms_c_coredisable()
2886 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_flushqueues()
2904 brcms_b_read_objmem(struct brcms_hardware *wlc_hw, uint offset, u32 sel) in brcms_b_read_objmem()
2918 brcms_b_write_objmem(struct brcms_hardware *wlc_hw, uint offset, u16 v, in brcms_b_write_objmem()
2936 u16 brcms_b_read_shm(struct brcms_hardware *wlc_hw, uint offset) in brcms_b_read_shm()
2945 void brcms_b_write_shm(struct brcms_hardware *wlc_hw, uint offset, u16 v) in brcms_b_write_shm()
2957 brcms_b_copyto_objmem(struct brcms_hardware *wlc_hw, uint offset, in brcms_b_copyto_objmem()
2980 brcms_b_copyfrom_objmem(struct brcms_hardware *wlc_hw, uint offset, void *buf, in brcms_b_copyfrom_objmem()
3007 static void brcms_b_retrylimit_upd(struct brcms_hardware *wlc_hw, in brcms_b_retrylimit_upd()
3026 static void brcms_b_pllreq(struct brcms_hardware *wlc_hw, bool set, u32 req_bit) in brcms_b_pllreq()
3051 static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail) in brcms_b_antsel_set()
3119 static void brcms_b_reset(struct brcms_hardware *wlc_hw) in brcms_b_reset()
3167 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_coreinit()
3337 static void brcms_b_init(struct brcms_hardware *wlc_hw, u16 chanspec) in brcms_b_init()
3791 static void brcms_b_set_shortslot(struct brcms_hardware *wlc_hw, bool shortslot) in brcms_b_set_shortslot()
3831 brcms_b_set_chanspec(struct brcms_hardware *wlc_hw, u16 chanspec, in brcms_b_set_chanspec()
4198 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_watchdog()
4386 struct brcms_hardware *wlc_hw; in brcms_b_attach()
4819 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_detach()
4886 static void brcms_b_hw_up(struct brcms_hardware *wlc_hw) in brcms_b_hw_up()
4926 static int brcms_b_up_prep(struct brcms_hardware *wlc_hw) in brcms_b_up_prep()
4965 static int brcms_b_up_finish(struct brcms_hardware *wlc_hw) in brcms_b_up_finish()
5088 static int brcms_b_bmac_down_prep(struct brcms_hardware *wlc_hw) in brcms_b_bmac_down_prep()
5114 static int brcms_b_down_finish(struct brcms_hardware *wlc_hw) in brcms_b_down_finish()
5637 u16 brcms_b_rate_shm_offset(struct brcms_hardware *wlc_hw, u8 rate) in brcms_b_rate_shm_offset()
6952 brcms_b_read_tsf(struct brcms_hardware *wlc_hw, u32 *tsf_l_ptr, in brcms_b_read_tsf()
7246 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_beacon_write()
7294 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_update_beacon_hw()
7465 int brcms_b_xmtfifo_sz_get(struct brcms_hardware *wlc_hw, uint fifo, in brcms_b_xmtfifo_sz_get()
7508 void brcms_c_inval_dma_pkts(struct brcms_hardware *hw, in brcms_c_inval_dma_pkts()
7654 brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound) in brcms_b_recv()
7714 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_dpc()