Home
last modified time | relevance | path

Searched refs:drv_cc (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/bcma/
Dmain.c323 if (bus->drv_cc.pflash.present) { in bcma_register_devices()
331 if (bus->drv_cc.sflash.present) { in bcma_register_devices()
339 if (bus->drv_cc.nflash.present) { in bcma_register_devices()
345 err = bcma_gpio_init(&bus->drv_cc); in bcma_register_devices()
354 err = bcma_chipco_watchdog_register(&bus->drv_cc); in bcma_register_devices()
373 platform_device_unregister(bus->drv_cc.watchdog); in bcma_unregister_cores()
397 bus->drv_cc.core = core; in bcma_bus_register()
398 bcma_core_chipcommon_early_init(&bus->drv_cc); in bcma_bus_register()
427 bus->drv_cc.core = core; in bcma_bus_register()
428 bcma_core_chipcommon_init(&bus->drv_cc); in bcma_bus_register()
[all …]
Dsprom.c80 sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); in bcma_sprom_read()
486 if (bus->drv_cc.core->id.rev >= 31) { in bcma_sprom_ext_available()
487 if (!(bus->drv_cc.capabilities & BCMA_CC_CAP_SPROM)) in bcma_sprom_ext_available()
490 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()
550 otpsize = bus->drv_cc.capabilities & BCMA_CC_CAP_OTPS; in bcma_sprom_onchip_available()
565 struct bcma_device *cc = bus->drv_cc.core; in bcma_sprom_onchip_offset()
588 if (!bus->drv_cc.core) in bcma_sprom_get()
617 bcma_chipco_bcm4331_ext_pa_lines_ctl(&bus->drv_cc, false); in bcma_sprom_get()
[all …]
Ddriver_pcie2.c146 struct bcma_drv_cc *drv_cc = &pcie2->core->bus->drv_cc; in pciedev_reg_pm_clk_period() local
151 alp_khz = bcma_pmu_get_alp_clock(drv_cc) / 1000; in pciedev_reg_pm_clk_period()
Ddriver_mips.c181 if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) in bcma_cpu_clock()
182 return bcma_pmu_get_cpu_clock(&bus->drv_cc); in bcma_cpu_clock()
191 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_boot_dev()
261 bcma_chipco_serial_init(&bus->drv_cc); in bcma_core_mips_early_init()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c479 cc = pbus->drv_cc.core; in ai_doattach()
547 cc = sii->icbus->drv_cc.core; in ai_cc_reg()
618 cc = sii->icbus->drv_cc.core; in ai_clkctl_init()
650 cc = sii->icbus->drv_cc.core; in ai_clkctl_fast_pwrup_delay()
674 cc = sii->icbus->drv_cc.core; in ai_clkctl_cc()
685 cc = sii->icbus->drv_cc.core; in ai_epa_4313war()
Dpmu.c128 core = sii->icbus->drv_cc.core; in si_pmu_measure_alpclk()
Dled.c57 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register()
Dmain.c2245 bcma_chipco_gpio_control(&wlc_hw->d11core->bus->drv_cc, gm, gc); in brcms_c_gpio_init()
/linux-6.6.21/arch/mips/bcm47xx/
Dsetup.c76 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 1); in bcm47xx_machine_restart()
96 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 0); in bcm47xx_machine_halt()
Dserial.c57 struct bcma_drv_cc *cc = &(bcm47xx_bus.bcma.bus.drv_cc); in uart8250_init_bcma()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbgmac-bcma.c67 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_bgmac_cco_ctl_maskset()
74 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_bgmac_get_bus_clock()
Dbgmac-bcma-mdio.c153 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_mdio_phy_init()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dphy_lcn.c589 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_set_channel_tweaks()
700 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_op_init()
Dphy_ht.c743 bcma_pmu_spuravoid_pllupdate(&core->bus->drv_cc, spuravoid); in b43_phy_ht_spur_avoid()
Dmain.c1211 bcma_cc = &dev->dev->bdev->bus->drv_cc; in b43_wireless_core_phy_pll_reset()
2907 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, mask, set); in b43_gpio_init()
2934 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, ~0, 0); in b43_gpio_cleanup()
Dphy_n.c5949 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, in b43_nphy_superswitch_init()
5995 bcma_cc_set32(&dev->dev->bdev->bus->drv_cc, in b43_phy_initn()
6209 bcma_pmu_spuravoid_pllupdate(&dev->dev->bdev->bus->drv_cc, in b43_nphy_pmu_spur_avoid()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1567 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x2, in wlc_lcnphy_set_chanspec_tweaks()
1569 bcma_chipco_pll_maskset(&pi->d11core->bus->drv_cc, 0x3, in wlc_lcnphy_set_chanspec_tweaks()
1571 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x4, in wlc_lcnphy_set_chanspec_tweaks()
1574 bcma_cc_set32(&pi->d11core->bus->drv_cc, BCMA_CC_PMU_CTL, in wlc_lcnphy_set_chanspec_tweaks()
1583 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x2, in wlc_lcnphy_set_chanspec_tweaks()
1585 bcma_chipco_pll_maskset(&pi->d11core->bus->drv_cc, 0x3, in wlc_lcnphy_set_chanspec_tweaks()
1587 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x4, in wlc_lcnphy_set_chanspec_tweaks()
1590 bcma_cc_set32(&pi->d11core->bus->drv_cc, BCMA_CC_PMU_CTL, in wlc_lcnphy_set_chanspec_tweaks()
4770 bcma_chipco_regctl_maskset(&pi->d11core->bus->drv_cc, 0, ~0xf, 0x9); in wlc_phy_init_lcnphy()
4772 bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 0, 0x0, in wlc_phy_init_lcnphy()
[all …]
Dphy_cmn.c2893 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2895 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2897 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2904 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2906 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2908 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
Dphy_n.c19222 bcma_cc_set32(&pi->d11core->bus->drv_cc, in wlc_phy_init_nphy()
19227 bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 1, in wlc_phy_init_nphy()
21120 bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc, in wlc_phy_chanspec_nphy_setup()
21124 bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc, in wlc_phy_chanspec_nphy_setup()
21282 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask); in wlc_phy_antsel_init()
/linux-6.6.21/include/linux/bcma/
Dbcma.h355 struct bcma_drv_cc drv_cc; member