pm-rcar.h 365 B

123456789101112131415
  1. #ifndef PM_RCAR_H
  2. #define PM_RCAR_H
  3. struct rcar_sysc_ch {
  4. u16 chan_offs;
  5. u8 chan_bit;
  6. u8 isr_bit;
  7. };
  8. int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch);
  9. int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch);
  10. bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch);
  11. void __iomem *rcar_sysc_init(phys_addr_t base);
  12. #endif /* PM_RCAR_H */