Home
last modified time | relevance | path

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

/openbmc/linux/drivers/bcma/
H A 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()
397 bus->drv_cc.core = core; 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()
485 err = bcma_gpio_unregister(&bus->drv_cc); in bcma_bus_unregister()
516 bus->drv_cc.core = core; in bcma_bus_early_register()
553 if (bus->drv_cc.core) { in bcma_bus_resume()
[all …]
H A 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 …]
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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()
H A Dpmu.c128 core = sii->icbus->drv_cc.core; in si_pmu_measure_alpclk()
H A Dled.c57 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register()
H A Dmain.c2245 bcma_chipco_gpio_control(&wlc_hw->d11core->bus->drv_cc, gm, gc); in brcms_c_gpio_init()
/openbmc/linux/arch/mips/bcm47xx/
H A 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()
H A Dserial.c57 struct bcma_drv_cc *cc = &(bcm47xx_bus.bcma.bus.drv_cc); in uart8250_init_bcma()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A 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()
H A Dbgmac-bcma-mdio.c153 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_mdio_phy_init()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A 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()
H A Dphy_ht.c743 bcma_pmu_spuravoid_pllupdate(&core->bus->drv_cc, spuravoid); in b43_phy_ht_spur_avoid()
H A Dmain.c1211 bcma_cc = &dev->dev->bdev->bus->drv_cc; in b43_wireless_core_phy_pll_reset()
2908 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, mask, set); in b43_gpio_init()
2935 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, ~0, 0); in b43_gpio_cleanup()
H A 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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A 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 …]
H A Dphy_cmn.c2894 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2896 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2898 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2905 bcma_chipco_gpio_out(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2907 bcma_chipco_gpio_outen(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
2909 bcma_chipco_gpio_control(&pi->d11core->bus->drv_cc, in wlc_lcnphy_epa_switch()
H A 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()
/openbmc/linux/include/linux/bcma/
H A Dbcma.h355 struct bcma_drv_cc drv_cc; member