Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/pci/atiixp_modem.c snd_atiixp_pcm_hw_params() -> atiixp_build_dma_packets()

Type Parameter Key Value
PARAM_VALUE 1 dma 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
PARAM_VALUE 2 substream->ops 4096-ptr_max
PARAM_VALUE 2 substream->ops->hw_params 1-u64max
PARAM_VALUE 2 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 2 substream->private_data->stopped 0
PARAM_VALUE 2 substream->runtime 4096-ptr_max
PARAM_VALUE 2 substream->runtime->buffer_accessing.counter 0-s32max
PARAM_VALUE 2 substream->runtime->buffer_mutex.dep_map->name 0-255
PARAM_VALUE 2 substream->runtime->buffer_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 substream->runtime->buffer_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 substream->runtime->private_data 4096-ptr_max
PARAM_VALUE 2 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 2 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 2 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 2 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 2 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 2 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 2 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 2 substream->runtime->stop_operating 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 1 dma s32min-(-2),1-s32max
BUF_SIZE 1 dma s32min-(-2),1-s32max
CAPPED_DATA 2 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 2 substream $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
UNITS 1 dma unit_byte
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/pci/atiixp.c snd_atiixp_pcm_hw_params() -> atiixp_build_dma_packets()

Type Parameter Key Value
PARAM_VALUE 1 dma 4096-ptr_max
PARAM_VALUE 2 substream 4096-ptr_max
PARAM_VALUE 2 substream->ops 4096-ptr_max
PARAM_VALUE 2 substream->ops->hw_params 1-u64max
PARAM_VALUE 2 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 2 substream->private_data->stopped 0
PARAM_VALUE 2 substream->runtime 4096-ptr_max
PARAM_VALUE 2 substream->runtime->buffer_accessing.counter 0-s32max
PARAM_VALUE 2 substream->runtime->buffer_mutex.dep_map->name 0-255
PARAM_VALUE 2 substream->runtime->buffer_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 substream->runtime->buffer_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 substream->runtime->private_data 4096-ptr_max
PARAM_VALUE 2 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 2 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 2 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 2 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 2 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 2 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 2 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 2 substream->runtime->stop_operating 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 1 dma s32min-(-2),1-s32max
BUF_SIZE 1 dma s32min-(-2),1-s32max
CAPPED_DATA 2 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 2 substream $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
UNITS 1 dma unit_byte
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex