Home
last modified time | relevance | path

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

/drivers/bcma/
Dmain.c347 if (bus->drv_cc.pflash.present) { in bcma_register_devices()
355 if (bus->drv_cc.sflash.present) { in bcma_register_devices()
363 if (bus->drv_cc.nflash.present) { in bcma_register_devices()
369 err = bcma_gpio_init(&bus->drv_cc); in bcma_register_devices()
376 err = bcma_chipco_watchdog_register(&bus->drv_cc); in bcma_register_devices()
395 platform_device_unregister(bus->drv_cc.watchdog); in bcma_unregister_cores()
420 bus->drv_cc.core = core; in bcma_bus_register()
421 bcma_core_chipcommon_early_init(&bus->drv_cc); in bcma_bus_register()
452 bus->drv_cc.core = core; in bcma_bus_register()
453 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()
586 if (!bus->drv_cc.core) in bcma_sprom_get()
615 bcma_chipco_bcm4331_ext_pa_lines_ctl(&bus->drv_cc, false); in bcma_sprom_get()
[all …]
Ddriver_pcie2.c145 struct bcma_drv_cc *drv_cc = &pcie2->core->bus->drv_cc; in pciedev_reg_pm_clk_period() local
150 alp_khz = bcma_pmu_get_alp_clock(drv_cc) / 1000; in pciedev_reg_pm_clk_period()
Ddriver_mips.c206 if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) in bcma_cpu_clock()
207 return bcma_pmu_get_cpu_clock(&bus->drv_cc); in bcma_cpu_clock()
216 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_boot_dev()
286 bcma_chipco_serial_init(&bus->drv_cc); in bcma_core_mips_early_init()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c479 cc = pbus->drv_cc.core; in ai_doattach()
550 cc = sii->icbus->drv_cc.core; in ai_cc_reg()
621 cc = sii->icbus->drv_cc.core; in ai_clkctl_init()
653 cc = sii->icbus->drv_cc.core; in ai_clkctl_fast_pwrup_delay()
677 cc = sii->icbus->drv_cc.core; in ai_clkctl_cc()
688 cc = sii->icbus->drv_cc.core; in ai_epa_4313war()
Dpmu.c128 core = sii->icbus->drv_cc.core; in si_pmu_measure_alpclk()
Dled.c56 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register()
Dmain.c2256 bcma_chipco_gpio_control(&wlc_hw->d11core->bus->drv_cc, gm, gc); in brcms_c_gpio_init()
/drivers/net/ethernet/broadcom/
Dbgmac-bcma.c66 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_bgmac_cco_ctl_maskset()
73 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_bgmac_get_bus_clock()
Dbgmac-bcma-mdio.c152 struct bcma_drv_cc *cc = &bcma_mdio->core->bus->drv_cc; in bcma_mdio_phy_init()
/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.c756 bcma_pmu_spuravoid_pllupdate(&core->bus->drv_cc, spuravoid); in b43_phy_ht_spur_avoid()
Dmain.c1226 bcma_cc = &dev->dev->bdev->bus->drv_cc; in b43_wireless_core_phy_pll_reset()
2930 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, mask, set); in b43_gpio_init()
2957 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, ~0, 0); in b43_gpio_cleanup()
Dphy_n.c6011 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, in b43_nphy_superswitch_init()
6058 bcma_cc_set32(&dev->dev->bdev->bus->drv_cc, in b43_phy_initn()
6271 bcma_pmu_spuravoid_pllupdate(&dev->dev->bdev->bus->drv_cc, in b43_nphy_pmu_spur_avoid()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1635 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x2, in wlc_lcnphy_set_chanspec_tweaks()
1637 bcma_chipco_pll_maskset(&pi->d11core->bus->drv_cc, 0x3, in wlc_lcnphy_set_chanspec_tweaks()
1639 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x4, in wlc_lcnphy_set_chanspec_tweaks()
1642 bcma_cc_set32(&pi->d11core->bus->drv_cc, BCMA_CC_PMU_CTL, in wlc_lcnphy_set_chanspec_tweaks()
1651 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x2, in wlc_lcnphy_set_chanspec_tweaks()
1653 bcma_chipco_pll_maskset(&pi->d11core->bus->drv_cc, 0x3, in wlc_lcnphy_set_chanspec_tweaks()
1655 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x4, in wlc_lcnphy_set_chanspec_tweaks()
1658 bcma_cc_set32(&pi->d11core->bus->drv_cc, BCMA_CC_PMU_CTL, in wlc_lcnphy_set_chanspec_tweaks()
4864 bcma_chipco_regctl_maskset(&pi->d11core->bus->drv_cc, 0, ~0xf, 0x9); in wlc_phy_init_lcnphy()
4866 bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 0, 0x0, in wlc_phy_init_lcnphy()
[all …]
Dphy_cmn.c2906 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2908 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2910 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2917 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2919 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2921 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
Dphy_n.c19321 bcma_cc_set32(&pi->d11core->bus->drv_cc, in wlc_phy_init_nphy()
19326 bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 1, in wlc_phy_init_nphy()
21219 bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc, in wlc_phy_chanspec_nphy_setup()
21223 bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc, in wlc_phy_chanspec_nphy_setup()
21381 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask); in wlc_phy_antsel_init()
/drivers/spi/
Dspi-bcm53xx.c295 if (core->bus->drv_cc.core->id.rev != 42) { in bcm53xxspi_bcma_probe()