Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/counter/104-quad-8.c quad8_count_enable_write() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 4 field 1
BUF_SIZE 1 buf 8
DATA_SOURCE 3 val $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 val 0-255
LOCK2 &of->mutex
LOCK2 &priv->lock
LOCK2 irqflags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_count_mode_write() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 val 0-3
PARAM_VALUE 4 field 6
BUF_SIZE 1 buf 8
PREEMPT_ADD <- disables preempt
LOCK2 &priv->lock
LOCK2 irqflags
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_count_preset_enable_write() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 val 0-1
PARAM_VALUE 4 field 2
BUF_SIZE 1 buf 8
FUZZY_MAX 3 val 1
HARD_MAX 3 val 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 val 0-1
LOCK2 &of->mutex
LOCK2 &priv->lock
LOCK2 irqflags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_events_configure() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 3 val 1-3
PARAM_VALUE 4 field 24
BUF_SIZE 1 buf 8
FUZZY_MAX 3 val 3
HARD_MAX 3 val 3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 2 channel unit_array_size
LOCK2 &counter->events_list_lock
LOCK2 &counter->ops_exist_lock
LOCK2 &priv->lock
LOCK2 flags
LOCK2 irqflags
HALF_LOCKED2 &counter->n_events_list_lock
TYPE_LOCK (struct counter_device)->events_list_lock
TYPE_LOCK (struct counter_device)->ops_exist_lock
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_function_write() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 val 0
PARAM_VALUE 4 field 1
BUF_SIZE 1 buf 8
PREEMPT_ADD <- disables preempt
LOCK2 &priv->lock
LOCK2 irqflags
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_function_write() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 val 0-3
PARAM_VALUE 4 field 24
BUF_SIZE 1 buf 8
PREEMPT_ADD <- disables preempt
LOCK2 &priv->lock
LOCK2 irqflags
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_index_polarity_set() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 4 field 2
BUF_SIZE 1 buf 8
DATA_SOURCE 3 val $2
BIT_INFO 2 channel 0x0,0xffffffff
BIT_INFO 2 channel 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 val 0-255
LOCK2 &priv->lock
LOCK2 irqflags
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct quad8)->lock

drivers/counter/104-quad-8.c quad8_synchronous_mode_set() -> quad8_control_register_update()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 channel 0-s32max,18446744071562067968-u64max
PARAM_VALUE 4 field 1
BUF_SIZE 1 buf 8
DATA_SOURCE 3 val $2
BIT_INFO 2 channel 0x0,0xffffffff
BIT_INFO 2 channel 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 val 0-255
LOCK2 &of->mutex
LOCK2 &priv->lock
LOCK2 irqflags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct quad8)->lock