Function report |
Source Code:arch\x86\kernel\acpi\cppc_msr.c |
Create Date:2022-07-28 08:17:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpc_write_ffh
Proto:int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpunum | |
| struct cpc_reg * | reg | |
| u64 | val |
| 37 | err = rdmsrl_safe_on_cpu(cpunum, address, & rd_val) |
| 38 | If Not err Then |
| 39 | mask = GENMASK_ULL(bit_offset + bit_width - 1, bit_offset) |
| 42 | val <<= bit_offset |
| 46 | err = wrmsrl_safe_on_cpu(cpunum, address, rd_val) |
| 48 | Return err |
| 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 |