summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/pm-rcar.h
blob: ef3a1ef628f18b006a20ddd49da24191633485ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PM_RCAR_H
#define PM_RCAR_H

struct rcar_sysc_ch {
	unsigned long chan_offs;
	unsigned int chan_bit;
	unsigned int isr_bit;
};

int rcar_sysc_power_down(struct rcar_sysc_ch *sysc_ch);
int rcar_sysc_power_up(struct rcar_sysc_ch *sysc_ch);
bool rcar_sysc_power_is_off(struct rcar_sysc_ch *sysc_ch);
void __iomem *rcar_sysc_init(phys_addr_t base);

#endif /* PM_RCAR_H */