Lines Matching defs:wlc_hw
585 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()
741 static void brcms_b_core_ioctl(struct brcms_hardware *wlc_hw, u32 m, u32 v) in brcms_b_core_ioctl()
749 static void brcms_b_core_phy_clk(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_core_phy_clk()
774 static void brcms_c_setxband(struct brcms_hardware *wlc_hw, uint bandunit) in brcms_c_setxband()
801 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_setband_inact() local
995 brcms_b_txstatus(struct brcms_hardware *wlc_hw, bool bound, bool *fatal) in brcms_b_txstatus()
1065 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_mhfdef() local
1097 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_attach_dmapio() local
1174 static void brcms_b_detach_dmapio(struct brcms_hardware *wlc_hw) in brcms_b_detach_dmapio()
1191 static void brcms_b_info_init(struct brcms_hardware *wlc_hw) in brcms_b_info_init()
1210 static void brcms_b_wait_for_wake(struct brcms_hardware *wlc_hw) in brcms_b_wait_for_wake()
1221 static void brcms_b_clkctl_clk(struct brcms_hardware *wlc_hw, uint mode) in brcms_b_clkctl_clk()
1307 brcms_b_mhf(struct brcms_hardware *wlc_hw, u8 idx, u16 mask, u16 val, in brcms_b_mhf()
1362 static void brcms_c_mctrl_reset(struct brcms_hardware *wlc_hw) in brcms_c_mctrl_reset()
1376 static void brcms_c_mctrl_write(struct brcms_hardware *wlc_hw) in brcms_c_mctrl_write()
1395 void brcms_b_mctrl(struct brcms_hardware *wlc_hw, u32 mask, u32 val) in brcms_b_mctrl()
1416 void brcms_c_ucode_wake_override_set(struct brcms_hardware *wlc_hw, in brcms_c_ucode_wake_override_set()
1430 void brcms_c_ucode_wake_override_clear(struct brcms_hardware *wlc_hw, in brcms_c_ucode_wake_override_clear()
1448 static void brcms_c_ucode_mute_override_set(struct brcms_hardware *wlc_hw) in brcms_c_ucode_mute_override_set()
1462 static void brcms_c_ucode_mute_override_clear(struct brcms_hardware *wlc_hw) in brcms_c_ucode_mute_override_clear()
1482 brcms_b_set_addrmatch(struct brcms_hardware *wlc_hw, int match_reg_offset, in brcms_b_set_addrmatch()
1506 brcms_b_write_template_ram(struct brcms_hardware *wlc_hw, int offset, int len, in brcms_b_write_template_ram()
1542 static void brcms_b_set_cwmin(struct brcms_hardware *wlc_hw, u16 newmin) in brcms_b_set_cwmin()
1552 static void brcms_b_set_cwmax(struct brcms_hardware *wlc_hw, u16 newmax) in brcms_b_set_cwmax()
1562 void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw) in brcms_b_bw_set()
1581 static void brcms_b_upd_synthpu(struct brcms_hardware *wlc_hw) in brcms_b_upd_synthpu()
1597 static void brcms_c_ucode_txant_set(struct brcms_hardware *wlc_hw) in brcms_c_ucode_txant_set()
1614 static u16 brcms_b_ofdm_ratetable_offset(struct brcms_hardware *wlc_hw, in brcms_b_ofdm_ratetable_offset()
1648 static void brcms_upd_ofdm_pctl1_table(struct brcms_hardware *wlc_hw) in brcms_upd_ofdm_pctl1_table()
1685 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_bsinit() local
1721 void brcms_b_core_phypll_reset(struct brcms_hardware *wlc_hw) in brcms_b_core_phypll_reset()
1742 void brcms_b_phyclk_fgc(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_phyclk_fgc()
1755 void brcms_b_macphyclk_set(struct brcms_hardware *wlc_hw, bool clk) in brcms_b_macphyclk_set()
1763 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 char *brcms_c_get_macaddr(struct brcms_hardware *wlc_hw) in brcms_c_get_macaddr()
1908 static void brcms_b_xtal(struct brcms_hardware *wlc_hw, bool want) in brcms_b_xtal()
1936 static bool brcms_b_radio_read_hwdisabled(struct brcms_hardware *wlc_hw) in brcms_b_radio_read_hwdisabled()
1979 static bool wlc_dma_rxreset(struct brcms_hardware *wlc_hw, uint fifo) in wlc_dma_rxreset()
1993 void brcms_b_corereset(struct brcms_hardware *wlc_hw, u32 flags) in brcms_b_corereset()
2073 static void brcms_b_corerev_fifofixup(struct brcms_hardware *wlc_hw) in brcms_b_corerev_fifofixup()
2133 void brcms_b_switch_macfreq(struct brcms_hardware *wlc_hw, u8 spurmode) in brcms_b_switch_macfreq()
2163 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_gpio_init() local
2223 static void brcms_ucode_write(struct brcms_hardware *wlc_hw, in brcms_ucode_write()
2242 static void brcms_ucode_download(struct brcms_hardware *wlc_hw) in brcms_ucode_download()
2274 void brcms_b_txant_set(struct brcms_hardware *wlc_hw, u16 phytxant) in brcms_b_txant_set()
2286 u16 brcms_b_get_txant(struct brcms_hardware *wlc_hw) in brcms_b_get_txant()
2291 void brcms_b_antsel_type_set(struct brcms_hardware *wlc_hw, u8 antsel_type) in brcms_b_antsel_type_set()
2299 static void brcms_b_fifoerrors(struct brcms_hardware *wlc_hw) in brcms_b_fifoerrors()
2367 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrson() local
2374 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrsoff() local
2393 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_intrsrestore() local
2402 static void brcms_b_tx_fifo_suspend(struct brcms_hardware *wlc_hw, in brcms_b_tx_fifo_suspend()
2436 static void brcms_b_tx_fifo_resume(struct brcms_hardware *wlc_hw, in brcms_b_tx_fifo_resume()
2459 static void brcms_b_mute(struct brcms_hardware *wlc_hw, bool mute_tx) in brcms_b_mute()
2509 struct brcms_hardware *wlc_hw = wlc->hw; in wlc_intstatus() local
2588 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_isr() local
2618 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_suspend_mac_and_wait() local
2687 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_enable_mac() local
2721 void brcms_b_band_stf_ss_set(struct brcms_hardware *wlc_hw, u8 stf_mode) in brcms_b_band_stf_ss_set()
2729 static bool brcms_b_validate_chip_access(struct brcms_hardware *wlc_hw) in brcms_b_validate_chip_access()
2792 void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on) in brcms_b_core_phypll_ctl()
2845 static void brcms_c_coredisable(struct brcms_hardware *wlc_hw) in brcms_c_coredisable()
2875 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_flushqueues() local
2891 brcms_b_read_objmem(struct brcms_hardware *wlc_hw, uint offset, u32 sel) in brcms_b_read_objmem()
2906 brcms_b_write_objmem(struct brcms_hardware *wlc_hw, uint offset, u16 v, in brcms_b_write_objmem()
2924 u16 brcms_b_read_shm(struct brcms_hardware *wlc_hw, uint offset) in brcms_b_read_shm()
2933 void brcms_b_write_shm(struct brcms_hardware *wlc_hw, uint offset, u16 v) in brcms_b_write_shm()
2945 brcms_b_copyto_objmem(struct brcms_hardware *wlc_hw, uint offset, in brcms_b_copyto_objmem()
2968 brcms_b_copyfrom_objmem(struct brcms_hardware *wlc_hw, uint offset, void *buf, in brcms_b_copyfrom_objmem()
2995 static void brcms_b_retrylimit_upd(struct brcms_hardware *wlc_hw, in brcms_b_retrylimit_upd()
3014 static void brcms_b_pllreq(struct brcms_hardware *wlc_hw, bool set, u32 req_bit) in brcms_b_pllreq()
3039 static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail) in brcms_b_antsel_set()
3126 static void brcms_b_reset(struct brcms_hardware *wlc_hw) in brcms_b_reset()
3191 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_coreinit() local
3364 static brcms_b_init(struct brcms_hardware *wlc_hw, u16 chanspec) { in brcms_b_init()
3846 static void brcms_b_set_shortslot(struct brcms_hardware *wlc_hw, bool shortslot) in brcms_b_set_shortslot()
3886 brcms_b_set_chanspec(struct brcms_hardware *wlc_hw, u16 chanspec, in brcms_b_set_chanspec()
4247 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_watchdog() local
4438 struct brcms_hardware *wlc_hw; in brcms_b_attach() local
4950 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_b_detach() local
5037 static void brcms_b_hw_up(struct brcms_hardware *wlc_hw) in brcms_b_hw_up()
5079 static int brcms_b_up_prep(struct brcms_hardware *wlc_hw) in brcms_b_up_prep()
5121 static int brcms_b_up_finish(struct brcms_hardware *wlc_hw) in brcms_b_up_finish()
5250 static int brcms_b_bmac_down_prep(struct brcms_hardware *wlc_hw) in brcms_b_bmac_down_prep()
5278 static int brcms_b_down_finish(struct brcms_hardware *wlc_hw) in brcms_b_down_finish()
6021 u16 brcms_b_rate_shm_offset(struct brcms_hardware *wlc_hw, u8 rate) in brcms_b_rate_shm_offset()
7459 brcms_b_read_tsf(struct brcms_hardware *wlc_hw, u32 *tsf_l_ptr, in brcms_b_read_tsf()
7920 int brcms_b_xmtfifo_sz_get(struct brcms_hardware *wlc_hw, uint fifo, in brcms_b_xmtfifo_sz_get()
8088 brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound) in brcms_b_recv()
8146 struct brcms_hardware *wlc_hw = wlc->hw; in brcms_c_dpc() local