Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-s3c.c s3c_rtc_getalarm() -> s3c_rtc_enable_clk()

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

drivers/rtc/rtc-s3c.c s3c_rtc_read_time() -> s3c_rtc_enable_clk()

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

drivers/rtc/rtc-s3c.c s3c_rtc_setaie() -> s3c_rtc_enable_clk()

Type Parameter Key Value
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-s3c.c s3c_rtc_setaie() -> s3c_rtc_enable_clk()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->alarm_enabled 0
PARAM_VALUE 0 info->rtc_clk 0,4096-ptr_max
PARAM_VALUE 0 info->rtc_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 info->rtc_clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 info->rtc_src_clk 0,4096-u64max
PARAM_VALUE 0 info->rtc_src_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 info->rtc_src_clk->core->parent->enable_count 0-4294967295
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 &rtc->ops_lock
LOCK2 flags
LOCK2 0 &info->alarm_lock
TYPE_LOCK (struct rtc_device)->ops_lock
TYPE_LOCK (struct s3c_rtc)->alarm_lock

drivers/rtc/rtc-s3c.c s3c_rtc_setalarm() -> s3c_rtc_enable_clk()

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

drivers/rtc/rtc-s3c.c s3c_rtc_suspend() -> s3c_rtc_enable_clk()

Type Parameter Key Value
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte

drivers/rtc/rtc-s3c.c s3c_rtc_write_time() -> s3c_rtc_enable_clk()

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