Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-pm8xxx.c pm8xxx_rtc_update_offset() -> pm8xxx_rtc_write_nvmem_offset()

Type Parameter Key Value
PARAM_VALUE 0 rtc_dd 4096-ptr_max
PARAM_VALUE 0 rtc_dd->allow_set_time 0
PARAM_VALUE 0 rtc_dd->nvmem_cell 1-u64max
PARAM_VALUE 0 rtc_dd->regmap 4096-ptr_max
PARAM_VALUE 0 rtc_dd->regmap->cache_dirty 0-1
PARAM_VALUE 0 rtc_dd->regs 4096-ptr_max
PARAM_VALUE 0 *rtc_dd->regmap->work_buf (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 rtc_dd s32min-(-2),1-s32max
BUF_SIZE 0 rtc_dd s32min-(-2),1-s32max
DATA_SOURCE 0 rtc_dd $0
PARAM_COMPARE 1 offset != $0->offset
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc_dd unit_byte
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-pm8xxx.c pm8xxx_shutdown() -> pm8xxx_rtc_write_nvmem_offset()

Type Parameter Key Value
PARAM_VALUE 0 rtc_dd 4096-ptr_max
PARAM_VALUE 0 rtc_dd->nvmem_cell 1-u64max
PARAM_VALUE 0 rtc_dd->offset_dirty 1
BUF_SIZE 0 rtc_dd s32min-(-2),1-s32max
BUF_SIZE 0 rtc_dd s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rtc_dd unit_byte
LOCK2 &_dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex