Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\acpi\cppc_msr.c Create Date:2022-07-28 08:17:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpc_read_ffh

Proto:int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val)

Type:int

Parameter:

TypeParameterName
intcpunum
struct cpc_reg *reg
u64 *val
21  err = rdmsrl_safe_on_cpu(cpunum, address, val)
22  If Not err Then
23  mask = GENMASK_ULL(bit_offset + bit_width - 1, bit_offset)
26  val &= mask
27  val >>= bit_offset
29  Return err