Lines Matching refs:ssb_chipcommon
32 static inline u32 chipco_write32_masked(struct ssb_chipcommon *cc, u16 offset, in chipco_write32_masked()
42 void ssb_chipco_set_clockmode(struct ssb_chipcommon *cc, in ssb_chipco_set_clockmode()
119 static enum ssb_clksrc chipco_pctl_get_slowclksrc(struct ssb_chipcommon *cc) in chipco_pctl_get_slowclksrc()
150 static int chipco_pctl_clockfreqlimit(struct ssb_chipcommon *cc, int get_max) in chipco_pctl_clockfreqlimit()
211 static void chipco_powercontrol_init(struct ssb_chipcommon *cc) in chipco_powercontrol_init()
242 static u16 pmu_fast_powerup_delay(struct ssb_chipcommon *cc) in pmu_fast_powerup_delay()
259 static void calc_fast_powerup_delay(struct ssb_chipcommon *cc) in calc_fast_powerup_delay()
285 static u32 ssb_chipco_alp_clock(struct ssb_chipcommon *cc) in ssb_chipco_alp_clock()
293 static u32 ssb_chipco_watchdog_get_max_timer(struct ssb_chipcommon *cc) in ssb_chipco_watchdog_get_max_timer()
313 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); in ssb_chipco_watchdog_timer_set_wdt()
323 struct ssb_chipcommon *cc = bcm47xx_wdt_get_drvdata(wdt); in ssb_chipco_watchdog_timer_set_ms()
333 static int ssb_chipco_watchdog_ticks_per_ms(struct ssb_chipcommon *cc) in ssb_chipco_watchdog_ticks_per_ms()
348 void ssb_chipcommon_init(struct ssb_chipcommon *cc) in ssb_chipcommon_init()
375 void ssb_chipco_suspend(struct ssb_chipcommon *cc) in ssb_chipco_suspend()
382 void ssb_chipco_resume(struct ssb_chipcommon *cc) in ssb_chipco_resume()
391 void ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc, in ssb_chipco_get_clockcpu()
414 void ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc, in ssb_chipco_get_clockcontrol()
434 void ssb_chipco_timing_init(struct ssb_chipcommon *cc, in ssb_chipco_timing_init()
471 u32 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) in ssb_chipco_watchdog_timer_set()
494 void ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_irq_mask()
499 u32 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask) in ssb_chipco_irq_status()
504 u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask) in ssb_chipco_gpio_in()
509 u32 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_out()
521 u32 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_outen()
533 u32 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_control()
546 u32 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_intmask()
558 u32 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_polarity()
570 u32 ssb_chipco_gpio_pullup(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_pullup()
585 u32 ssb_chipco_gpio_pulldown(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_pulldown()
601 int ssb_chipco_serial_init(struct ssb_chipcommon *cc, in ssb_chipco_serial_init()