Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

sound/soc/renesas/rcar/ssi.c rsnd_ssi_pio_init() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1
LOCK2 &priv->lock
LOCK2 irq
TYPE_LOCK (struct rsnd_priv)->lock

sound/drivers/pcmtest.c snd_pcmtst_pcm_prepare() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->no_period_wakeup 0-1
USER_DATA 0 runtime->rate_den 0-u32max
USER_DATA 0 runtime->rate_num 0-u32max
USER_PTR 0 runtime->oss.buffer

sound/soc/renesas/fsi.c fsi_pio_get_area() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

sound/soc/renesas/fsi.c fsi_stream_init() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1
LOCK2 &master->lock
LOCK2 irq
TYPE_LOCK (struct fsi_master)->lock

sound/core/pcm_lib.c noninterleaved_copy() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 0
DATA_SOURCE 1 size $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->no_period_wakeup 0-1
USER_DATA 0 runtime->rate_den 0-u32max
USER_DATA 0 runtime->rate_num 0-u32max
USER_PTR 0 runtime->oss.buffer
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/core/pcm_lib.c noninterleaved_copy() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
CAPPED_DATA 1 size 1
DATA_SOURCE 1 size $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->no_period_wakeup 0-1
USER_DATA 0 runtime->rate_den 0-u32max
USER_DATA 0 runtime->rate_num 0-u32max
UNITS 1 size unit_byte
USER_PTR 0 runtime->oss.buffer
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/core/pcm_lib.c noninterleaved_copy() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
CAPPED_DATA 1 size 1
DATA_SOURCE 1 size $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->no_period_wakeup 0-1
USER_DATA 0 runtime->rate_den 0-u32max
USER_DATA 0 runtime->rate_num 0-u32max
UNITS 1 size unit_byte
USER_PTR 0 runtime->oss.buffer
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/soc/intel/atom/sst-mfld-platform-pcm.c sst_fill_alloc_params() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *runtime->oss.buffer 0-255
NO_OVERFLOW_SIMPLE 0 runtime->dma_buffer_p->addr
UNITS 1 size unit_byte
USER_PTR 0 runtime->oss.buffer
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex
HALF_LOCKED2 0 &runtime->buffer_mutex

sound/soc/uniphier/aio-dma.c aiodma_pcm_irq() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

sound/soc/uniphier/aio-dma.c uniphier_aiodma_pointer() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->no_period_wakeup 0-1
USER_DATA 0 runtime->rate_den 0-u32max
USER_DATA 0 runtime->rate_num 0-u32max
USER_PTR 0 runtime->oss.buffer
HALF_LOCKED2 &atimer->lock
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex
HALF_LOCKED2 irq

sound/soc/uniphier/aio-dma.c uniphier_aiodma_prepare() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 runtime->no_period_wakeup 0-1
USER_DATA 0 runtime->rate_den 0-u32max
USER_DATA 0 runtime->rate_num 0-u32max
USER_PTR 0 runtime->oss.buffer
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/soc/uniphier/aio-dma.c uniphier_aiodma_trigger() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1

sound/soc/atmel/mchp-pdmc.c mchp_pdmc_process() -> samples_to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 1 size 1