Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/rtc-armada38x.c armada38x_rtc_alarm_irq() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 1 | rtc | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &rtc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct armada38x_rtc)->lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_alarm_irq() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | offset | 0 |
| DATA_SOURCE | 1 | rtc | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &rtc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct armada38x_rtc)->lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_alarm_irq_enable() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 1 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 1 | &rtc->lock | |
| TYPE_LOCK | (struct armada38x_rtc)->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_alarm_irq_enable() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 1 | &rtc->lock | |
| TYPE_LOCK | (struct armada38x_rtc)->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_reset() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->initialized | 0 |
| PARAM_VALUE | 2 | offset | 28 |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_reset() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->initialized | 0 |
| PARAM_VALUE | 2 | offset | 12 |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_reset() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 3 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->initialized | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_reset() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 8192 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->initialized | 0 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_set_alarm() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | val | r rtc_tm_to_time64 |
| BIT_INFO | 0 | val | 0x0,0x7fffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 1 | &rtc->lock | |
| TYPE_LOCK | (struct armada38x_rtc)->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_set_alarm() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 1 |
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->data | 4096-ptr_max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | flags | ||
| LOCK2 | 1 | &rtc->lock | |
| TYPE_LOCK | (struct armada38x_rtc)->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_set_offset() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-16383,32768-49151 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BIT_INFO | 0 | val | 0x0,0xbfff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-armada38x.c armada38x_rtc_set_time() -> rtc_delayed_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | rtc->initialized | 1 |
| PARAM_VALUE | 2 | offset | 12 |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | val | r rtc_tm_to_time64 |
| BIT_INFO | 0 | val | 0x0,0x7fffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | rtc | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 1 | &rtc->lock | |
| HALF_LOCKED2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct armada38x_rtc)->lock |