Lines Matching refs:pmu_data
22 const struct exynos_pmu_data *pmu_data; member
41 const struct exynos_pmu_data *pmu_data; in exynos_sys_powerdown_conf() local
43 if (!pmu_context || !pmu_context->pmu_data) in exynos_sys_powerdown_conf()
46 pmu_data = pmu_context->pmu_data; in exynos_sys_powerdown_conf()
48 if (pmu_data->powerdown_conf) in exynos_sys_powerdown_conf()
49 pmu_data->powerdown_conf(mode); in exynos_sys_powerdown_conf()
51 if (pmu_data->pmu_config) { in exynos_sys_powerdown_conf()
52 for (i = 0; (pmu_data->pmu_config[i].offset != PMU_TABLE_END); i++) in exynos_sys_powerdown_conf()
53 pmu_raw_writel(pmu_data->pmu_config[i].val[mode], in exynos_sys_powerdown_conf()
54 pmu_data->pmu_config[i].offset); in exynos_sys_powerdown_conf()
57 if (pmu_data->powerdown_conf_extra) in exynos_sys_powerdown_conf()
58 pmu_data->powerdown_conf_extra(mode); in exynos_sys_powerdown_conf()
126 pmu_context->pmu_data = of_device_get_match_data(dev); in exynos_pmu_probe()
128 if (pmu_context->pmu_data && pmu_context->pmu_data->pmu_init) in exynos_pmu_probe()
129 pmu_context->pmu_data->pmu_init(); in exynos_pmu_probe()