Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-armada38x.c armada38x_rtc_alarm_irq() -> (struct armada38x_rtc_data)->read_rtc_reg()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
PARAM_VALUE 0 rtc->lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 rtc $1
CONTAINER 0 -8-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rtc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct armada38x_rtc)->lock

drivers/rtc/rtc-armada38x.c armada38x_rtc_read_alarm() -> (struct armada38x_rtc_data)->read_rtc_reg()

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
CONTAINER 0 -8-104+0 $(-1)
LOCK2 &rtc->ops_lock
LOCK2 flags
LOCK2 0 &rtc->lock
TYPE_LOCK (struct armada38x_rtc)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-armada38x.c armada38x_rtc_read_alarm() -> (struct armada38x_rtc_data)->read_rtc_reg()

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
CONTAINER 0 -8-104+0 $(-1)
LOCK2 &rtc->ops_lock
LOCK2 flags
LOCK2 0 &rtc->lock
TYPE_LOCK (struct armada38x_rtc)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-armada38x.c armada38x_rtc_read_offset() -> (struct armada38x_rtc_data)->read_rtc_reg()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
PARAM_VALUE 1 rtc_reg 24
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
CONTAINER 0 -8-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rtc->ops_lock
LOCK2 flags
LOCK2 0 &rtc->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct armada38x_rtc)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-armada38x.c armada38x_rtc_read_time() -> (struct armada38x_rtc_data)->read_rtc_reg()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
PARAM_VALUE 1 rtc_reg 12
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
CONTAINER 0 -8-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &rtc->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct armada38x_rtc)->lock

drivers/rtc/rtc-armada38x.c armada38x_rtc_reset() -> (struct armada38x_rtc_data)->read_rtc_reg()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->data 4096-ptr_max
PARAM_VALUE 0 rtc->initialized 0
PARAM_VALUE 1 rtc_reg 28
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
DATA_SOURCE 0 rtc $0
CONTAINER 0 -8-104+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rtc->ops_lock