Lines Matching full:devfreq

3  * devfreq-event: a framework to provide raw data and events of devfreq devices
8 * This driver is based on drivers/devfreq/devfreq.c.
11 #include <linux/devfreq-event.h>
22 /* The list of all devfreq event list */
29 * devfreq_event_enable_edev() - Enable the devfreq-event dev and increase
30 * the enable_count of devfreq-event dev.
31 * @edev : the devfreq-event device
34 * devfreq-event device. The devfreq-event device should be enabled before
35 * using it by devfreq device.
60 * devfreq_event_disable_edev() - Disable the devfreq-event dev and decrease
61 * the enable_count of the devfreq-event dev.
62 * @edev : the devfreq-event device
65 * devfreq-event device. After the devfreq-event device is disabled,
66 * devfreq device can't use the devfreq-event device for get/set/reset
98 * devfreq_event_is_enabled() - Check whether devfreq-event dev is enabled or
100 * @edev : the devfreq-event device
102 * Note that this function check whether devfreq-event dev is enabled or not.
103 * If return true, the devfreq-event dev is enabeld. If return false, the
104 * devfreq-event dev is disabled.
125 * devfreq_event_set_event() - Set event to devfreq-event dev to start.
126 * @edev : the devfreq-event device
128 * Note that this function set the event to the devfreq-event device to start
153 * devfreq_event_get_event() - Get {load|total}_count from devfreq-event dev.
154 * @edev : the devfreq-event device
155 * @edata : the calculated data of devfreq-event device
157 * Note that this function get the calculated event data from devfreq-event dev
158 * after stoping the progress of whole sequence of devfreq-event dev.
187 * devfreq_event_reset_event() - Reset all opeations of devfreq-event dev.
188 * @edev : the devfreq-event device
190 * Note that this function stop all operations of devfreq-event dev and reset
191 * the current event data to make the devfreq-event device into initial state.
213 * devfreq_event_get_edev_by_phandle() - Get the devfreq-event dev from
217 * @index : the index into list of devfreq-event device
219 * Note that this function return the pointer of devfreq-event device.
256 * devfreq_event_get_edev_count() - Get the count of devfreq-event dev
260 * Note that this function return the count of devfreq-event devices.
275 "failed to get the count of devfreq-event in %pOF node\n", in devfreq_event_get_edev_count()
292 * devfreq_event_add_edev() - Add new devfreq-event device.
293 * @dev : the device owning the devfreq-event device being created
294 * @desc : the devfreq-event device's descriptor which include essential
295 * data for devfreq-event device.
297 * Note that this function add new devfreq-event device to devfreq-event class
298 * list and register the device of the devfreq-event device.
346 * devfreq_event_remove_edev() - Remove the devfreq-event device registered.
347 * @edev : the devfreq-event device
349 * Note that this function removes the registered devfreq-event device.
385 * @dev : the device owning the devfreq-event device being created
386 * @desc : the devfreq-event device's descriptor which include essential
387 * data for devfreq-event device.
389 * Note that this function manages automatically the memory of devfreq-event
391 * for memory of devfreq-event device.
418 * @dev : the device owning the devfreq-event device being created
419 * @edev : the devfreq-event device
421 * Note that this function manages automatically the memory of devfreq-event
433 * Device attributes for devfreq-event class.
468 devfreq_event_class = class_create("devfreq-event"); in devfreq_event_init()