Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/rtc-r7301.c rtc7301_read_alarm() -> rtc7301_get_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->bank | 1 |
| PARAM_VALUE | 0 | priv->irq | 1-s32max |
| PARAM_VALUE | 1 | tm | 2412595738338004996 |
| PARAM_VALUE | 1 | tm->tm_hour | (-1) |
| PARAM_VALUE | 1 | tm->tm_isdst | (-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_yday | (-1) |
| PARAM_VALUE | 1 | tm->tm_year | (-1) |
| PARAM_VALUE | 2 | alarm | 1 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| FUZZY_MAX | 0 | priv->irq | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->lock | |
| TYPE_LOCK | (struct rtc7301_priv)->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-r7301.c rtc7301_read_time() -> rtc7301_get_time()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->bank | 0 |
| PARAM_VALUE | 0 | priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 1 | tm | 4096-ptr_max |
| PARAM_VALUE | 2 | alarm | 0 |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | tm | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->lock | |
| HALF_LOCKED2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc7301_priv)->lock |