Function report |
Source Code:kernel\power\qos.c |
Create Date:2022-07-28 09:56:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_qos_add_notifier - Add frequency QoS change notifier.*@qos: List of requests to add the notifier to.*@type: Request type.*@notifier: Notifier block to add.
Proto:int freq_qos_add_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct freq_constraints * | qos | |
| enum freq_qos_req_type | type | |
| struct notifier_block * | notifier |
| 848 | If IS_ERR_OR_NULL(qos) || Not notifier Then Return -EINVAL |
| 852 | Case type == FREQ_QOS_MIN |
| 855 | Break |
| 856 | Case type == FREQ_QOS_MAX |
| 859 | Break |
| 860 | Default |
| 865 | Return ret |
| 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 |