1 #ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__
2 #define __LINUX_SOC_RENESAS_RCAR_SYSC_H__
3 
4 #include <linux/types.h>
5 
6 struct rcar_sysc_ch {
7 	u16 chan_offs;
8 	u8 chan_bit;
9 	u8 isr_bit;
10 };
11 
12 int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch);
13 int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch);
14 void rcar_sysc_init(phys_addr_t base, u32 syscier);
15 
16 #endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */
17