Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/most/most_usb.c hdm_add_padding() -> get_stream_frame_size()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 cfg 4096-ptr_max
TASK_NOT_RUNNING
LOCK2 &c->nq_mutex
LOCK2 &mdev->io_mutex
TYPE_LOCK (struct most_channel)->nq_mutex
TYPE_LOCK (struct most_dev)->io_mutex

drivers/most/most_usb.c hdm_configure_channel() -> get_stream_frame_size()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 cfg 4096-ptr_max
PARAM_VALUE 1 cfg->buffer_size 1-u16max
PARAM_VALUE 1 cfg->data_type 4,32
PARAM_VALUE 1 cfg->extra_len 0
PARAM_VALUE 1 cfg->num_buffers 1-u16max
PARAM_VALUE 1 cfg->packets_per_xact 0-254,256-u16max
DATA_SOURCE 1 cfg $2
FUZZY_MAX 1 cfg->data_type 4
BIT_INFO 1 cfg->data_type 0x0,0x24
RX_PATH
TASK_NOT_RUNNING
LOCK2 &c->start_mutex
HALF_LOCKED2 &c->io_mutex
HALF_LOCKED2 global &probe_disc_mt
TYPE_LOCK (struct most_channel)->start_mutex

drivers/most/most_usb.c hdm_remove_padding() -> get_stream_frame_size()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 cfg 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 lock
HALF_LOCKED2 &pool->lock