函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\qos.c Create Date:2022-07-27 10:56:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:int freq_qos_apply(struct freq_qos_request *req, enum pm_qos_req_action action, s32 value)

返回类型:int

参数:

类型参数名称
struct freq_qos_request *req
enum pm_qos_req_actionaction
s32value
726  :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  退出
730  :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  退出
734  默认
735  ret等于负EINVAL
738  返回:ret
调用者
名称描述
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