Lines Matching defs:profile
292 struct devfreq_dev_profile *profile)
298 /* Initialize the struct profile and governor data for parent device */
299 profile->polling_ms = 50;
300 profile->target = exynos_bus_target;
301 profile->get_dev_status = exynos_bus_get_dev_status;
302 profile->exit = exynos_bus_exit;
312 bus->devfreq = devm_devfreq_add_device(dev, profile,
353 struct devfreq_dev_profile *profile)
359 /* Initialize the struct profile and governor data for passive device */
360 profile->target = exynos_bus_target;
361 profile->exit = exynos_bus_passive_exit;
375 bus->devfreq = devm_devfreq_add_device(dev, profile, DEVFREQ_GOV_PASSIVE,
390 struct devfreq_dev_profile *profile;
408 profile = devm_kzalloc(dev, sizeof(*profile), GFP_KERNEL);
409 if (!profile)
428 ret = exynos_bus_profile_init_passive(bus, profile);
430 ret = exynos_bus_profile_init(bus, profile);
435 max_state = bus->devfreq->profile->max_state;
436 min_freq = (bus->devfreq->profile->freq_table[0] / 1000);
437 max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000);