Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/rtc-omap.c omap_rtc_alarm_irq_enable() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-omap.c omap_rtc_power_off() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| NOCHECK_CALL |
drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| NOCHECK_CALL |
drivers/rtc/rtc-omap.c omap_rtc_probe() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->clk | 0,4096-u64max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->irq_alarm | 1-s32max |
| PARAM_VALUE | 0 | rtc->irq_timer | 1-s32max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | 56 |
| BUF_SIZE | 0 | rtc->clk | (-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_alarm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_timer | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | r devm_kzalloc |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| MEM_ZERO | 0 | rtc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/rtc/rtc-omap.c omap_rtc_remove() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->clk | 0,4096-u64max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | rtc->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/rtc/rtc-omap.c omap_rtc_resume() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/rtc/rtc-omap.c omap_rtc_scratch_write() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/rtc/rtc-omap.c omap_rtc_set_alarm() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rtc->ops_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-omap.c omap_rtc_set_time() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-omap.c omap_rtc_shutdown() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/rtc/rtc-omap.c omap_rtc_suspend() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | rtc->interrupts_reg | 0-255 |
drivers/rtc/rtc-omap.c rtc_irq() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| DATA_SOURCE | 0 | rtc | $1 |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/rtc/rtc-omap.c rtc_pinconf_set() -> (struct omap_rtc_device_type)->unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->type | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| BUF_SIZE | 0 | rtc | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| DATA_SOURCE | 0 | rtc | r pinctrl_dev_get_drvdata |
| CONTAINER | 0 | -16-40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pctldev->mutex |