函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\mc146818rtc.h Create Date:2022-07-27 08:28:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:All of these below must be called with interrupts off, preempt* disabled, etc.

函数原型:static inline void lock_cmos(unsigned char reg)

返回类型:void

参数:

类型参数名称
unsigned charreg
44  new等于当前cpu ID()加1左移8位按位或reg
45  循环
46  如果cmos_lock
47  cpu_relax()
48  继续下一循环
50  如果__cmpxchg( & cmos_lock, 0, new, cmos_lock的长度)恒等于0则返回
调用者
名称描述
rtc_cmos_readRoutines for accessing the CMOS RAM/RTC.
rtc_cmos_write
reassert_nmi