Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cs5535_pic_unreqz_select_high

Proto:static inline int cs5535_pic_unreqz_select_high(unsigned int group, unsigned int irq)

Type:int

Parameter:

TypeParameterName
unsigned intgroup
unsigned intirq
54  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_PIC_ZSEL_HIGH, lo, hi)
55  lo &= ~(0xF << group * 4 )
56  lo |= (irq & 0xF) << group * 4
57  wrmsr(MSR_PIC_ZSEL_HIGH, lo, hi)
58  Return 0