Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pmdomain/amlogic/
H A Dmeson-gx-pwrc-vpu.c34 struct regmap *regmap_ao; member
52 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_off()
74 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_off()
90 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_power_off()
117 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_power_off()
149 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_on()
273 struct regmap *regmap_ao, *regmap_hhi; in meson_gx_pwrc_vpu_probe() local
295 regmap_ao = syscon_node_to_regmap(parent_np); in meson_gx_pwrc_vpu_probe()
297 if (IS_ERR(regmap_ao)) { in meson_gx_pwrc_vpu_probe()
299 return PTR_ERR(regmap_ao); in meson_gx_pwrc_vpu_probe()
[all …]
H A Dmeson-ee-pwrc.c327 struct regmap *regmap_ao; member
337 regmap_read(pwrc_domain->pwrc->regmap_ao, in pwrc_ee_is_powered_off()
350 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_off()
365 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_off()
386 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_on()
403 regmap_update_bits(pwrc_domain->pwrc->regmap_ao, in meson_ee_pwrc_on()
487 struct regmap *regmap_ao, *regmap_hhi; in meson_ee_pwrc_probe() local
523 regmap_ao = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in meson_ee_pwrc_probe()
525 if (IS_ERR(regmap_ao)) { in meson_ee_pwrc_probe()
527 return PTR_ERR(regmap_ao); in meson_ee_pwrc_probe()
[all …]
/openbmc/u-boot/drivers/power/domain/
H A Dmeson-gx-pwrc-vpu.c31 struct regmap *regmap_ao; member
52 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
80 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_on()
99 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_off()
121 regmap_update_bits(priv->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_off()
163 priv->regmap_ao = syscon_node_to_regmap(dev_get_parent(dev)->node); in meson_gx_pwrc_vpu_probe()
164 if (IS_ERR(priv->regmap_ao)) in meson_gx_pwrc_vpu_probe()
165 return PTR_ERR(priv->regmap_ao); in meson_gx_pwrc_vpu_probe()
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec_1.c147 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, in vdec_1_stop()
150 regmap_write(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, 0xc0); in vdec_1_stop()
155 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_1_stop()
158 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_1_stop()
183 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_1_start()
186 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_1_start()
200 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, in vdec_1_start()
203 regmap_write(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, 0); in vdec_1_start()
H A Dvdec_hevc.c128 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, in vdec_hevc_stop()
132 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, in vdec_hevc_stop()
139 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_hevc_stop()
143 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_hevc_stop()
178 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_hevc_start()
181 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in vdec_hevc_start()
196 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, in vdec_hevc_start()
199 regmap_update_bits(core->regmap_ao, AO_RTI_GEN_PWR_ISO0, in vdec_hevc_start()
H A Dvdec.h73 struct regmap *regmap_ao; member
H A Dvdec.c1016 core->regmap_ao = in vdec_probe()
1019 if (IS_ERR(core->regmap_ao)) { in vdec_probe()
1021 return PTR_ERR(core->regmap_ao); in vdec_probe()