Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cs5535.h Create Date:2022-07-28 07:46:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cs5535_has_vsa2

Proto:static inline int cs5535_has_vsa2(void)

Type:int

Parameter:Nothing

123  has_vsa2 = -1
125  If has_vsa2 == -1 Then
132  outw(unlock virtual register , VSA2 magic values )
133  outw(VSA_VR_SIGNATURE, VSA2 magic values )
135  val = inw(VSA_VRC_DATA)
136  has_vsa2 = val == signature is ascii 'VSA2' || val == General Software signature
139  Return has_vsa2