Defined in 1 files as a variable:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/rtc/rtc-omap.c omap_rtc_alarm_irq_enable() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_alarm_irq_enable() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 72

drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 0

drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 68

drivers/rtc/rtc-omap.c omap_rtc_probe() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->base 4096-ptr_max
PARAM_VALUE 1 reg 84
BUF_SIZE 0 rtc 56
BUF_SIZE 0 rtc->clk (-1),1-s32max
BUF_SIZE 0 rtc->irq_alarm s32min-(-1),1-s32max
BUF_SIZE 0 rtc->irq_timer s32min-(-1),1-s32max
DATA_SOURCE 0 rtc r devm_kzalloc
MEM_ZERO 0 rtc
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/rtc-omap.c omap_rtc_probe() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->base 4096-ptr_max
PARAM_VALUE 1 reg 68
BUF_SIZE 0 rtc 56
BUF_SIZE 0 rtc->clk (-1),1-s32max
BUF_SIZE 0 rtc->irq_alarm s32min-(-1),1-s32max
BUF_SIZE 0 rtc->irq_timer s32min-(-1),1-s32max
DATA_SOURCE 0 rtc r devm_kzalloc
MEM_ZERO 0 rtc
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/rtc-omap.c omap_rtc_probe() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->base 4096-ptr_max
PARAM_VALUE 1 reg 64
BUF_SIZE 0 rtc 56
BUF_SIZE 0 rtc->clk (-1),1-s32max
BUF_SIZE 0 rtc->irq_alarm s32min-(-1),1-s32max
BUF_SIZE 0 rtc->irq_timer s32min-(-1),1-s32max
DATA_SOURCE 0 rtc r devm_kzalloc
MEM_ZERO 0 rtc
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/rtc-omap.c omap_rtc_probe() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->base 4096-ptr_max
PARAM_VALUE 1 reg 84
BUF_SIZE 0 rtc 56
BUF_SIZE 0 rtc->clk (-1),1-s32max
BUF_SIZE 0 rtc->irq_alarm s32min-(-1),1-s32max
BUF_SIZE 0 rtc->irq_timer s32min-(-1),1-s32max
DATA_SOURCE 0 rtc r devm_kzalloc
MEM_ZERO 0 rtc
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 32
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 36
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 40
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 44
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 48
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 52
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-omap.c omap_rtc_read_alarm() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_read_time_raw() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 irq

drivers/rtc/rtc-omap.c omap_rtc_read_time_raw() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 irq

drivers/rtc/rtc-omap.c omap_rtc_read_time_raw() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 irq

drivers/rtc/rtc-omap.c omap_rtc_read_time_raw() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 12
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 irq

drivers/rtc/rtc-omap.c omap_rtc_read_time_raw() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 16
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 irq

drivers/rtc/rtc-omap.c omap_rtc_read_time_raw() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 1 reg 20
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 irq

drivers/rtc/rtc-omap.c omap_rtc_remove() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_set_alarm() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_set_alarm() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_shutdown() -> rtc_read()

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

drivers/rtc/rtc-omap.c omap_rtc_suspend() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 72
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte

drivers/rtc/rtc-omap.c rtc_irq() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 68
DATA_SOURCE 0 rtc $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/rtc/rtc-omap.c rtc_wait_not_busy() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 68
BUF_SIZE 0 rtc s32min-(-1),1-s32max
BUF_SIZE 0 rtc s32min-(-1),1-s32max
DATA_SOURCE 0 rtc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 &rtc->ops_lock
HALF_LOCKED2 irq

drivers/rtc/rtc-ds1511.c ds1511_interrupt() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 14
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ds1511->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct ds1511_data)->lock

drivers/rtc/rtc-ds1511.c ds1511_nvram_read() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 19
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/rtc/rtc-ds1511.c ds1511_rtc_alarm_enable() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 15
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ds1511->lock
LOCK2 &rtc->ops_lock
LOCK2 flags
TYPE_LOCK (struct ds1511_data)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_probe() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 14
RX_PATH
TASK_NOT_RUNNING

drivers/rtc/rtc-ds1511.c ds1511_rtc_probe() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 14
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 11
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 10
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 9
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 8
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 15
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 5
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_read_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 7
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_set_alarm() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 14
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ds1511->lock
LOCK2 &rtc->ops_lock
LOCK2 flags
TYPE_LOCK (struct ds1511_data)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-ds1511.c ds1511_rtc_set_time() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 5
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c rtc_disable_update() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 15
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &ds1511_lock
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-ds1511.c rtc_enable_update() -> rtc_read()

Type Parameter Key Value
PARAM_VALUE 0 rtc 15
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 global &ds1511_lock