brcms_hardware
struct brcms_hardware *hw = drvr->wlc->hw;
brcms_b_txstatus(struct brcms_hardware *wlc_hw, bool bound, bool *fatal)
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_b_detach_dmapio(struct brcms_hardware *wlc_hw)
static void brcms_b_info_init(struct brcms_hardware *wlc_hw)
static void brcms_b_wait_for_wake(struct brcms_hardware *wlc_hw)
static void brcms_b_clkctl_clk(struct brcms_hardware *wlc_hw, enum bcma_clkmode mode)
brcms_b_mhf(struct brcms_hardware *wlc_hw, u8 idx, u16 mask, u16 val,
static void brcms_c_mctrl_reset(struct brcms_hardware *wlc_hw)
static void brcms_c_mctrl_write(struct brcms_hardware *wlc_hw)
void brcms_b_mctrl(struct brcms_hardware *wlc_hw, u32 mask, u32 val)
void brcms_c_ucode_wake_override_set(struct brcms_hardware *wlc_hw,
void brcms_c_ucode_wake_override_clear(struct brcms_hardware *wlc_hw,
static void brcms_c_ucode_mute_override_set(struct brcms_hardware *wlc_hw)
static void brcms_c_ucode_mute_override_clear(struct brcms_hardware *wlc_hw)
brcms_b_set_addrmatch(struct brcms_hardware *wlc_hw, int match_reg_offset,
brcms_b_write_template_ram(struct brcms_hardware *wlc_hw, int offset, int len,
static void brcms_b_set_cwmin(struct brcms_hardware *wlc_hw, u16 newmin)
static void brcms_b_set_cwmax(struct brcms_hardware *wlc_hw, u16 newmax)
void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw)
static void brcms_b_upd_synthpu(struct brcms_hardware *wlc_hw)
static void brcms_c_ucode_txant_set(struct brcms_hardware *wlc_hw)
static u16 brcms_b_ofdm_ratetable_offset(struct brcms_hardware *wlc_hw,
static void brcms_upd_ofdm_pctl1_table(struct brcms_hardware *wlc_hw)
struct brcms_hardware *wlc_hw = wlc->hw;
void brcms_b_core_phypll_reset(struct brcms_hardware *wlc_hw)
void brcms_b_phyclk_fgc(struct brcms_hardware *wlc_hw, bool clk)
void brcms_b_macphyclk_set(struct brcms_hardware *wlc_hw, bool clk)
void brcms_b_phy_reset(struct brcms_hardware *wlc_hw)
static void brcms_b_setband(struct brcms_hardware *wlc_hw, uint bandunit,
static bool brcms_c_isgoodchip(struct brcms_hardware *wlc_hw)
static bool brcms_c_validboardtype(struct brcms_hardware *wlc_hw)
static void brcms_c_get_macaddr(struct brcms_hardware *wlc_hw, u8 etheraddr[ETH_ALEN])
static void brcms_b_xtal(struct brcms_hardware *wlc_hw, bool want)
static bool brcms_b_radio_read_hwdisabled(struct brcms_hardware *wlc_hw)
static bool wlc_dma_rxreset(struct brcms_hardware *wlc_hw, uint fifo)
void brcms_b_corereset(struct brcms_hardware *wlc_hw, u32 flags)
static void brcms_b_corerev_fifofixup(struct brcms_hardware *wlc_hw)
void brcms_b_switch_macfreq(struct brcms_hardware *wlc_hw, u8 spurmode)
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_ucode_write(struct brcms_hardware *wlc_hw,
static void brcms_ucode_download(struct brcms_hardware *wlc_hw)
void brcms_b_txant_set(struct brcms_hardware *wlc_hw, u16 phytxant)
u16 brcms_b_get_txant(struct brcms_hardware *wlc_hw)
void brcms_b_antsel_type_set(struct brcms_hardware *wlc_hw, u8 antsel_type)
static void brcms_b_fifoerrors(struct brcms_hardware *wlc_hw)
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_b_tx_fifo_suspend(struct brcms_hardware *wlc_hw,
static void brcms_b_tx_fifo_resume(struct brcms_hardware *wlc_hw,
static void brcms_b_mute(struct brcms_hardware *wlc_hw, bool mute_tx)
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
void brcms_b_band_stf_ss_set(struct brcms_hardware *wlc_hw, u8 stf_mode)
static bool brcms_b_validate_chip_access(struct brcms_hardware *wlc_hw)
void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on)
static void brcms_c_coredisable(struct brcms_hardware *wlc_hw)
struct brcms_hardware *wlc_hw = wlc->hw;
brcms_b_read_objmem(struct brcms_hardware *wlc_hw, uint offset, u32 sel)
brcms_b_write_objmem(struct brcms_hardware *wlc_hw, uint offset, u16 v,
u16 brcms_b_read_shm(struct brcms_hardware *wlc_hw, uint offset)
void brcms_b_write_shm(struct brcms_hardware *wlc_hw, uint offset, u16 v)
brcms_b_copyto_objmem(struct brcms_hardware *wlc_hw, uint offset,
brcms_b_copyfrom_objmem(struct brcms_hardware *wlc_hw, uint offset, void *buf,
static void brcms_b_retrylimit_upd(struct brcms_hardware *wlc_hw,
static void brcms_b_pllreq(struct brcms_hardware *wlc_hw, bool set, u32 req_bit)
static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail)
static void brcms_b_reset(struct brcms_hardware *wlc_hw)
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_b_init(struct brcms_hardware *wlc_hw, u16 chanspec)
static void brcms_b_set_shortslot(struct brcms_hardware *wlc_hw, bool shortslot)
brcms_b_set_chanspec(struct brcms_hardware *wlc_hw, u16 chanspec,
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw;
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_b_hw_up(struct brcms_hardware *wlc_hw)
static int brcms_b_up_prep(struct brcms_hardware *wlc_hw)
static int brcms_b_up_finish(struct brcms_hardware *wlc_hw)
static int brcms_b_bmac_down_prep(struct brcms_hardware *wlc_hw)
static int brcms_b_down_finish(struct brcms_hardware *wlc_hw)
u16 brcms_b_rate_shm_offset(struct brcms_hardware *wlc_hw, u8 rate)
static void brcms_b_update_slot_timing(struct brcms_hardware *wlc_hw,
static void brcms_c_write_inits(struct brcms_hardware *wlc_hw,
brcms_b_read_tsf(struct brcms_hardware *wlc_hw, u32 *tsf_l_ptr,
static void brcms_c_write_mhf(struct brcms_hardware *wlc_hw, u16 *mhfs)
static void brcms_c_ucode_bsinit(struct brcms_hardware *wlc_hw)
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_b_core_ioctl(struct brcms_hardware *wlc_hw, u32 m, u32 v)
int brcms_b_xmtfifo_sz_get(struct brcms_hardware *wlc_hw, uint fifo,
void brcms_c_inval_dma_pkts(struct brcms_hardware *hw,
static void brcms_b_core_phy_clk(struct brcms_hardware *wlc_hw, bool clk)
brcms_b_recv(struct brcms_hardware *wlc_hw, uint fifo, bool bound)
struct brcms_hardware *wlc_hw = wlc->hw;
static void brcms_c_setxband(struct brcms_hardware *wlc_hw, uint bandunit)
struct brcms_hardware *wlc_hw = wlc->hw;
struct brcms_hardware *hw;
int brcms_b_xmtfifo_sz_get(struct brcms_hardware *wlc_hw, uint fifo,
void brcms_c_inval_dma_pkts(struct brcms_hardware *hw,
void brcms_b_antsel_type_set(struct brcms_hardware *wlc_hw, u8 antsel_type);
void brcms_b_set_chanspec(struct brcms_hardware *wlc_hw, u16 chanspec,
void brcms_b_write_shm(struct brcms_hardware *wlc_hw, uint offset, u16 v);
u16 brcms_b_read_shm(struct brcms_hardware *wlc_hw, uint offset);
void brcms_b_mhf(struct brcms_hardware *wlc_hw, u8 idx, u16 mask, u16 val,
void brcms_b_corereset(struct brcms_hardware *wlc_hw, u32 flags);
void brcms_b_mctrl(struct brcms_hardware *wlc_hw, u32 mask, u32 val);
void brcms_b_phy_reset(struct brcms_hardware *wlc_hw);
void brcms_b_bw_set(struct brcms_hardware *wlc_hw, u16 bw);
void brcms_b_core_phypll_reset(struct brcms_hardware *wlc_hw);
void brcms_c_ucode_wake_override_set(struct brcms_hardware *wlc_hw,
void brcms_c_ucode_wake_override_clear(struct brcms_hardware *wlc_hw,
void brcms_b_write_template_ram(struct brcms_hardware *wlc_hw, int offset,
u16 brcms_b_rate_shm_offset(struct brcms_hardware *wlc_hw, u8 rate);
void brcms_b_copyto_objmem(struct brcms_hardware *wlc_hw, uint offset,
void brcms_b_copyfrom_objmem(struct brcms_hardware *wlc_hw, uint offset,
void brcms_b_switch_macfreq(struct brcms_hardware *wlc_hw, u8 spurmode);
u16 brcms_b_get_txant(struct brcms_hardware *wlc_hw);
void brcms_b_phyclk_fgc(struct brcms_hardware *wlc_hw, bool clk);
void brcms_b_macphyclk_set(struct brcms_hardware *wlc_hw, bool clk);
void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on);
void brcms_b_txant_set(struct brcms_hardware *wlc_hw, u16 phytxant);
void brcms_b_band_stf_ss_set(struct brcms_hardware *wlc_hw, u8 stf_mode);
struct brcms_hardware *wlc_hw; /* pointer to main wlc_hw structure */
struct phy_shim_info *wlc_phy_shim_attach(struct brcms_hardware *wlc_hw,
struct phy_shim_info *wlc_phy_shim_attach(struct brcms_hardware *wlc_hw,
struct brcms_hardware;