Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/include/asm/mach-bcm47xx/
Dgpio.h32 return bcma_chipco_gpio_in(&bcm47xx_bus.bcma.bus.drv_cc, in gpio_get_value()
52 bcma_chipco_gpio_out(&bcm47xx_bus.bcma.bus.drv_cc, 1 << gpio, in gpio_set_value()
82 bcma_chipco_gpio_outen(&bcm47xx_bus.bcma.bus.drv_cc, 1 << gpio, in gpio_direction_input()
105 bcma_chipco_gpio_out(&bcm47xx_bus.bcma.bus.drv_cc, 1 << gpio, in gpio_direction_output()
108 bcma_chipco_gpio_outen(&bcm47xx_bus.bcma.bus.drv_cc, 1 << gpio, in gpio_direction_output()
127 bcma_chipco_gpio_intmask(&bcm47xx_bus.bcma.bus.drv_cc, in gpio_intmask()
146 bcma_chipco_gpio_polarity(&bcm47xx_bus.bcma.bus.drv_cc, in gpio_polarity()
/linux-3.4.99/drivers/bcma/
Ddriver_mips.c173 if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) in bcma_cpu_clock()
174 return bcma_pmu_get_clockcpu(&bus->drv_cc); in bcma_cpu_clock()
185 switch (bus->drv_cc.capabilities & BCMA_CC_CAP_FLASHT) { in bcma_core_mips_flash_detect()
192 bus->drv_cc.pflash.window = 0x1c000000; in bcma_core_mips_flash_detect()
193 bus->drv_cc.pflash.window_size = 0x02000000; in bcma_core_mips_flash_detect()
195 if ((bcma_read32(bus->drv_cc.core, BCMA_CC_FLASH_CFG) & in bcma_core_mips_flash_detect()
197 bus->drv_cc.pflash.buswidth = 1; in bcma_core_mips_flash_detect()
199 bus->drv_cc.pflash.buswidth = 2; in bcma_core_mips_flash_detect()
253 bcma_chipco_serial_init(&bus->drv_cc); in bcma_core_mips_init()
Dsprom.c79 sprom[i] = bcma_read16(bus->drv_cc.core, in bcma_sprom_read()
312 if (bus->drv_cc.core->id.rev >= 31) { in bcma_sprom_ext_available()
313 if (!(bus->drv_cc.capabilities & BCMA_CC_CAP_SPROM)) in bcma_sprom_ext_available()
316 srom_control = bcma_read32(bus->drv_cc.core, in bcma_sprom_ext_available()
322 chip_status = bcma_read32(bus->drv_cc.core, BCMA_CC_CHIPSTAT); in bcma_sprom_ext_available()
348 chip_status = bcma_read32(bus->drv_cc.core, BCMA_CC_CHIPSTAT); in bcma_sprom_onchip_available()
370 otpsize = bus->drv_cc.capabilities & BCMA_CC_CAP_OTPS; in bcma_sprom_onchip_available()
385 struct bcma_device *cc = bus->drv_cc.core; in bcma_sprom_onchip_offset()
403 if (!bus->drv_cc.core) in bcma_sprom_get()
436 bcma_chipco_bcm4331_ext_pa_lines_ctl(&bus->drv_cc, false); in bcma_sprom_get()
[all …]
Dmain.c162 bus->drv_cc.core = core; in bcma_bus_register()
163 bcma_core_chipcommon_init(&bus->drv_cc); in bcma_bus_register()
237 bus->drv_cc.core = core; in bcma_bus_early_register()
238 bcma_core_chipcommon_init(&bus->drv_cc); in bcma_bus_early_register()
276 bus->drv_cc.setup_done = false; in bcma_bus_resume()
277 bcma_core_chipcommon_init(&bus->drv_cc); in bcma_bus_resume()
/linux-3.4.99/arch/mips/bcm47xx/
Dsetup.c59 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 1); in bcm47xx_machine_restart()
79 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 0); in bcm47xx_machine_halt()
Dgpio.c97 return bcma_core_mips_irq(bcm47xx_bus.bcma.bus.drv_cc.core) + 2; in gpio_to_irq()
Dserial.c54 struct bcma_drv_cc *cc = &(bcm47xx_bus.bcma.bus.drv_cc); in uart8250_init_bcma()
Dnvram.c52 bcma_cc = &bcm47xx_bus.bcma.bus.drv_cc; in early_nvram_init()
/linux-3.4.99/drivers/watchdog/
Dbcm47xx_wdt.c67 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, in bcm47xx_wdt_hw_start()
83 bcma_chipco_watchdog_timer_set(&bcm47xx_bus.bcma.bus.drv_cc, 0); in bcm47xx_wdt_hw_stop()
/linux-3.4.99/drivers/net/wireless/b43/
Dphy_lcn.c622 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_set_channel_tweaks()
733 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_op_init()
Dmain.c2772 bcma_cc_write32(&dev->dev->bdev->bus->drv_cc, BCMA_CC_GPIOCTL, in b43_gpio_init()
2773 (bcma_cc_read32(&dev->dev->bdev->bus->drv_cc, in b43_gpio_init()
2799 bcma_cc_write32(&dev->dev->bdev->bus->drv_cc, BCMA_CC_GPIOCTL, in b43_gpio_cleanup()
Dphy_n.c4285 bcma_chipco_gpio_control(&dev->dev->bdev->bus->drv_cc, in b43_nphy_superswitch_init()
4332 bcma_cc_set32(&dev->dev->bdev->bus->drv_cc, in b43_phy_initn()
4530 cc = &dev->dev->bdev->bus->drv_cc; in b43_nphy_pmu_spur_avoid()
/linux-3.4.99/include/linux/bcma/
Dbcma.h207 struct bcma_drv_cc drv_cc; member
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/
Daiutils.c574 cc = pbus->drv_cc.core; in ai_doattach()
742 cc = sii->icbus->drv_cc.core; in ai_cc_reg()