pwrc_domain 59 drivers/soc/amlogic/meson-ee-pwrc.c bool (*get_power)(struct meson_ee_pwrc_domain *pwrc_domain); pwrc_domain 199 drivers/soc/amlogic/meson-ee-pwrc.c static bool pwrc_ee_get_power(struct meson_ee_pwrc_domain *pwrc_domain); pwrc_domain 240 drivers/soc/amlogic/meson-ee-pwrc.c static bool pwrc_ee_get_power(struct meson_ee_pwrc_domain *pwrc_domain) pwrc_domain 244 drivers/soc/amlogic/meson-ee-pwrc.c regmap_read(pwrc_domain->pwrc->regmap_ao, pwrc_domain 245 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->sleep_reg, ®); pwrc_domain 247 drivers/soc/amlogic/meson-ee-pwrc.c return (reg & pwrc_domain->desc.top_pd->sleep_mask); pwrc_domain 252 drivers/soc/amlogic/meson-ee-pwrc.c struct meson_ee_pwrc_domain *pwrc_domain = pwrc_domain 256 drivers/soc/amlogic/meson-ee-pwrc.c if (pwrc_domain->desc.top_pd) pwrc_domain 257 drivers/soc/amlogic/meson-ee-pwrc.c regmap_update_bits(pwrc_domain->pwrc->regmap_ao, pwrc_domain 258 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->sleep_reg, pwrc_domain 259 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->sleep_mask, pwrc_domain 260 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->sleep_mask); pwrc_domain 263 drivers/soc/amlogic/meson-ee-pwrc.c for (i = 0 ; i < pwrc_domain->desc.mem_pd_count ; ++i) pwrc_domain 264 drivers/soc/amlogic/meson-ee-pwrc.c regmap_update_bits(pwrc_domain->pwrc->regmap_hhi, pwrc_domain 265 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.mem_pd[i].reg, pwrc_domain 266 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.mem_pd[i].mask, pwrc_domain 267 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.mem_pd[i].mask); pwrc_domain 271 drivers/soc/amlogic/meson-ee-pwrc.c if (pwrc_domain->desc.top_pd) pwrc_domain 272 drivers/soc/amlogic/meson-ee-pwrc.c regmap_update_bits(pwrc_domain->pwrc->regmap_ao, pwrc_domain 273 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->iso_reg, pwrc_domain 274 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->iso_mask, pwrc_domain 275 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->iso_mask); pwrc_domain 277 drivers/soc/amlogic/meson-ee-pwrc.c if (pwrc_domain->num_clks) { pwrc_domain 279 drivers/soc/amlogic/meson-ee-pwrc.c clk_bulk_disable_unprepare(pwrc_domain->num_clks, pwrc_domain 280 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->clks); pwrc_domain 288 drivers/soc/amlogic/meson-ee-pwrc.c struct meson_ee_pwrc_domain *pwrc_domain = pwrc_domain 292 drivers/soc/amlogic/meson-ee-pwrc.c if (pwrc_domain->desc.top_pd) pwrc_domain 293 drivers/soc/amlogic/meson-ee-pwrc.c regmap_update_bits(pwrc_domain->pwrc->regmap_ao, pwrc_domain 294 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->sleep_reg, pwrc_domain 295 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->sleep_mask, 0); pwrc_domain 298 drivers/soc/amlogic/meson-ee-pwrc.c for (i = 0 ; i < pwrc_domain->desc.mem_pd_count ; ++i) pwrc_domain 299 drivers/soc/amlogic/meson-ee-pwrc.c regmap_update_bits(pwrc_domain->pwrc->regmap_hhi, pwrc_domain 300 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.mem_pd[i].reg, pwrc_domain 301 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.mem_pd[i].mask, 0); pwrc_domain 305 drivers/soc/amlogic/meson-ee-pwrc.c ret = reset_control_assert(pwrc_domain->rstc); pwrc_domain 309 drivers/soc/amlogic/meson-ee-pwrc.c if (pwrc_domain->desc.top_pd) pwrc_domain 310 drivers/soc/amlogic/meson-ee-pwrc.c regmap_update_bits(pwrc_domain->pwrc->regmap_ao, pwrc_domain 311 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->iso_reg, pwrc_domain 312 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->desc.top_pd->iso_mask, 0); pwrc_domain 314 drivers/soc/amlogic/meson-ee-pwrc.c ret = reset_control_deassert(pwrc_domain->rstc); pwrc_domain 318 drivers/soc/amlogic/meson-ee-pwrc.c return clk_bulk_prepare_enable(pwrc_domain->num_clks, pwrc_domain 319 drivers/soc/amlogic/meson-ee-pwrc.c pwrc_domain->clks);