Searched refs:devfreq (Results 1 – 14 of 14) sorted by relevance
/linux-3.4.99/drivers/devfreq/ |
D | devfreq.c | 43 static struct devfreq *wait_remove_device; 56 static struct devfreq *find_device_devfreq(struct device *dev) in find_device_devfreq() 58 struct devfreq *tmp_devfreq; in find_device_devfreq() 82 int update_devfreq(struct devfreq *devfreq) in update_devfreq() argument 88 if (!mutex_is_locked(&devfreq->lock)) { in update_devfreq() 94 err = devfreq->governor->get_target_freq(devfreq, &freq); in update_devfreq() 106 if (devfreq->min_freq && freq < devfreq->min_freq) { in update_devfreq() 107 freq = devfreq->min_freq; in update_devfreq() 110 if (devfreq->max_freq && freq > devfreq->max_freq) { in update_devfreq() 111 freq = devfreq->max_freq; in update_devfreq() [all …]
|
D | governor_userspace.c | 24 static int devfreq_userspace_func(struct devfreq *df, unsigned long *freq) in devfreq_userspace_func() 47 struct devfreq *devfreq = to_devfreq(dev); in store_freq() local 53 mutex_lock(&devfreq->lock); in store_freq() 54 data = devfreq->data; in store_freq() 59 err = update_devfreq(devfreq); in store_freq() 62 mutex_unlock(&devfreq->lock); in store_freq() 69 struct devfreq *devfreq = to_devfreq(dev); in show_freq() local 73 mutex_lock(&devfreq->lock); in show_freq() 74 data = devfreq->data; in show_freq() 80 mutex_unlock(&devfreq->lock); in show_freq() [all …]
|
D | Kconfig | 5 devfreq, a generic DVFS framework can be registered for a device 6 in order to let the governor provided to devfreq choose an 11 notification to "nb", a notifier block, of devfreq. 15 determined by the single device's state, an instance of devfreq 18 to a device by 1-to-1. The device registering devfreq takes the 21 given to devfreq. 23 When OPP is used with the devfreq device, it is recommended to 24 register devfreq's nb to the OPP's notifier head. If OPP is 25 used with the devfreq device, you may use OPP helper 26 functions defined in devfreq.h.
|
D | governor.h | 19 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev) 22 extern int update_devfreq(struct devfreq *devfreq);
|
D | exynos4_bus.c | 79 struct devfreq *devfreq; member 746 devfreq_unregister_opp_notifier(dev, data->devfreq); in exynos4_bus_exit() 1047 data->devfreq = devfreq_add_device(dev, &exynos4_devfreq_profile, in exynos4_busfreq_probe() 1049 if (IS_ERR(data->devfreq)) { in exynos4_busfreq_probe() 1050 err = PTR_ERR(data->devfreq); in exynos4_busfreq_probe() 1054 devfreq_register_opp_notifier(dev, data->devfreq); in exynos4_busfreq_probe() 1064 devfreq_remove_device(data->devfreq); in exynos4_busfreq_probe() 1079 devfreq_remove_device(data->devfreq); in exynos4_busfreq_remove()
|
D | governor_powersave.c | 14 static int devfreq_powersave_func(struct devfreq *df, in devfreq_powersave_func()
|
D | governor_performance.c | 14 static int devfreq_performance_func(struct devfreq *df, in devfreq_performance_func()
|
D | Makefile | 1 obj-$(CONFIG_PM_DEVFREQ) += devfreq.o
|
D | governor_simpleondemand.c | 19 static int devfreq_simple_ondemand_func(struct devfreq *df, in devfreq_simple_ondemand_func()
|
/linux-3.4.99/include/linux/ |
D | devfreq.h | 22 struct devfreq; 109 int (*get_target_freq)(struct devfreq *this, unsigned long *freq); 110 int (*init)(struct devfreq *this); 111 void (*exit)(struct devfreq *this); 148 struct devfreq { struct 170 extern struct devfreq *devfreq_add_device(struct device *dev, argument 174 extern int devfreq_remove_device(struct devfreq *devfreq); 180 struct devfreq *devfreq); 182 struct devfreq *devfreq); 215 static struct devfreq *devfreq_add_device(struct device *dev, in devfreq_add_device() [all …]
|
/linux-3.4.99/Documentation/ABI/testing/ |
D | sysfs-class-devfreq | 1 What: /sys/class/devfreq/.../ 5 Provide a place in sysfs for the devfreq objects. 6 This allows accessing various devfreq specific variables. 7 The name of devfreq object denoted as ... is same as the 8 name of device using devfreq. 10 What: /sys/class/devfreq/.../governor 14 The /sys/class/devfreq/.../governor shows the name of the 15 governor used by the corresponding devfreq object. 17 What: /sys/class/devfreq/.../cur_freq 21 The /sys/class/devfreq/.../cur_freq shows the current [all …]
|
/linux-3.4.99/drivers/ |
D | Kconfig | 141 source "drivers/devfreq/Kconfig"
|
D | Makefile | 136 obj-$(CONFIG_PM_DEVFREQ) += devfreq/
|
/linux-3.4.99/ |
D | MAINTAINERS | 2218 F: drivers/devfreq/
|