Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-mxc_v2.c mxc_rtc_alarm_irq_enable() -> mxc_rtc_unlock()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->clk 0,4096-ptr_max
PARAM_VALUE 0 pdata->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 pdata->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 pdata->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pdata s32min-(-2),1-s32max
BUF_SIZE 0 pdata s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pdata unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
LOCK2 0 &pdata->lock
TYPE_LOCK (struct mxc_rtc_data)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-mxc_v2.c mxc_rtc_read_alarm() -> mxc_rtc_unlock()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->clk 0,4096-ptr_max
PARAM_VALUE 0 pdata->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 pdata->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 pdata->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pdata s32min-(-2),1-s32max
BUF_SIZE 0 pdata s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
UNITS 0 pdata unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
LOCK2 0 &pdata->lock
TYPE_LOCK (struct mxc_rtc_data)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-mxc_v2.c mxc_rtc_set_alarm() -> mxc_rtc_unlock()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->clk 0,4096-ptr_max
PARAM_VALUE 0 pdata->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 pdata->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 pdata->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pdata s32min-(-2),1-s32max
BUF_SIZE 0 pdata s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 pdata unit_byte
LOCK2 &rtc->ops_lock
LOCK2 irq
LOCK2 0 &pdata->lock
TYPE_LOCK (struct mxc_rtc_data)->lock
TYPE_LOCK (struct rtc_device)->ops_lock

drivers/rtc/rtc-mxc_v2.c mxc_rtc_set_time() -> mxc_rtc_unlock()

Type Parameter Key Value
PARAM_VALUE 0 pdata 4096-ptr_max
PARAM_VALUE 0 pdata->clk 0,4096-ptr_max
PARAM_VALUE 0 pdata->clk->core->enable_count 0-4294967295
PARAM_VALUE 0 pdata->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 pdata->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pdata s32min-(-2),1-s32max
BUF_SIZE 0 pdata s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pdata unit_byte
LOCK2 irq
LOCK2 0 &pdata->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct mxc_rtc_data)->lock