Lines Matching refs:ssb_chipcommon

581  * Check availability with ((struct ssb_chipcommon)->capabilities & SSB_CHIPCO_CAP_PMU)
588 struct ssb_chipcommon {
600 static inline bool ssb_chipco_available(struct ssb_chipcommon *cc)
616 extern void ssb_chipcommon_init(struct ssb_chipcommon *cc);
618 extern void ssb_chipco_suspend(struct ssb_chipcommon *cc);
619 extern void ssb_chipco_resume(struct ssb_chipcommon *cc);
621 extern void ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc,
623 extern void ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc,
625 extern void ssb_chipco_timing_init(struct ssb_chipcommon *cc,
634 extern void ssb_chipco_set_clockmode(struct ssb_chipcommon *cc,
637 extern u32 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks);
639 void ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value);
641 u32 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask);
644 u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask);
645 u32 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value);
646 u32 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value);
647 u32 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value);
648 u32 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value);
649 u32 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value);
650 u32 ssb_chipco_gpio_pullup(struct ssb_chipcommon *cc, u32 mask, u32 value);
651 u32 ssb_chipco_gpio_pulldown(struct ssb_chipcommon *cc, u32 mask, u32 value);
654 extern int ssb_chipco_serial_init(struct ssb_chipcommon *cc,
659 extern void ssb_pmu_init(struct ssb_chipcommon *cc);
668 void ssb_pmu_set_ldo_voltage(struct ssb_chipcommon *cc,
670 void ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on);
671 void ssb_pmu_spuravoid_pllupdate(struct ssb_chipcommon *cc, int spuravoid);