Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-sc27xx.c sprd_rtc_set_alarm() -> sprd_rtc_set_secs()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->regmap 4096-ptr_max
PARAM_VALUE 0 rtc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 rtc->regmap->cache_dirty 1
PARAM_VALUE 0 rtc->rtc 4096-ptr_max
PARAM_VALUE 0 rtc->rtc->aie_timer.enabled s32min-(-1),1-s32max
PARAM_VALUE 0 *rtc->regmap->cache->data 0-4294967295
PARAM_VALUE 1 type 1
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
CAPPED_DATA 0 rtc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 rtc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 2 secs r rtc_tm_to_time64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-sc27xx.c sprd_rtc_set_aux_alarm() -> sprd_rtc_set_secs()

Type Parameter Key Value
PARAM_VALUE 0 rtc 4096-ptr_max
PARAM_VALUE 0 rtc->regmap 4096-ptr_max
PARAM_VALUE 0 rtc->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 rtc->regmap->cache_dirty 1
PARAM_VALUE 0 *rtc->regmap->cache->data 0-4294967295
PARAM_VALUE 1 type 2
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
CAPPED_DATA 0 rtc->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 rtc->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 2 secs r rtc_tm_to_time64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
LOCK2 &rtc->ops_lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-sc27xx.c sprd_rtc_set_time() -> sprd_rtc_set_secs()

Type Parameter Key Value
PARAM_VALUE 1 type 0
BUF_SIZE 0 rtc s32min-(-2),1-s32max
BUF_SIZE 0 rtc s32min-(-2),1-s32max
DATA_SOURCE 2 secs r rtc_tm_to_time64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rtc unit_byte
HALF_LOCKED2 &rtc->ops_lock