Searched refs:pm_qos_class (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/kernel/power/ |
H A D | qos.c | 391 * @pm_qos_class: identification of which qos value is requested 395 int pm_qos_request(int pm_qos_class) pm_qos_request() argument 397 return pm_qos_read_value(pm_qos_array[pm_qos_class]->constraints); pm_qos_request() 403 return req->pm_qos_class != 0; pm_qos_request_active() 410 trace_pm_qos_update_request(req->pm_qos_class, new_value); __pm_qos_update_request() 414 pm_qos_array[req->pm_qos_class]->constraints, __pm_qos_update_request() 436 * @pm_qos_class: identifies which list of qos request to use 439 * This function inserts a new entry in the pm_qos_class list of requested qos 441 * for the pm_qos_class of parameters and initializes the pm_qos_request 447 int pm_qos_class, s32 value) pm_qos_add_request() 456 req->pm_qos_class = pm_qos_class; pm_qos_add_request() 458 trace_pm_qos_add_request(pm_qos_class, value); pm_qos_add_request() 459 pm_qos_update_target(pm_qos_array[pm_qos_class]->constraints, pm_qos_add_request() 469 * Updates an existing qos request for the pm_qos_class of parameters along 470 * with updating the target pm_qos_class value. 509 trace_pm_qos_update_request_timeout(req->pm_qos_class, pm_qos_update_request_timeout() 513 pm_qos_array[req->pm_qos_class]->constraints, pm_qos_update_request_timeout() 524 * recompute the current target value for the pm_qos_class. Call this 540 trace_pm_qos_remove_request(req->pm_qos_class, PM_QOS_DEFAULT_VALUE); pm_qos_remove_request() 541 pm_qos_update_target(pm_qos_array[req->pm_qos_class]->constraints, pm_qos_remove_request() 550 * @pm_qos_class: identifies which qos target changes should be notified. 554 * upon changes to the pm_qos_class target value. 556 int pm_qos_add_notifier(int pm_qos_class, struct notifier_block *notifier) pm_qos_add_notifier() argument 561 pm_qos_array[pm_qos_class]->constraints->notifiers, pm_qos_add_notifier() 570 * @pm_qos_class: identifies which qos target changes are notified. 574 * upon changes to the pm_qos_class target value. 576 int pm_qos_remove_notifier(int pm_qos_class, struct notifier_block *notifier) pm_qos_remove_notifier() argument 581 pm_qos_array[pm_qos_class]->constraints->notifiers, pm_qos_remove_notifier() 605 int pm_qos_class; find_pm_qos_object_by_minor() local 607 for (pm_qos_class = PM_QOS_CPU_DMA_LATENCY; find_pm_qos_object_by_minor() 608 pm_qos_class < PM_QOS_NUM_CLASSES; pm_qos_class++) { find_pm_qos_object_by_minor() 610 pm_qos_array[pm_qos_class]->pm_qos_power_miscdev.minor) find_pm_qos_object_by_minor() 611 return pm_qos_class; find_pm_qos_object_by_minor() 618 long pm_qos_class; pm_qos_power_open() local 620 pm_qos_class = find_pm_qos_object_by_minor(iminor(inode)); pm_qos_power_open() 621 if (pm_qos_class >= PM_QOS_CPU_DMA_LATENCY) { pm_qos_power_open() 626 pm_qos_add_request(req, pm_qos_class, PM_QOS_DEFAULT_VALUE); pm_qos_power_open() 659 value = pm_qos_get_value(pm_qos_array[req->pm_qos_class]->constraints); pm_qos_power_read() 446 pm_qos_add_request(struct pm_qos_request *req, int pm_qos_class, s32 value) pm_qos_add_request() argument
|
/linux-4.4.14/include/trace/events/ |
H A D | power.h | 313 TP_PROTO(int pm_qos_class, s32 value), 315 TP_ARGS(pm_qos_class, value), 318 __field( int, pm_qos_class ) 323 __entry->pm_qos_class = pm_qos_class; 327 TP_printk("pm_qos_class=%s value=%d", 328 __print_symbolic(__entry->pm_qos_class, 337 TP_PROTO(int pm_qos_class, s32 value), 339 TP_ARGS(pm_qos_class, value) 344 TP_PROTO(int pm_qos_class, s32 value), 346 TP_ARGS(pm_qos_class, value) 351 TP_PROTO(int pm_qos_class, s32 value), 353 TP_ARGS(pm_qos_class, value) 358 TP_PROTO(int pm_qos_class, s32 value, unsigned long timeout_us), 360 TP_ARGS(pm_qos_class, value, timeout_us), 363 __field( int, pm_qos_class ) 369 __entry->pm_qos_class = pm_qos_class; 374 TP_printk("pm_qos_class=%s value=%d, timeout_us=%ld", 375 __print_symbolic(__entry->pm_qos_class,
|
/linux-4.4.14/include/linux/ |
H A D | pm_qos.h | 47 int pm_qos_class; member in struct:pm_qos_request 123 void pm_qos_add_request(struct pm_qos_request *req, int pm_qos_class, 131 int pm_qos_request(int pm_qos_class); 132 int pm_qos_add_notifier(int pm_qos_class, struct notifier_block *notifier); 133 int pm_qos_remove_notifier(int pm_qos_class, struct notifier_block *notifier);
|
/linux-4.4.14/include/linux/mfd/ |
H A D | dbx500-prcmu.h | 612 int prcmu_qos_requirement(int pm_qos_class); 613 int prcmu_qos_add_requirement(int pm_qos_class, char *name, s32 value); 614 int prcmu_qos_update_requirement(int pm_qos_class, char *name, s32 new_value); 615 void prcmu_qos_remove_requirement(int pm_qos_class, char *name);
|
Completed in 85 milliseconds