函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_qos_update_request - Modify existing frequency QoS request

函数原型:int freq_qos_update_request(struct freq_qos_request *req, s32 new_value)

返回类型:int

参数:

类型参数名称
struct freq_qos_request *req
s32new_value
793  如果非req则返回:负EINVAL
796  如果WARN(!freq_qos_request_active(req), "%s() called for unknown object\n", __func__)则返回:负EINVAL
800  如果prio恒等于new_value则返回:0
803  返回: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.