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