Function report |
Source Code:kernel\power\qos.c |
Create Date:2022-07-28 09:56:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pm_qos_update_flags - Update a set of PM QoS flags
Proto:bool pm_qos_update_flags(struct pm_qos_flags *pqf, struct pm_qos_flags_request *req, enum pm_qos_req_action action, s32 val)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct pm_qos_flags * | pqf | |
struct pm_qos_flags_request * | req | |
enum pm_qos_req_action | action | |
s32 | val |
302 | spin_lock_irqsave( & pm_qos_lock, irqflags) |
304 | prev_value = If list_empty - tests whether a list is empty*@head: the list to test. Then 0 Else Do not change to 64 bit |
307 | Case action == PM_QOS_REMOVE_REQ |
310 | Case action == Update an existing request |
313 | Case action == Add a new request |
319 | Default |
324 | curr_value = If list_empty - tests whether a list is empty*@head: the list to test. Then 0 Else Do not change to 64 bit |
326 | spin_unlock_irqrestore( & pm_qos_lock, irqflags) |
329 | Return prev_value != curr_value |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |