Lines Matching refs:sysc_ch
68 static int rcar_sysc_pwr_on_off(const struct rcar_sysc_ch *sysc_ch, bool on) in rcar_sysc_pwr_on_off() argument
92 iowrite32(BIT(sysc_ch->chan_bit), in rcar_sysc_pwr_on_off()
93 rcar_sysc_base + sysc_ch->chan_offs + reg_offs); in rcar_sysc_pwr_on_off()
98 static int rcar_sysc_power(const struct rcar_sysc_ch *sysc_ch, bool on) in rcar_sysc_power() argument
100 unsigned int isr_mask = BIT(sysc_ch->isr_bit); in rcar_sysc_power()
101 unsigned int chan_mask = BIT(sysc_ch->chan_bit); in rcar_sysc_power()
130 ret = rcar_sysc_pwr_on_off(sysc_ch, on); in rcar_sysc_power()
135 sysc_ch->chan_offs + PWRER_OFFS); in rcar_sysc_power()
166 sysc_ch->isr_bit, ioread32(rcar_sysc_base + SYSCISR), ret); in rcar_sysc_power()
170 static bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch) in rcar_sysc_power_is_off() argument
174 st = ioread32(rcar_sysc_base + sysc_ch->chan_offs + PWRSR_OFFS); in rcar_sysc_power_is_off()
175 if (st & BIT(sysc_ch->chan_bit)) in rcar_sysc_power_is_off()