Function report |
Source Code:kernel\power\qos.c |
Create Date:2022-07-28 09:56:21 |
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_read_value - Get frequency QoS constraint for a given list.*@qos: Constraints to evaluate.*@type: QoS request type.
Proto:s32 freq_qos_read_value(struct freq_constraints *qos, enum freq_qos_req_type type)
Type:s32
Parameter:
Type | Parameter | Name |
---|---|---|
struct freq_constraints * | qos | |
enum freq_qos_req_type | type |
694 | Case type == FREQ_QOS_MIN |
695 | ret = If IS_ERR_OR_NULL(qos) Then FREQ_QOS_MIN_DEFAULT_VALUE Else pm_qos_read_value( & min_freq) |
698 | Break |
699 | Case type == FREQ_QOS_MAX |
700 | ret = If IS_ERR_OR_NULL(qos) Then FREQ_QOS_MAX_DEFAULT_VALUE Else pm_qos_read_value( & max_freq) |
703 | Break |
704 | Default |
709 | 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 |