Lines Matching defs:sysc_ch
69 static int rcar_sysc_pwr_on_off(const struct rcar_sysc_ch *sysc_ch, bool on)
91 iowrite32(BIT(sysc_ch->chan_bit),
92 rcar_sysc_base + sysc_ch->chan_offs + reg_offs);
97 static int rcar_sysc_power(const struct rcar_sysc_ch *sysc_ch, bool on)
99 unsigned int isr_mask = BIT(sysc_ch->isr_bit);
100 unsigned int chan_mask = BIT(sysc_ch->chan_bit);
128 ret = rcar_sysc_pwr_on_off(sysc_ch, on);
133 sysc_ch->chan_offs + PWRER_OFFS);
161 sysc_ch->isr_bit, ioread32(rcar_sysc_base + SYSCISR), ret);
165 static bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch)
169 st = ioread32(rcar_sysc_base + sysc_ch->chan_offs + PWRSR_OFFS);
170 if (st & BIT(sysc_ch->chan_bit))