Lines Matching refs:brcms_hardware
588 static void brcms_b_update_slot_timing(struct brcms_hardware *wlc_hw, in brcms_b_update_slot_timing()
673 static void brcms_c_write_inits(struct brcms_hardware *wlc_hw, in brcms_c_write_inits()
697 static void brcms_c_write_mhf(struct brcms_hardware *wlc_hw, u16 *mhfs) in brcms_c_write_mhf()
709 static void brcms_c_ucode_bsinit(struct brcms_hardware *wlc_hw) in brcms_c_ucode_bsinit()
743 static void brcms_b_core_ioctl(struct brcms_hardware *wlc_hw, u32 m, u32 v) in brcms_b_core_ioctl()
751 static void brcms_b_core_phy_clk(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_core_phy_clk()
776 static void brcms_c_setxband(struct brcms_hardware *wlc_hw, uint bandunit) in brcms_c_setxband()
803 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_setband_inact()
1015 brcms_b_txstatus(struct brcms_hardware *wlc_hw, bool bound, bool *fatal) in brcms_b_txstatus()
1073 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_mhfdef()
1105 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_attach_dmapio()
1180 static void brcms_b_detach_dmapio(struct brcms_hardware *wlc_hw) in brcms_b_detach_dmapio()
1197 static void brcms_b_info_init(struct brcms_hardware *wlc_hw) in brcms_b_info_init()
1216 static void brcms_b_wait_for_wake(struct brcms_hardware *wlc_hw) in brcms_b_wait_for_wake()
1227 static void brcms_b_clkctl_clk(struct brcms_hardware *wlc_hw, enum bcma_clkmode mode) in brcms_b_clkctl_clk()
1313 brcms_b_mhf(struct brcms_hardware *wlc_hw, u8 idx, u16 mask, u16 val, in brcms_b_mhf()
1368 static void brcms_c_mctrl_reset(struct brcms_hardware *wlc_hw) in brcms_c_mctrl_reset()
1382 static void brcms_c_mctrl_write(struct brcms_hardware *wlc_hw) in brcms_c_mctrl_write()
1401 void brcms_b_mctrl(struct brcms_hardware *wlc_hw, u32 mask, u32 val) in brcms_b_mctrl()
1422 void brcms_c_ucode_wake_override_set(struct brcms_hardware *wlc_hw, in brcms_c_ucode_wake_override_set()
1436 void brcms_c_ucode_wake_override_clear(struct brcms_hardware *wlc_hw, in brcms_c_ucode_wake_override_clear()
1454 static void brcms_c_ucode_mute_override_set(struct brcms_hardware *wlc_hw) in brcms_c_ucode_mute_override_set()
1468 static void brcms_c_ucode_mute_override_clear(struct brcms_hardware *wlc_hw) in brcms_c_ucode_mute_override_clear()
1488 brcms_b_set_addrmatch(struct brcms_hardware *wlc_hw, int match_reg_offset, in brcms_b_set_addrmatch()
1511 brcms_b_write_template_ram(struct brcms_hardware *wlc_hw, int offset, int len, in brcms_b_write_template_ram()
1547 static void brcms_b_set_cwmin(struct brcms_hardware *wlc_hw, u16 newmin) in brcms_b_set_cwmin()
1557 static void brcms_b_set_cwmax(struct brcms_hardware *wlc_hw, u16 newmax) in brcms_b_set_cwmax()
1567 void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw) in brcms_b_bw_set()
1586 static void brcms_b_upd_synthpu(struct brcms_hardware *wlc_hw) in brcms_b_upd_synthpu()
1602 static void brcms_c_ucode_txant_set(struct brcms_hardware *wlc_hw) in brcms_c_ucode_txant_set()
1619 static u16 brcms_b_ofdm_ratetable_offset(struct brcms_hardware *wlc_hw, in brcms_b_ofdm_ratetable_offset()
1653 static void brcms_upd_ofdm_pctl1_table(struct brcms_hardware *wlc_hw) in brcms_upd_ofdm_pctl1_table()
1690 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_bsinit()
1726 void brcms_b_core_phypll_reset(struct brcms_hardware *wlc_hw) in brcms_b_core_phypll_reset()
1745 void brcms_b_phyclk_fgc(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_phyclk_fgc()
1758 void brcms_b_macphyclk_set(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_macphyclk_set()
1766 void brcms_b_phy_reset(struct brcms_hardware *wlc_hw) in brcms_b_phy_reset()
1805 static void brcms_b_setband(struct brcms_hardware *wlc_hw, uint bandunit, in brcms_b_setband()
1842 static bool brcms_c_isgoodchip(struct brcms_hardware *wlc_hw) in brcms_c_isgoodchip()
1856 static bool brcms_c_validboardtype(struct brcms_hardware *wlc_hw) in brcms_c_validboardtype()
1884 static void brcms_c_get_macaddr(struct brcms_hardware *wlc_hw, u8 etheraddr[ETH_ALEN]) in brcms_c_get_macaddr()
1901 static void brcms_b_xtal(struct brcms_hardware *wlc_hw, bool want) in brcms_b_xtal()
1926 static bool brcms_b_radio_read_hwdisabled(struct brcms_hardware *wlc_hw) in brcms_b_radio_read_hwdisabled()
1970 static bool wlc_dma_rxreset(struct brcms_hardware *wlc_hw, uint fifo) in wlc_dma_rxreset()
1984 void brcms_b_corereset(struct brcms_hardware *wlc_hw, u32 flags) in brcms_b_corereset()
2065 static void brcms_b_corerev_fifofixup(struct brcms_hardware *wlc_hw) in brcms_b_corerev_fifofixup()
2125 void brcms_b_switch_macfreq(struct brcms_hardware *wlc_hw, u8 spurmode) in brcms_b_switch_macfreq()
2181 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_gpio_init()
2241 static void brcms_ucode_write(struct brcms_hardware *wlc_hw, in brcms_ucode_write()
2260 static void brcms_ucode_download(struct brcms_hardware *wlc_hw) in brcms_ucode_download()
2289 void brcms_b_txant_set(struct brcms_hardware *wlc_hw, u16 phytxant) in brcms_b_txant_set()
2301 u16 brcms_b_get_txant(struct brcms_hardware *wlc_hw) in brcms_b_get_txant()
2306 void brcms_b_antsel_type_set(struct brcms_hardware *wlc_hw, u8 antsel_type) in brcms_b_antsel_type_set()
2314 static void brcms_b_fifoerrors(struct brcms_hardware *wlc_hw) in brcms_b_fifoerrors()
2381 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrson()
2388 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrsoff()
2407 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrsrestore()
2416 static void brcms_b_tx_fifo_suspend(struct brcms_hardware *wlc_hw, in brcms_b_tx_fifo_suspend()
2450 static void brcms_b_tx_fifo_resume(struct brcms_hardware *wlc_hw, in brcms_b_tx_fifo_resume()
2473 static void brcms_b_mute(struct brcms_hardware *wlc_hw, bool mute_tx) in brcms_b_mute()
2522 struct brcms_hardware *wlc_hw = wlc->hw; in wlc_intstatus()
2597 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_isr()
2625 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_suspend_mac_and_wait()
2693 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_enable_mac()
2727 void brcms_b_band_stf_ss_set(struct brcms_hardware *wlc_hw, u8 stf_mode) in brcms_b_band_stf_ss_set()
2735 static bool brcms_b_validate_chip_access(struct brcms_hardware *wlc_hw) in brcms_b_validate_chip_access()
2796 void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on) in brcms_b_core_phypll_ctl()
2849 static void brcms_c_coredisable(struct brcms_hardware *wlc_hw) in brcms_c_coredisable()
2879 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_flushqueues()
2897 brcms_b_read_objmem(struct brcms_hardware *wlc_hw, uint offset, u32 sel) in brcms_b_read_objmem()
2911 brcms_b_write_objmem(struct brcms_hardware *wlc_hw, uint offset, u16 v, in brcms_b_write_objmem()
2929 u16 brcms_b_read_shm(struct brcms_hardware *wlc_hw, uint offset) in brcms_b_read_shm()
2938 void brcms_b_write_shm(struct brcms_hardware *wlc_hw, uint offset, u16 v) in brcms_b_write_shm()
2950 brcms_b_copyto_objmem(struct brcms_hardware *wlc_hw, uint offset, in brcms_b_copyto_objmem()
2973 brcms_b_copyfrom_objmem(struct brcms_hardware *wlc_hw, uint offset, void *buf, in brcms_b_copyfrom_objmem()
3000 static void brcms_b_retrylimit_upd(struct brcms_hardware *wlc_hw, in brcms_b_retrylimit_upd()
3019 static void brcms_b_pllreq(struct brcms_hardware *wlc_hw, bool set, u32 req_bit) in brcms_b_pllreq()
3044 static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail) in brcms_b_antsel_set()
3112 static void brcms_b_reset(struct brcms_hardware *wlc_hw) in brcms_b_reset()
3158 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_coreinit()
3328 static void brcms_b_init(struct brcms_hardware *wlc_hw, u16 chanspec) in brcms_b_init()
3782 static void brcms_b_set_shortslot(struct brcms_hardware *wlc_hw, bool shortslot) in brcms_b_set_shortslot()
3822 brcms_b_set_chanspec(struct brcms_hardware *wlc_hw, u16 chanspec, in brcms_b_set_chanspec()
4189 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_watchdog()
4377 struct brcms_hardware *wlc_hw; in brcms_b_attach()
4810 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_detach()
4877 static void brcms_b_hw_up(struct brcms_hardware *wlc_hw) in brcms_b_hw_up()
4917 static int brcms_b_up_prep(struct brcms_hardware *wlc_hw) in brcms_b_up_prep()
4956 static int brcms_b_up_finish(struct brcms_hardware *wlc_hw) in brcms_b_up_finish()
5079 static int brcms_b_bmac_down_prep(struct brcms_hardware *wlc_hw) in brcms_b_bmac_down_prep()
5105 static int brcms_b_down_finish(struct brcms_hardware *wlc_hw) in brcms_b_down_finish()
5628 u16 brcms_b_rate_shm_offset(struct brcms_hardware *wlc_hw, u8 rate) in brcms_b_rate_shm_offset()
6943 brcms_b_read_tsf(struct brcms_hardware *wlc_hw, u32 *tsf_l_ptr, in brcms_b_read_tsf()
7237 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_beacon_write()
7285 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_update_beacon_hw()
7456 int brcms_b_xmtfifo_sz_get(struct brcms_hardware *wlc_hw, uint fifo, in brcms_b_xmtfifo_sz_get()
7499 void brcms_c_inval_dma_pkts(struct brcms_hardware *hw, in brcms_c_inval_dma_pkts()
7645 brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound) in brcms_b_recv()
7705 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_dpc()