Lines Matching refs:pmu_data
23 const struct exynos_pmu_data *pmu_data; member
42 const struct exynos_pmu_data *pmu_data; in exynos_sys_powerdown_conf() local
44 if (!pmu_context || !pmu_context->pmu_data) in exynos_sys_powerdown_conf()
47 pmu_data = pmu_context->pmu_data; in exynos_sys_powerdown_conf()
49 if (pmu_data->powerdown_conf) in exynos_sys_powerdown_conf()
50 pmu_data->powerdown_conf(mode); in exynos_sys_powerdown_conf()
52 if (pmu_data->pmu_config) { in exynos_sys_powerdown_conf()
53 for (i = 0; (pmu_data->pmu_config[i].offset != PMU_TABLE_END); i++) in exynos_sys_powerdown_conf()
54 pmu_raw_writel(pmu_data->pmu_config[i].val[mode], in exynos_sys_powerdown_conf()
55 pmu_data->pmu_config[i].offset); in exynos_sys_powerdown_conf()
58 if (pmu_data->powerdown_conf_extra) in exynos_sys_powerdown_conf()
59 pmu_data->powerdown_conf_extra(mode); in exynos_sys_powerdown_conf()
130 pmu_context->pmu_data = of_device_get_match_data(dev); in exynos_pmu_probe()
132 if (pmu_context->pmu_data && pmu_context->pmu_data->pmu_init) in exynos_pmu_probe()
133 pmu_context->pmu_data->pmu_init(); in exynos_pmu_probe()