Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/rtc-da9063.c da9063_rtc_probe() -> da9063_data_to_tm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | tm | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc->config | 4096-ptr_max |
| BUF_SIZE | 0 | data | 6 |
| BUF_SIZE | 2 | rtc | 72 |
| BUF_SIZE | 2 | rtc->config | (-1),88 |
| BUF_SIZE | 2 | rtc->rtc_dev | 2824 |
| BUF_SIZE | 2 | rtc->rtc_dev->dev.parent | 1616 |
| BUF_SIZE | 2 | rtc->rtc_dev->ops | 88 |
| CAPPED_DATA | 2 | rtc->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 2 | rtc->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 2 | rtc->regmap->volatile_table->n_yes_ranges | 1 |
| DATA_SOURCE | 2 | rtc | r devm_kzalloc |
| MEM_ZERO | 1 | tm | |
| MEM_ZERO | 2 | rtc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/rtc/rtc-da9063.c da9063_rtc_read_alarm() -> da9063_data_to_tm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | tm | 2412595738338004996 |
| PARAM_VALUE | 1 | tm->tm_hour | (-1) |
| PARAM_VALUE | 1 | tm->tm_mday | (-1) |
| PARAM_VALUE | 1 | tm->tm_min | (-1) |
| PARAM_VALUE | 1 | tm->tm_mon | (-1) |
| PARAM_VALUE | 1 | tm->tm_sec | (-1) |
| PARAM_VALUE | 1 | tm->tm_year | (-1) |
| PARAM_VALUE | 2 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc->config | 4096-ptr_max |
| BUF_SIZE | 0 | data | 6 |
| BUF_SIZE | 2 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | rtc | s32min-(-2),1-s32max |
| NOCHECK_CALL | |||
| UNITS | 2 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-da9063.c da9063_rtc_read_time() -> da9063_data_to_tm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1961007867436277760 |
| PARAM_VALUE | 1 | tm | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc->config | 4096-ptr_max |
| BUF_SIZE | 0 | data | 6 |
| BUF_SIZE | 2 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | tm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-da9063.c da9063_rtc_set_alarm() -> da9063_data_to_tm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 1264850416727273472 |
| PARAM_VALUE | 1 | tm | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | rtc->config | 4096-ptr_max |
| BUF_SIZE | 0 | data | 6 |
| BUF_SIZE | 2 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |