Home
last modified time | relevance | path

Searched refs:bcma_read32 (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/drivers/usb/host/
Dbcma-hcd.c57 val = bcma_read32(dev, reg); in bcma_wait_bits()
92 bcma_read32(dev, 0x528); in bcma_hcd_4716wa()
119 tmp = bcma_read32(dev, 0x1e0); in bcma_hcd_init_chip_mips()
134 tmp = bcma_read32(dev, 0x524); in bcma_hcd_init_chip_mips()
138 tmp = bcma_read32(dev, 0x524); in bcma_hcd_init_chip_mips()
142 tmp = bcma_read32(dev, 0x524); in bcma_hcd_init_chip_mips()
146 tmp = bcma_read32(dev, 0x524); in bcma_hcd_init_chip_mips()
149 tmp = bcma_read32(dev, 0x528); in bcma_hcd_init_chip_mips()
154 tmp = bcma_read32(dev, 0x314); in bcma_hcd_init_chip_mips()
246 val = bcma_read32(dev, 0x94); in bcma_hcd_usb20_ns_init_hc()
[all …]
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbgmac-bcma-mdio.c23 val = bcma_read32(core, reg); in bcma_mdio_wait_value()
65 tmp = bcma_read32(core, phy_ctl_addr); in bcma_mdio_phy_read()
82 return bcma_read32(core, phy_access_addr) & BGMAC_PA_DATA_MASK; in bcma_mdio_phy_read()
104 tmp = bcma_read32(core, phy_ctl_addr); in bcma_mdio_phy_write()
110 if (bcma_read32(bgmac->bcma.core, BGMAC_INT_STATUS) & BGMAC_IS_MDIO) in bcma_mdio_phy_write()
Dbgmac-bcma.c36 return bcma_read32(bgmac->bcma.core, offset); in bcma_bgmac_read()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c363 control = bcma_read32(di->core, DMA64TXREGOFFS(di, control)); in _dma_ctrlflags()
366 if (bcma_read32(di->core, DMA64TXREGOFFS(di, control)) & in _dma_ctrlflags()
387 w = bcma_read32(di->core, ctrl_offset); in _dma64_addrext()
425 addrl = bcma_read32(di->core, DMA64TXREGOFFS(di, addrlow)); in _dma_descriptor_align()
430 addrl = bcma_read32(di->core, DMA64RXREGOFFS(di, addrlow)); in _dma_descriptor_align()
829 control = D64_RC_RE | (bcma_read32(di->core, in _dma_rxenable()
882 B2I(((bcma_read32(di->core, in dma64_getnextrxp()
965 B2I(((bcma_read32(di->core, in dma_rx()
999 return ((bcma_read32(di->core, in dma64_rxidle()
1001 (bcma_read32(di->core, DMA64RXREGOFFS(di, ptr)) & in dma64_rxidle()
[all …]
Dpmu.c130 if (bcma_read32(core, CHIPCREGOFFS(pmustatus)) & PST_EXTLPOAVAIL) { in si_pmu_measure_alpclk()
144 ilp_ctr = bcma_read32(core, CHIPCREGOFFS(pmu_xtalfreq)) & in si_pmu_measure_alpclk()
Daiutils.c454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); in ai_buscore_setup()
457 sii->pub.cccaps = bcma_read32(cc, CHIPCREGOFFS(capabilities)); in ai_buscore_setup()
461 sii->pub.pmucaps = bcma_read32(cc, in ai_buscore_setup()
554 w = bcma_read32(cc, regoff); in ai_cc_reg()
575 div = bcma_read32(cc, CHIPCREGOFFS(system_clk_ctl)); in ai_slowclk_freq()
653 fpdelay = (((bcma_read32(cc, CHIPCREGOFFS(pll_on_delay)) + 2) in ai_clkctl_fast_pwrup_delay()
Dmain.c395 macctrl = bcma_read32(wlc->hw->d11core, in brcms_deviceremoved()
815 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()
1039 s1 = bcma_read32(core, D11REGOFFS(frmtxstatus)); in brcms_b_txstatus()
1050 s2 = bcma_read32(core, D11REGOFFS(frmtxstatus2)); in brcms_b_txstatus()
1252 ((bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1256 WARN_ON(!(bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1261 (bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1265 ((bcma_read32(wlc_hw->d11core, in brcms_b_clkctl_clk()
1534 be_bit = (bcma_read32(core, D11REGOFFS(maccontrol)) & MCTL_BIGEND) != 0; in brcms_b_write_template_ram()
1560 (void)bcma_read32(wlc_hw->d11core, D11REGOFFS(objaddr)); in brcms_b_set_cwmin()
[all …]
Dampdu.c1031 s1 = bcma_read32(wlc->hw->d11core, D11REGOFFS(frmtxstatus)); in brcms_c_ampdu_dotxstatus()
1037 s1 = bcma_read32(wlc->hw->d11core, in brcms_c_ampdu_dotxstatus()
1041 s2 = bcma_read32(wlc->hw->d11core, D11REGOFFS(frmtxstatus2)); in brcms_c_ampdu_dotxstatus()
/linux-6.6.21/drivers/bcma/
Dcore.c92 if (bcma_read32(core, BCMA_CLKCTLST) & in bcma_core_set_clockmode()
119 if ((bcma_read32(core, BCMA_CLKCTLST) & status) == in bcma_core_pll_ctl()
135 bcma_read32(core, BCMA_CLKCTLST); in bcma_core_pll_ctl()
Ddriver_mips.c81 if (bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(irq)) & in bcma_core_mips_irq()
103 bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) & in bcma_core_mips_set_irq()
111 bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) | in bcma_core_mips_set_irq()
114 u32 irqinitmask = bcma_read32(mdev, in bcma_core_mips_set_irq()
Dsprom.c490 srom_control = bcma_read32(bus->drv_cc.core, in bcma_sprom_ext_available()
496 chip_status = bcma_read32(bus->drv_cc.core, BCMA_CC_CHIPSTAT); in bcma_sprom_ext_available()
522 chip_status = bcma_read32(bus->drv_cc.core, BCMA_CC_CHIPSTAT); in bcma_sprom_onchip_available()
569 if ((bcma_read32(cc, BCMA_CC_OTPS) & BCMA_CC_OTPS_GU_PROG_HW) == 0) in bcma_sprom_onchip_offset()
573 offset = (bcma_read32(cc, BCMA_CC_OTPL) & BCMA_CC_OTPL_GURGN_OFFSET); in bcma_sprom_onchip_offset()
Ddriver_chipcommon_pflash.c40 if (!(bcma_read32(cc->core, BCMA_CC_FLASH_CFG) & BCMA_CC_FLASH_CFG_DS)) in bcma_pflash_init()
Dmain.c107 val = bcma_read32(core, reg); in bcma_wait_value()
/linux-6.6.21/include/linux/bcma/
Dbcma.h375 static inline u32 bcma_read32(struct bcma_device *core, u16 offset) in bcma_read32() function
419 bcma_write32(cc, offset, bcma_read32(cc, offset) & mask); in bcma_mask32()
423 bcma_write32(cc, offset, bcma_read32(cc, offset) | set); in bcma_set32()
428 bcma_write32(cc, offset, (bcma_read32(cc, offset) & mask) | set); in bcma_maskset32()
Dbcma_driver_gmac_cmn.h91 #define gmac_cmn_read32(gc, offset) bcma_read32((gc)->core, offset)
Dbcma_driver_pcie2.h152 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset)
Dbcma_driver_pci.h238 #define pcicore_read32(pc, offset) bcma_read32((pc)->core, offset)
Dbcma_driver_chipcommon.h665 bcma_read32((cc)->core, offset)
678 bcma_read32((cc)->pmu.core, offset)
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_cmn.c203 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in write_radio_reg()
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()
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()
1378 suspend = (0 == (bcma_read32(pi->d11core, in wlc_phy_txpower_set()
1956 suspend = (0 == (bcma_read32(pi->d11core, in wlc_phy_txpower_hw_ctrl_set()
2160 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_phy_ant_rxdiv_set()
Dphy_lcn.c2809 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_idle_tssi_est()
2890 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_vbat_temp_sense_setup()
3017 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_tx_pwr_ctrl_init()
3559 val = bcma_read32(pi->d11core, D11REGOFFS(tplatewrdata)); in wlc_lcnphy_samp_cap()
3953 suspend = (0 == (bcma_read32(pi->d11core, in wlc_lcnphy_tempsense_new()
3997 suspend = (0 == (bcma_read32(pi->d11core, in wlc_lcnphy_tempsense()
4063 suspend = (0 == (bcma_read32(pi->d11core, in wlc_lcnphy_vbatsense()
4112 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_glacial_timer_based_cal()
4146 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_periodic_cal()
Dphy_int.h1059 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol))
Dphy_n.c17580 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in wlc_phy_txpwrctrl_pwr_setup_nphy()
17712 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in wlc_phy_txpwrctrl_pwr_setup_nphy()
19233 d11_clk_ctl_st = bcma_read32(pi->d11core, in wlc_phy_init_nphy()
19644 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_phy_rxcore_setstate_nphy()
21284 mc = bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in wlc_phy_antsel_init()
21307 suspended = (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_phy_classifier_nphy()
25135 phy_b3 = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_phy_a4()
28109 (void)bcma_read32(pi->d11core, D11REGOFFS(maccontrol)); in wlc_phy_txpower_recalc_target_nphy()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dbus.c50 return bcma_read32(dev->bdev, offset); in b43_bus_bcma_read32()