https://github.com/torvalds/linux
Raw File
Tip revision: ba155e2d21f6bf05de86a78dbe5bfd8757604a65 authored by Linus Torvalds on 25 May 2015, 01:22:35 UTC
Linux 4.1-rc5
Tip revision: ba155e2
pm-rcar.h
#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 */
back to top