Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-stm32.c stm32_rtc_alarm_irq_enable() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-stm32.c stm32_rtc_clean_outs() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->base 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc 72
BUF_SIZE 0 rtc->dbp (-1)-s32max
BUF_SIZE 0 rtc->irq_alarm s32min-(-1),1-s32max
BUF_SIZE 0 rtc->pclk (-1)-s32max
BUF_SIZE 0 rtc->rtc_ck (-1),1-s32max
BUF_SIZE 0 rtc->rtc_dev 2824
BUF_SIZE 0 rtc->rtc_dev->ops 88
DATA_SOURCE 0 rtc $0
MEM_ZERO 0 rtc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rtc->rtc_dev->char_dev.count

drivers/rtc/rtc-stm32.c stm32_rtc_init() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->base 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc 72
BUF_SIZE 0 rtc->dbp (-1)-s32max
BUF_SIZE 0 rtc->pclk (-1)-s32max
BUF_SIZE 0 rtc->rtc_ck (-1),1-s32max
DATA_SOURCE 0 rtc $1
MEM_ZERO 0 rtc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/rtc/rtc-stm32.c stm32_rtc_pinmux_action_alarm() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
BUF_SIZE 0 rtc 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
DATA_SOURCE 0 rtc r pinctrl_dev_get_drvdata
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/rtc/rtc-stm32.c stm32_rtc_remove() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
CAPPED_DATA 0 rtc->clk_lsco 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtc unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/rtc/rtc-stm32.c stm32_rtc_set_alarm() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-stm32.c stm32_rtc_set_time() -> stm32_rtc_wpr_lock()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtc unit_byte
HALF_LOCKED2 &rtc->ops_lock