Lines Matching refs:profile
292 struct devfreq_dev_profile *profile) in exynos_bus_profile_init() argument
299 profile->polling_ms = 50; in exynos_bus_profile_init()
300 profile->target = exynos_bus_target; in exynos_bus_profile_init()
301 profile->get_dev_status = exynos_bus_get_dev_status; in exynos_bus_profile_init()
302 profile->exit = exynos_bus_exit; in exynos_bus_profile_init()
312 bus->devfreq = devm_devfreq_add_device(dev, profile, in exynos_bus_profile_init()
353 struct devfreq_dev_profile *profile) in exynos_bus_profile_init_passive() argument
360 profile->target = exynos_bus_target; in exynos_bus_profile_init_passive()
361 profile->exit = exynos_bus_passive_exit; in exynos_bus_profile_init_passive()
375 bus->devfreq = devm_devfreq_add_device(dev, profile, DEVFREQ_GOV_PASSIVE, in exynos_bus_profile_init_passive()
390 struct devfreq_dev_profile *profile; in exynos_bus_probe() local
408 profile = devm_kzalloc(dev, sizeof(*profile), GFP_KERNEL); in exynos_bus_probe()
409 if (!profile) in exynos_bus_probe()
428 ret = exynos_bus_profile_init_passive(bus, profile); in exynos_bus_probe()
430 ret = exynos_bus_profile_init(bus, profile); in exynos_bus_probe()
435 max_state = bus->devfreq->profile->max_state; in exynos_bus_probe()
436 min_freq = (bus->devfreq->profile->freq_table[0] / 1000); in exynos_bus_probe()
437 max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000); in exynos_bus_probe()