Home
last modified time | relevance | path

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

/drivers/bcma/
Dmain.c322 if (bus->drv_cc.pflash.present) { in bcma_register_devices()
330 if (bus->drv_cc.sflash.present) { in bcma_register_devices()
338 if (bus->drv_cc.nflash.present) { in bcma_register_devices()
344 err = bcma_gpio_init(&bus->drv_cc); in bcma_register_devices()
351 err = bcma_chipco_watchdog_register(&bus->drv_cc); in bcma_register_devices()
370 platform_device_unregister(bus->drv_cc.watchdog); in bcma_unregister_cores()
394 bus->drv_cc.core = core; in bcma_bus_register()
395 bcma_core_chipcommon_early_init(&bus->drv_cc); in bcma_bus_register()
424 bus->drv_cc.core = core; in bcma_bus_register()
425 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.c194 if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) in bcma_cpu_clock()
195 return bcma_pmu_get_cpu_clock(&bus->drv_cc); in bcma_cpu_clock()
204 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_boot_dev()
274 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.c2245 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 = &bgmac->bcma.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.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.c6000 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, in b43_nphy_superswitch_init()
6046 bcma_cc_set32(&dev->dev->bdev->bus->drv_cc, in b43_phy_initn()
6260 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.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()