Lines Matching refs:wlc_hw
33 struct brcms_hardware *wlc_hw; /* pointer to main wlc_hw structure */ member
38 struct phy_shim_info *wlc_phy_shim_attach(struct brcms_hardware *wlc_hw, in wlc_phy_shim_attach() argument
47 physhim->wlc_hw = wlc_hw; in wlc_phy_shim_attach()
101 brcms_b_write_shm(physhim->wlc_hw, offset, v); in wlapi_bmac_write_shm()
106 return brcms_b_read_shm(physhim->wlc_hw, offset); in wlapi_bmac_read_shm()
113 brcms_b_mhf(physhim->wlc_hw, idx, mask, val, bands); in wlapi_bmac_mhf()
118 brcms_b_corereset(physhim->wlc_hw, flags); in wlapi_bmac_corereset()
128 brcms_b_switch_macfreq(physhim->wlc_hw, spurmode); in wlapi_switch_macfreq()
138 brcms_b_mctrl(physhim->wlc_hw, mask, val); in wlapi_bmac_mctrl()
143 brcms_b_phy_reset(physhim->wlc_hw); in wlapi_bmac_phy_reset()
148 brcms_b_bw_set(physhim->wlc_hw, bw); in wlapi_bmac_bw_set()
153 return brcms_b_get_txant(physhim->wlc_hw); in wlapi_bmac_get_txant()
158 brcms_b_phyclk_fgc(physhim->wlc_hw, clk); in wlapi_bmac_phyclk_fgc()
163 brcms_b_macphyclk_set(physhim->wlc_hw, clk); in wlapi_bmac_macphyclk_set()
168 brcms_b_core_phypll_ctl(physhim->wlc_hw, on); in wlapi_bmac_core_phypll_ctl()
173 brcms_b_core_phypll_reset(physhim->wlc_hw); in wlapi_bmac_core_phypll_reset()
178 brcms_c_ucode_wake_override_set(physhim->wlc_hw, in wlapi_bmac_ucode_wake_override_phyreg_set()
184 brcms_c_ucode_wake_override_clear(physhim->wlc_hw, in wlapi_bmac_ucode_wake_override_phyreg_clear()
192 brcms_b_write_template_ram(physhim->wlc_hw, offset, len, buf); in wlapi_bmac_write_template_ram()
197 return brcms_b_rate_shm_offset(physhim->wlc_hw, rate); in wlapi_bmac_rate_shm_offset()
208 brcms_b_copyfrom_objmem(physhim->wlc_hw, offset, buf, len, sel); in wlapi_copyfrom_objmem()
215 brcms_b_copyto_objmem(physhim->wlc_hw, offset, buf, l, sel); in wlapi_copyto_objmem()