/linux/drivers/bcma/ |
H A D | bcma_private.h | 45 void bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc); 46 void bcma_core_chipcommon_init(struct bcma_drv_cc *cc); 47 void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable); 49 void bcma_chipco_serial_init(struct bcma_drv_cc *cc); 57 void bcma_pmu_early_init(struct bcma_drv_cc *cc); 58 void bcma_pmu_init(struct bcma_drv_cc *cc); 59 u32 bcma_pmu_get_alp_clock(struct bcma_drv_cc *cc); 60 u32 bcma_pmu_get_cpu_clock(struct bcma_drv_cc *cc); 68 int bcma_pflash_init(struct bcma_drv_cc *cc); 70 static inline int bcma_pflash_init(struct bcma_drv_cc *cc) in bcma_pflash_init() [all …]
|
H A D | driver_gpio.c | 24 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_get_value() 32 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_set_value() 39 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_input() 48 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_direction_output() 57 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_request() 70 struct bcma_drv_cc *cc = gpiochip_get_data(chip); in bcma_gpio_free() 81 struct bcma_drv_cc *cc = gpiochip_get_data(gc); in bcma_gpio_irq_unmask() 93 struct bcma_drv_cc *cc = gpiochip_get_data(gc); in bcma_gpio_irq_mask() 110 struct bcma_drv_cc *cc = dev_id; in bcma_gpio_irq_handler() 128 static int bcma_gpio_irq_init(struct bcma_drv_cc *cc) in bcma_gpio_irq_init() [all …]
|
H A D | driver_chipcommon.c | 18 static inline u32 bcma_cc_write32_masked(struct bcma_drv_cc *cc, u16 offset, in bcma_cc_write32_masked() 28 u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc) in bcma_chipco_get_alp_clock() 37 static bool bcma_core_cc_has_pmu_watchdog(struct bcma_drv_cc *cc) in bcma_core_cc_has_pmu_watchdog() 56 static u32 bcma_chipco_watchdog_get_max_timer(struct bcma_drv_cc *cc) in bcma_chipco_watchdog_get_max_timer() 80 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); in bcma_chipco_watchdog_timer_set_wdt() 88 struct bcma_drv_cc *cc = bcm47xx_wdt_get_drvdata(wdt); in bcma_chipco_watchdog_timer_set_ms_wdt() 95 static int bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc) in bcma_chipco_watchdog_ticks_per_ms() 113 int bcma_chipco_watchdog_register(struct bcma_drv_cc *cc) in bcma_chipco_watchdog_register() 142 static void bcma_core_chipcommon_flash_detect(struct bcma_drv_cc *cc) in bcma_core_chipcommon_flash_detect() 169 void bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc) in bcma_core_chipcommon_early_init() [all …]
|
H A D | driver_chipcommon_pmu.c | 16 u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) in bcma_chipco_pll_read() 24 void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) in bcma_chipco_pll_write() 32 void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, in bcma_chipco_pll_maskset() 41 void bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc, in bcma_chipco_chipctl_maskset() 50 void bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, in bcma_chipco_regctl_maskset() 59 static u32 bcma_pmu_xtalfreq(struct bcma_drv_cc *cc) in bcma_pmu_xtalfreq() 80 static void bcma_pmu2_pll_init0(struct bcma_drv_cc *cc, u32 xtalfreq) in bcma_pmu2_pll_init0() 148 static void bcma_pmu_pll_init(struct bcma_drv_cc *cc) in bcma_pmu_pll_init() 162 static void bcma_pmu_resources_init(struct bcma_drv_cc *cc) in bcma_pmu_resources_init() 210 void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable) in bcma_chipco_bcm4331_ext_pa_lines_ctl() [all …]
|
H A D | driver_chipcommon_sflash.c | 74 static void bcma_sflash_cmd(struct bcma_drv_cc *cc, u32 opcode) in bcma_sflash_cmd() 89 int bcma_sflash_init(struct bcma_drv_cc *cc) in bcma_sflash_init()
|
H A D | driver_chipcommon_pflash.c | 34 int bcma_pflash_init(struct bcma_drv_cc *cc) in bcma_pflash_init()
|
H A D | driver_chipcommon_nflash.c | 28 int bcma_nflash_init(struct bcma_drv_cc *cc) in bcma_nflash_init()
|
H A D | driver_pcie2.c | 146 struct bcma_drv_cc *drv_cc = &pcie2->core->bus->drv_cc; in pciedev_reg_pm_clk_period()
|
H A D | driver_mips.c | 191 struct bcma_drv_cc *cc = &bus->drv_cc; in bcma_boot_dev()
|
/linux/include/linux/bcma/ |
H A D | bcma_driver_chipcommon.h | 623 struct bcma_drv_cc { struct 689 extern u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks); 691 extern u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc); 693 void bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value); 695 u32 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask); 698 u32 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask); 699 u32 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value); 700 u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value); 701 u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value); 702 u32 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value); [all …]
|
H A D | bcma.h | 355 struct bcma_drv_cc drv_cc; 480 extern u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset);
|
/linux/drivers/mtd/devices/ |
H A D | bcm47xxsflash.h | 58 struct bcma_drv_cc; 66 struct bcma_drv_cc *bcma_cc;
|
H A D | bcm47xxsflash.c | 308 b47s->bcma_cc = container_of(sflash, struct bcma_drv_cc, sflash); in bcm47xxsflash_bcma_probe()
|
/linux/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 43 static int bcm47xxnflash_ops_bcm4706_ctl_cmd(struct bcma_drv_cc *cc, u32 code) in bcm47xxnflash_ops_bcm4706_ctl_cmd() 61 static int bcm47xxnflash_ops_bcm4706_poll(struct bcma_drv_cc *cc) in bcm47xxnflash_ops_bcm4706_poll() 140 struct bcma_drv_cc *cc = b47n->cc; in bcm47xxnflash_ops_bcm4706_write() 215 struct bcma_drv_cc *cc = b47n->cc; in bcm47xxnflash_ops_bcm4706_cmdfunc() 311 struct bcma_drv_cc *cc = b47n->cc; in bcm47xxnflash_ops_bcm4706_read_byte()
|
H A D | bcm47xxnflash.h | 13 struct bcma_drv_cc *cc;
|
H A D | main.c | 36 b47n->cc = container_of(nflash, struct bcma_drv_cc, nflash); in bcm47xxnflash_probe()
|
/linux/drivers/mtd/nand/raw/brcmnand/ |
H A D | bcma_nand.c | 15 struct bcma_drv_cc *cc; 108 soc->cc = container_of(nflash, struct bcma_drv_cc, nflash); in brcmnand_bcma_nand_probe()
|
/linux/arch/mips/bcm47xx/ |
H A D | serial.c | 57 struct bcma_drv_cc *cc = &(bcm47xx_bus.bcma.bus.drv_cc); in uart8250_init_bcma()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | led.c | 56 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bgmac-bcma.c | 67 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 D | bgmac-bcma-mdio.c | 153 struct bcma_drv_cc *cc = &bgmac->bcma.core->bus->drv_cc; in bcma_mdio_phy_init()
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_lcn.c | 589 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 D | main.c | 1205 struct bcma_drv_cc *bcma_cc __maybe_unused; in b43_wireless_core_phy_pll_reset()
|