• Home
  • Raw
  • Download

Lines Matching refs:ret

248 	int ret = pm_qos_update_target(req->qos, &req->node, action, value);  in cpu_latency_qos_apply()  local
249 if (ret > 0) in cpu_latency_qos_apply()
388 int ret; in cpu_latency_qos_write() local
390 ret = kstrtos32_from_user(buf, count, 16, &value); in cpu_latency_qos_write()
391 if (ret) in cpu_latency_qos_write()
392 return ret; in cpu_latency_qos_write()
416 int ret; in cpu_latency_qos_init() local
418 ret = misc_register(&cpu_latency_qos_miscdev); in cpu_latency_qos_init()
419 if (ret < 0) in cpu_latency_qos_init()
423 return ret; in cpu_latency_qos_init()
470 s32 ret; in freq_qos_read_value() local
474 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
479 ret = IS_ERR_OR_NULL(qos) ? in freq_qos_read_value()
485 ret = 0; in freq_qos_read_value()
488 return ret; in freq_qos_read_value()
502 int ret; in freq_qos_apply() local
506 ret = pm_qos_update_target(&req->qos->min_freq, &req->pnode, in freq_qos_apply()
510 ret = pm_qos_update_target(&req->qos->max_freq, &req->pnode, in freq_qos_apply()
514 ret = -EINVAL; in freq_qos_apply()
517 return ret; in freq_qos_apply()
538 int ret; in freq_qos_add_request() local
549 ret = freq_qos_apply(req, PM_QOS_ADD_REQ, value); in freq_qos_add_request()
550 if (ret < 0) { in freq_qos_add_request()
555 trace_android_vh_freq_qos_add_request(qos, req, type, value, ret); in freq_qos_add_request()
556 return ret; in freq_qos_add_request()
600 int ret; in freq_qos_remove_request() local
610 ret = freq_qos_apply(req, PM_QOS_REMOVE_REQ, PM_QOS_DEFAULT_VALUE); in freq_qos_remove_request()
614 return ret; in freq_qos_remove_request()
628 int ret; in freq_qos_add_notifier() local
635 ret = blocking_notifier_chain_register(qos->min_freq.notifiers, in freq_qos_add_notifier()
639 ret = blocking_notifier_chain_register(qos->max_freq.notifiers, in freq_qos_add_notifier()
644 ret = -EINVAL; in freq_qos_add_notifier()
647 return ret; in freq_qos_add_notifier()
661 int ret; in freq_qos_remove_notifier() local
668 ret = blocking_notifier_chain_unregister(qos->min_freq.notifiers, in freq_qos_remove_notifier()
672 ret = blocking_notifier_chain_unregister(qos->max_freq.notifiers, in freq_qos_remove_notifier()
677 ret = -EINVAL; in freq_qos_remove_notifier()
680 return ret; in freq_qos_remove_notifier()