Lines Matching refs:devfreq
28 struct devfreq *devfreq; member
312 bus->devfreq = devm_devfreq_add_device(dev, profile, in exynos_bus_profile_init()
315 if (IS_ERR(bus->devfreq)) { in exynos_bus_profile_init()
317 return PTR_ERR(bus->devfreq); in exynos_bus_profile_init()
321 ret = devm_devfreq_register_opp_notifier(dev, bus->devfreq); in exynos_bus_profile_init()
357 struct devfreq *parent_devfreq; in exynos_bus_profile_init_passive()
375 bus->devfreq = devm_devfreq_add_device(dev, profile, DEVFREQ_GOV_PASSIVE, in exynos_bus_profile_init_passive()
377 if (IS_ERR(bus->devfreq)) { in exynos_bus_profile_init_passive()
380 return PTR_ERR(bus->devfreq); in exynos_bus_profile_init_passive()
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()
459 devfreq_suspend_device(bus->devfreq); in exynos_bus_shutdown()