Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/soc/renesas/
Drcar-sysc.c67 static int rcar_sysc_pwr_on_off(const struct rcar_sysc_ch *sysc_ch, bool on) in rcar_sysc_pwr_on_off() argument
91 iowrite32(BIT(sysc_ch->chan_bit), in rcar_sysc_pwr_on_off()
92 rcar_sysc_base + sysc_ch->chan_offs + reg_offs); in rcar_sysc_pwr_on_off()
97 static int rcar_sysc_power(const struct rcar_sysc_ch *sysc_ch, bool on) in rcar_sysc_power() argument
99 unsigned int isr_mask = BIT(sysc_ch->isr_bit); in rcar_sysc_power()
100 unsigned int chan_mask = BIT(sysc_ch->chan_bit); in rcar_sysc_power()
121 ret = rcar_sysc_pwr_on_off(sysc_ch, on); in rcar_sysc_power()
126 sysc_ch->chan_offs + PWRER_OFFS); in rcar_sysc_power()
154 sysc_ch->isr_bit, ioread32(rcar_sysc_base + SYSCISR), ret); in rcar_sysc_power()
158 static bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch) in rcar_sysc_power_is_off() argument
[all …]