Home
last modified time | relevance | path

Searched refs:sysc_ch (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/arch/arm/mach-shmobile/
Dpm-rcar.c54 static int rcar_sysc_pwr_on_off(const struct rcar_sysc_ch *sysc_ch, bool on) in rcar_sysc_pwr_on_off() argument
78 iowrite32(BIT(sysc_ch->chan_bit), in rcar_sysc_pwr_on_off()
79 rcar_sysc_base + sysc_ch->chan_offs + reg_offs); in rcar_sysc_pwr_on_off()
84 static int rcar_sysc_power(const struct rcar_sysc_ch *sysc_ch, bool on) in rcar_sysc_power() argument
86 unsigned int isr_mask = BIT(sysc_ch->isr_bit); in rcar_sysc_power()
87 unsigned int chan_mask = BIT(sysc_ch->chan_bit); in rcar_sysc_power()
99 ret = rcar_sysc_pwr_on_off(sysc_ch, on); in rcar_sysc_power()
104 sysc_ch->chan_offs + PWRER_OFFS); in rcar_sysc_power()
132 sysc_ch->isr_bit, ioread32(rcar_sysc_base + SYSCISR), ret); in rcar_sysc_power()
136 int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch) in rcar_sysc_power_down() argument
[all …]
Dpm-rcar.h10 int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch);
11 int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch);
12 bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch);