Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/rtc-mt7622.c mtk_rtc_getalarm() -> mtk_rtc_get_alarm_or_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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_wday | (-1) |
| PARAM_VALUE | 1 | tm->tm_year | (-1) |
| PARAM_VALUE | 2 | time_alarm | 1 |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | tm | 36 |
| NOCHECK_CALL | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-mt7622.c mtk_rtc_gettime() -> mtk_rtc_get_alarm_or_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tm | 4096-ptr_max |
| PARAM_VALUE | 2 | time_alarm | 0 |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | tm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hw | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |