Lines Matching refs:D11REGOFFS
142 (void)bcma_read16(pi->d11core, D11REGOFFS(phyversion)); in wlc_radioreg_exit()
177 bcma_wflush16(pi->d11core, D11REGOFFS(radioregaddr), addr); in read_radio_reg()
178 data = bcma_read16(pi->d11core, D11REGOFFS(radioregdata)); in read_radio_reg()
180 bcma_wflush16(pi->d11core, D11REGOFFS(phy4waddr), addr); in read_radio_reg()
181 data = bcma_read16(pi->d11core, D11REGOFFS(phy4wdatalo)); in read_radio_reg()
194 bcma_wflush16(pi->d11core, D11REGOFFS(radioregaddr), addr); in write_radio_reg()
195 bcma_write16(pi->d11core, D11REGOFFS(radioregdata), val); in write_radio_reg()
197 bcma_wflush16(pi->d11core, D11REGOFFS(phy4waddr), addr); in write_radio_reg()
198 bcma_write16(pi->d11core, D11REGOFFS(phy4wdatalo), val); in write_radio_reg()
203 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in write_radio_reg()
215 bcma_wflush16(pi->d11core, D11REGOFFS(radioregaddr), 0); in read_radio_id()
216 b0 = (u32) bcma_read16(pi->d11core, D11REGOFFS(radioregdata)); in read_radio_id()
217 bcma_wflush16(pi->d11core, D11REGOFFS(radioregaddr), 1); in read_radio_id()
218 b1 = (u32) bcma_read16(pi->d11core, D11REGOFFS(radioregdata)); in read_radio_id()
219 bcma_wflush16(pi->d11core, D11REGOFFS(radioregaddr), 2); in read_radio_id()
220 b2 = (u32) bcma_read16(pi->d11core, D11REGOFFS(radioregdata)); in read_radio_id()
225 bcma_wflush16(pi->d11core, D11REGOFFS(phy4waddr), RADIO_IDCODE); in read_radio_id()
226 id = (u32) bcma_read16(pi->d11core, D11REGOFFS(phy4wdatalo)); in read_radio_id()
228 D11REGOFFS(phy4wdatahi)) << 16; in read_radio_id()
268 bcma_write16(pi->d11core, D11REGOFFS(phychannel), val); in write_phy_channel_reg()
273 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), addr); in read_phy_reg()
276 return bcma_read16(pi->d11core, D11REGOFFS(phyregdata)); in read_phy_reg()
282 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), addr); in write_phy_reg()
283 bcma_write16(pi->d11core, D11REGOFFS(phyregdata), val); in write_phy_reg()
285 (void)bcma_read16(pi->d11core, D11REGOFFS(phyregdata)); in write_phy_reg()
287 bcma_write32(pi->d11core, D11REGOFFS(phyregaddr), addr | (val << 16)); in write_phy_reg()
291 (void)bcma_read16(pi->d11core, D11REGOFFS(phyversion)); in write_phy_reg()
298 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), addr); in and_phy_reg()
299 bcma_mask16(pi->d11core, D11REGOFFS(phyregdata), val); in and_phy_reg()
305 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), addr); in or_phy_reg()
306 bcma_set16(pi->d11core, D11REGOFFS(phyregdata), val); in or_phy_reg()
313 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), addr); in mod_phy_reg()
314 bcma_maskset16(pi->d11core, D11REGOFFS(phyregdata), ~mask, val); in mod_phy_reg()
464 phyversion = bcma_read16(pi->d11core, D11REGOFFS(phyversion)); in wlc_phy_attach()
747 mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in wlc_phy_init()
793 if (WARN((bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_phy_cal_init()
1001 bcma_write16(core, D11REGOFFS(xmtsel), 0); in wlc_phy_do_dummy_tx()
1004 bcma_write16(core, D11REGOFFS(wepctl), 0x100); in wlc_phy_do_dummy_tx()
1006 bcma_write16(core, D11REGOFFS(wepctl), 0); in wlc_phy_do_dummy_tx()
1008 bcma_write16(core, D11REGOFFS(txe_phyctl), in wlc_phy_do_dummy_tx()
1011 bcma_write16(core, D11REGOFFS(txe_phyctl1), 0x1A02); in wlc_phy_do_dummy_tx()
1013 bcma_write16(core, D11REGOFFS(txe_wm_0), 0); in wlc_phy_do_dummy_tx()
1014 bcma_write16(core, D11REGOFFS(txe_wm_1), 0); in wlc_phy_do_dummy_tx()
1016 bcma_write16(core, D11REGOFFS(xmttplatetxptr), 0); in wlc_phy_do_dummy_tx()
1017 bcma_write16(core, D11REGOFFS(xmttxcnt), DUMMY_PKT_LEN); in wlc_phy_do_dummy_tx()
1019 bcma_write16(core, D11REGOFFS(xmtsel), in wlc_phy_do_dummy_tx()
1022 bcma_write16(core, D11REGOFFS(txe_ctl), 0); in wlc_phy_do_dummy_tx()
1030 bcma_write16(core, D11REGOFFS(txe_aux), 0xD0); in wlc_phy_do_dummy_tx()
1032 bcma_write16(core, D11REGOFFS(txe_aux), ((1 << 5) | (1 << 4))); in wlc_phy_do_dummy_tx()
1034 (void)bcma_read16(core, D11REGOFFS(txe_aux)); in wlc_phy_do_dummy_tx()
1039 && (bcma_read16(core, D11REGOFFS(txe_status)) & (1 << 7))) in wlc_phy_do_dummy_tx()
1045 ((bcma_read16(core, D11REGOFFS(txe_status)) & (1 << 10)) == 0)) in wlc_phy_do_dummy_tx()
1051 ((bcma_read16(core, D11REGOFFS(ifsstat)) & (1 << 8)))) in wlc_phy_do_dummy_tx()
1108 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in wlc_phy_switch_radio()
1348 if (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & MCTL_EN_MAC) in wlc_phy_txpower_target_set()
1379 D11REGOFFS(maccontrol)) & in wlc_phy_txpower_set()
1826 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), in wlc_phy_runbist_config()
1828 bcma_set16(pi->d11core, D11REGOFFS(phyregdata), in wlc_phy_runbist_config()
1834 bcma_wflush16(pi->d11core, D11REGOFFS(phyregaddr), in wlc_phy_runbist_config()
1836 bcma_write16(pi->d11core, D11REGOFFS(phyregdata), rxc); in wlc_phy_runbist_config()
1957 D11REGOFFS(maccontrol)) & in wlc_phy_txpower_hw_ctrl_set()
2160 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_phy_ant_rxdiv_set()
2379 bcma_set32(pi->d11core, D11REGOFFS(maccommand), in wlc_phy_noise_sample_request()
2398 bcma_set32(pi->d11core, D11REGOFFS(maccommand), in wlc_phy_noise_sample_request()