Home
last modified time | relevance | path

Searched refs:BCMA_IOCTL (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/bcma/
Dcore.c33 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) in bcma_core_is_enabled()
53 bcma_awrite32(core, BCMA_IOCTL, flags); in bcma_core_disable()
54 bcma_aread32(core, BCMA_IOCTL); in bcma_core_disable()
63 bcma_awrite32(core, BCMA_IOCTL, (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC | flags)); in bcma_core_enable()
64 bcma_aread32(core, BCMA_IOCTL); in bcma_core_enable()
70 bcma_awrite32(core, BCMA_IOCTL, (BCMA_IOCTL_CLK | flags)); in bcma_core_enable()
71 bcma_aread32(core, BCMA_IOCTL); in bcma_core_enable()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_common.c339 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_put_into_reset()
343 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_put_into_reset()
346 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_put_into_reset()
348 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_put_into_reset()
379 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_take_out_of_reset()
383 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_take_out_of_reset()
387 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_take_out_of_reset()
390 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_take_out_of_reset()
574 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_force_clock()
579 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_force_clock()
Dmain.c1238 flags = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_bcma_phy_reset()
1241 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, flags); in b43_bcma_phy_reset()
1263 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_bcma_wireless_core_reset()
1266 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_bcma_wireless_core_reset()
1268 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_bcma_wireless_core_reset()
1270 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_bcma_wireless_core_reset()
1272 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_bcma_wireless_core_reset()
1274 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_bcma_wireless_core_reset()
3017 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_mac_phy_clock_set()
3022 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_mac_phy_clock_set()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbgmac-platform.c61 if ((bgmac_idm_read(bgmac, BCMA_IOCTL) & BGMAC_CLK_EN) != BGMAC_CLK_EN) in platform_bgmac_clk_enabled()
86 val = bgmac_idm_read(bgmac, BCMA_IOCTL); in platform_bgmac_clk_enable()
91 bgmac_idm_write(bgmac, BCMA_IOCTL, val); in platform_bgmac_clk_enable()
92 bgmac_idm_read(bgmac, BCMA_IOCTL); in platform_bgmac_clk_enable()
Dbgmac.c859 bgmac_idm_write(bgmac, BCMA_IOCTL, in bgmac_miiconfig()
860 bgmac_idm_read(bgmac, BCMA_IOCTL) | in bgmac_miiconfig()
900 bgmac_idm_write(bgmac, BCMA_IOCTL, in bgmac_chip_reset_idm_config()
901 bgmac_idm_read(bgmac, BCMA_IOCTL) & in bgmac_chip_reset_idm_config()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c270 regdata = ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_iscoreup()
363 ci->ops->write32(ci->ctx, core->wrapbase + BCMA_IOCTL, in brcmf_chip_ai_coredisable()
365 ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_coredisable()
378 ci->ops->write32(ci->ctx, core->wrapbase + BCMA_IOCTL, in brcmf_chip_ai_coredisable()
380 ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_coredisable()
483 ci->ops->write32(ci->ctx, core->wrapbase + BCMA_IOCTL, in brcmf_chip_ai_resetcore()
485 ci->ops->read32(ci->ctx, core->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_resetcore()
488 ci->ops->write32(ci->ctx, d11priv2->wrapbase + BCMA_IOCTL, in brcmf_chip_ai_resetcore()
490 ci->ops->read32(ci->ctx, d11priv2->wrapbase + BCMA_IOCTL); in brcmf_chip_ai_resetcore()
1058 val = chip->ops->read32(chip->ctx, cpu->wrapbase + BCMA_IOCTL); in brcmf_chip_disable_arm()
/linux-6.1.9/include/linux/bcma/
Dbcma_regs.h29 #define BCMA_IOCTL 0x0408 /* IO control */ macro
/linux-6.1.9/drivers/usb/host/
Dbcma-hcd.c196 bcma_awrite32(core, BCMA_IOCTL, BCMA_IOCTL_CLK | BCMA_IOCTL_FGC); in bcma_hcd_usb20_old_arm_init()
202 bcma_awrite32(core, BCMA_IOCTL, BCMA_IOCTL_CLK); in bcma_hcd_usb20_old_arm_init()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c753 u32 ioctl = bcma_aread32(core, BCMA_IOCTL) & ~m; in brcms_b_core_ioctl()
755 bcma_awrite32(core, BCMA_IOCTL, ioctl | v); in brcms_b_core_ioctl()