Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\qos.c Create Date:2022-07-28 09:56:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:q_qos_apply - Add/modify/remove frequency QoS request.*@req: Constraint request to apply.*@action: Action to perform (add/update/remove).*@value: Value to assign to the QoS request.* This is only meant to be called from inside pm_qos, not drivers.

Proto:int freq_qos_apply(struct freq_qos_request *req, enum pm_qos_req_action action, s32 value)

Type:int

Parameter:

TypeParameterName
struct freq_qos_request *req
enum pm_qos_req_actionaction
s32value
726  Case type == FREQ_QOS_MIN
727  ret = pm_qos_update_target - manages the constraints list and calls the notifiers* if needed*@c: constraints data struct*@node: request to add to the list, to update or to remove*@action: action to take on the constraints list*@value: value of the request to
729  Break
730  Case type == FREQ_QOS_MAX
731  ret = pm_qos_update_target - manages the constraints list and calls the notifiers* if needed*@c: constraints data struct*@node: request to add to the list, to update or to remove*@action: action to take on the constraints list*@value: value of the request to
733  Break
734  Default
735  ret = -EINVAL
738  Return ret
Caller
NameDescribe
freq_qos_add_requestq_qos_add_request - Insert new frequency QoS request into a given list.*@qos: Constraints to update.*@req: Preallocated request object.*@type: Request type.*@value: Request value.* Insert a new entry into the @qos list of requests, recompute the effective
freq_qos_update_requestq_qos_update_request - Modify existing frequency QoS request
freq_qos_remove_requestq_qos_remove_request - Remove frequency QoS request from its list