Lines Matching refs:devfreq
29 struct devfreq *devfreq; member
300 bus->devfreq = devm_devfreq_add_device(dev, profile, in exynos_bus_profile_init()
303 if (IS_ERR(bus->devfreq)) { in exynos_bus_profile_init()
305 return PTR_ERR(bus->devfreq); in exynos_bus_profile_init()
309 ret = devm_devfreq_register_opp_notifier(dev, bus->devfreq); in exynos_bus_profile_init()
345 struct devfreq *parent_devfreq; in exynos_bus_profile_init_passive()
363 bus->devfreq = devm_devfreq_add_device(dev, profile, DEVFREQ_GOV_PASSIVE, in exynos_bus_profile_init_passive()
365 if (IS_ERR(bus->devfreq)) { in exynos_bus_profile_init_passive()
368 return PTR_ERR(bus->devfreq); in exynos_bus_profile_init_passive()
435 max_state = bus->devfreq->max_state; in exynos_bus_probe()
436 min_freq = (bus->devfreq->freq_table[0] / 1000); in exynos_bus_probe()
437 max_freq = (bus->devfreq->freq_table[max_state - 1] / 1000); in exynos_bus_probe()
455 devfreq_suspend_device(bus->devfreq); in exynos_bus_shutdown()