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

/linux-4.1.27/drivers/bcma/
H A Dmain.c329 if (bus->drv_cc.pflash.present) { bcma_register_devices()
337 if (bus->drv_cc.sflash.present) { bcma_register_devices()
345 if (bus->drv_cc.nflash.present) { bcma_register_devices()
351 err = bcma_gpio_init(&bus->drv_cc); bcma_register_devices()
358 err = bcma_chipco_watchdog_register(&bus->drv_cc); bcma_register_devices()
377 platform_device_unregister(bus->drv_cc.watchdog); bcma_unregister_cores()
401 bus->drv_cc.core = core; bcma_bus_register()
402 bcma_core_chipcommon_early_init(&bus->drv_cc); bcma_bus_register()
428 bus->drv_cc.core = core; bcma_bus_register()
429 bcma_core_chipcommon_init(&bus->drv_cc); bcma_bus_register()
486 err = bcma_gpio_unregister(&bus->drv_cc); bcma_bus_unregister()
517 bus->drv_cc.core = core; bcma_bus_early_register()
518 bcma_core_chipcommon_early_init(&bus->drv_cc); bcma_bus_early_register()
554 if (bus->drv_cc.core) { bcma_bus_resume()
555 bus->drv_cc.setup_done = false; bcma_bus_resume()
556 bcma_core_chipcommon_init(&bus->drv_cc); bcma_bus_resume()
H A Ddriver_pcie2.c145 struct bcma_drv_cc *drv_cc = &pcie2->core->bus->drv_cc; pciedev_reg_pm_clk_period() local
150 alp_khz = bcma_pmu_get_alp_clock(drv_cc) / 1000; pciedev_reg_pm_clk_period()
H A Dsprom.c80 sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); bcma_sprom_read()
486 if (bus->drv_cc.core->id.rev >= 31) { bcma_sprom_ext_available()
487 if (!(bus->drv_cc.capabilities & BCMA_CC_CAP_SPROM)) bcma_sprom_ext_available()
490 srom_control = bcma_read32(bus->drv_cc.core, bcma_sprom_ext_available()
496 chip_status = bcma_read32(bus->drv_cc.core, BCMA_CC_CHIPSTAT); bcma_sprom_ext_available()
522 chip_status = bcma_read32(bus->drv_cc.core, BCMA_CC_CHIPSTAT); bcma_sprom_onchip_available()
550 otpsize = bus->drv_cc.capabilities & BCMA_CC_CAP_OTPS; bcma_sprom_onchip_available()
565 struct bcma_device *cc = bus->drv_cc.core; bcma_sprom_onchip_offset()
586 if (!bus->drv_cc.core) bcma_sprom_get()
615 bcma_chipco_bcm4331_ext_pa_lines_ctl(&bus->drv_cc, false); bcma_sprom_get()
635 bcma_chipco_bcm4331_ext_pa_lines_ctl(&bus->drv_cc, true); bcma_sprom_get()
H A Ddriver_mips.c228 if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) bcma_cpu_clock()
229 return bcma_pmu_get_cpu_clock(&bus->drv_cc); bcma_cpu_clock()
238 struct bcma_drv_cc *cc = &bus->drv_cc; bcma_boot_dev()
278 struct bcma_drv_cc *cc = &bus->drv_cc; bcma_core_mips_flash_detect()
345 bcma_chipco_serial_init(&bus->drv_cc); bcma_core_mips_early_init()
/linux-4.1.27/arch/mips/bcm47xx/
H A Dserial.c55 struct bcma_drv_cc *cc = &(bcm47xx_bus.bcma.bus.drv_cc); uart8250_init_bcma()
H A Dsetup.c75 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 1); bcm47xx_machine_restart()
95 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 0); bcm47xx_machine_halt()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dled.c56 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; brcms_led_register()
H A Daiutils.c479 cc = pbus->drv_cc.core; ai_doattach()
550 cc = sii->icbus->drv_cc.core; ai_cc_reg()
621 cc = sii->icbus->drv_cc.core; ai_clkctl_init()
653 cc = sii->icbus->drv_cc.core; ai_clkctl_fast_pwrup_delay()
677 cc = sii->icbus->drv_cc.core; ai_clkctl_cc()
688 cc = sii->icbus->drv_cc.core; ai_epa_4313war()
H A Dpmu.c128 core = sii->icbus->drv_cc.core; si_pmu_measure_alpclk()
H A Dmain.c2256 bcma_chipco_gpio_control(&wlc_hw->d11core->bus->drv_cc, gm, gc); brcms_c_gpio_init()
/linux-4.1.27/drivers/spi/
H A Dspi-bcm53xx.c229 if (core->bus->drv_cc.core->id.rev != 42) { bcm53xxspi_bcma_probe()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c2906 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, wlc_lcnphy_epa_switch()
2908 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, wlc_lcnphy_epa_switch()
2910 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, wlc_lcnphy_epa_switch()
2917 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, wlc_lcnphy_epa_switch()
2919 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, wlc_lcnphy_epa_switch()
2921 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, wlc_lcnphy_epa_switch()
H A Dphy_lcn.c1635 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x2, wlc_lcnphy_set_chanspec_tweaks()
1637 bcma_chipco_pll_maskset(&pi->d11core->bus->drv_cc, 0x3, wlc_lcnphy_set_chanspec_tweaks()
1639 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x4, wlc_lcnphy_set_chanspec_tweaks()
1642 bcma_cc_set32(&pi->d11core->bus->drv_cc, BCMA_CC_PMU_CTL, wlc_lcnphy_set_chanspec_tweaks()
1651 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x2, wlc_lcnphy_set_chanspec_tweaks()
1653 bcma_chipco_pll_maskset(&pi->d11core->bus->drv_cc, 0x3, wlc_lcnphy_set_chanspec_tweaks()
1655 bcma_chipco_pll_write(&pi->d11core->bus->drv_cc, 0x4, wlc_lcnphy_set_chanspec_tweaks()
1658 bcma_cc_set32(&pi->d11core->bus->drv_cc, BCMA_CC_PMU_CTL, wlc_lcnphy_set_chanspec_tweaks()
4864 bcma_chipco_regctl_maskset(&pi->d11core->bus->drv_cc, 0, ~0xf, 0x9); wlc_phy_init_lcnphy()
4866 bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 0, 0x0, wlc_phy_init_lcnphy()
5080 pi->xtalfreq = bcma_chipco_get_alp_clock(&pi->d11core->bus->drv_cc); wlc_phy_attach_lcnphy()
H A Dphy_n.c19324 bcma_cc_set32(&pi->d11core->bus->drv_cc, wlc_phy_init_nphy()
19329 bcma_chipco_chipctl_maskset(&pi->d11core->bus->drv_cc, 1, wlc_phy_init_nphy()
21222 bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc, wlc_phy_chanspec_nphy_setup()
21226 bcma_pmu_spuravoid_pllupdate(&pi->d11core->bus->drv_cc, wlc_phy_chanspec_nphy_setup()
21384 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, mask, mask); wlc_phy_antsel_init()
/linux-4.1.27/drivers/net/wireless/b43/
H A Dphy_lcn.c589 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; b43_phy_lcn_set_channel_tweaks()
700 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; b43_phy_lcn_op_init()
H A Dphy_ht.c756 bcma_pmu_spuravoid_pllupdate(&core->bus->drv_cc, spuravoid); b43_phy_ht_spur_avoid()
H A Dmain.c1216 bcma_cc = &dev->dev->bdev->bus->drv_cc; b43_wireless_core_phy_pll_reset()
2920 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, mask, set); b43_gpio_init()
2947 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, ~0, 0); b43_gpio_cleanup()
H A Dphy_n.c6011 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, b43_nphy_superswitch_init()
6058 bcma_cc_set32(&dev->dev->bdev->bus->drv_cc, b43_phy_initn()
6271 bcma_pmu_spuravoid_pllupdate(&dev->dev->bdev->bus->drv_cc, b43_nphy_pmu_spur_avoid()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dbgmac.c830 struct bcma_drv_cc *cc = &bgmac->core->bus->drv_cc; bgmac_phy_init()
1067 struct bcma_drv_cc *cc = &bgmac->core->bus->drv_cc; bgmac_chip_reset()
1172 bcma_chipco_chipctl_maskset(&bgmac->core->bus->drv_cc, 1, ~0, bgmac_enable()
1195 bp_clk = bcma_pmu_get_bus_clock(&bgmac->core->bus->drv_cc) / bgmac_enable()
/linux-4.1.27/include/linux/bcma/
H A Dbcma.h340 struct bcma_drv_cc drv_cc; member in struct:bcma_bus

Completed in 1262 milliseconds