• Home
  • Raw
  • Download

Lines Matching refs:value

77 static void pm_qos_set_value(struct pm_qos_constraints *c, s32 value)  in pm_qos_set_value()  argument
79 WRITE_ONCE(c->target_value, value); in pm_qos_set_value()
100 enum pm_qos_req_action action, int value) in pm_qos_update_target() argument
108 if (value == PM_QOS_DEFAULT_VALUE) in pm_qos_update_target()
111 new_value = value; in pm_qos_update_target()
246 enum pm_qos_req_action action, s32 value) in cpu_latency_qos_apply() argument
248 int ret = pm_qos_update_target(req->qos, &req->node, action, value); in cpu_latency_qos_apply()
265 void cpu_latency_qos_add_request(struct pm_qos_request *req, s32 value) in cpu_latency_qos_add_request() argument
275 trace_pm_qos_add_request(value); in cpu_latency_qos_add_request()
278 cpu_latency_qos_apply(req, PM_QOS_ADD_REQ, value); in cpu_latency_qos_add_request()
367 s32 value; in cpu_latency_qos_read() local
373 value = pm_qos_get_value(&cpu_latency_constraints); in cpu_latency_qos_read()
376 return simple_read_from_buffer(buf, count, f_pos, &value, sizeof(s32)); in cpu_latency_qos_read()
382 s32 value; in cpu_latency_qos_write() local
385 if (copy_from_user(&value, buf, sizeof(s32))) in cpu_latency_qos_write()
390 ret = kstrtos32_from_user(buf, count, 16, &value); in cpu_latency_qos_write()
395 cpu_latency_qos_update_request(filp->private_data, value); in cpu_latency_qos_write()
430 static inline bool freq_qos_value_invalid(s32 value) in freq_qos_value_invalid() argument
432 return value < 0 && value != PM_QOS_DEFAULT_VALUE; in freq_qos_value_invalid()
500 enum pm_qos_req_action action, s32 value) in freq_qos_apply() argument
507 action, value); in freq_qos_apply()
511 action, value); in freq_qos_apply()
536 enum freq_qos_req_type type, s32 value) in freq_qos_add_request() argument
540 if (IS_ERR_OR_NULL(qos) || !req || freq_qos_value_invalid(value)) in freq_qos_add_request()
549 ret = freq_qos_apply(req, PM_QOS_ADD_REQ, value); in freq_qos_add_request()
555 trace_android_vh_freq_qos_add_request(qos, req, type, value, ret); in freq_qos_add_request()