Function report |
Source Code:arch\x86\kernel\cpu\intel_epb.c |
Create Date:2022-07-28 07:57:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:energy_perf_bias_store
Proto:static ssize_t energy_perf_bias_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct device_attribute * | attr | |
const char * | buf | |
size_t | count |
145 | If ret >= 0 Then val = energ_perf_values[ret] |
150 | ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, & epb) |
154 | ret = wrmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, (epb & ~EPB_MASK) | val) |
159 | Return count |
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 |