Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/drivers/vx/vx_pcm.c vx_pcm_capture_open() -> vx_alloc_pipe()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_ins 1-u32max
PARAM_VALUE 1 capture 1
PARAM_VALUE 2 audioid s32min-(-2),0-s32max
PARAM_VALUE 3 num_audio 2
PARAM_VALUE 4 pipep 2965861045071884288
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
CAPPED_DATA 0 chip->audio_ins 1
CAPPED_DATA 2 audioid 1
PARAM_COMPARE 2 audioid < $0->audio_ins
BIT_INFO 0 chip->chip_status 0x0,0xffff7fff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
UNITS 2 audioid unit_array_size
HALF_LOCKED2 &pcm->open_mutex

sound/drivers/vx/vx_pcm.c vx_pcm_capture_open() -> vx_alloc_pipe()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_ins 1-u32max
PARAM_VALUE 0 chip->audio_monitor_active 4096-ptr_max
PARAM_VALUE 0 chip->capture_pipes 4096-ptr_max
PARAM_VALUE 0 chip->ops->in8 4096-ptr_max
PARAM_VALUE 0 chip->ops->out8 4096-ptr_max
PARAM_VALUE 0 chip->playback_pipes 4096-ptr_max
PARAM_VALUE 1 capture 0
PARAM_VALUE 2 audioid s32min-(-2),0-s32max
PARAM_VALUE 3 num_audio 2
PARAM_VALUE 4 pipep 3760165486589849600
PARAM_VALUE 4 *pipep 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
CAPPED_DATA 0 chip->audio_ins 1
CAPPED_DATA 2 audioid 1
PARAM_COMPARE 2 audioid < $0->audio_ins
BIT_INFO 0 chip->chip_status 0x0,0xffff7fff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
UNITS 2 audioid unit_array_size
HALF_LOCKED2 &pcm->open_mutex

sound/drivers/vx/vx_pcm.c vx_pcm_playback_open() -> vx_alloc_pipe()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->audio_outs 1-u32max
PARAM_VALUE 0 chip->playback_pipes 4096-ptr_max
PARAM_VALUE 1 capture 0
PARAM_VALUE 2 audioid s32min-(-2),0-s32max
PARAM_VALUE 3 num_audio 2
PARAM_VALUE 4 pipep 1951478865970769920
PARAM_VALUE 4 *pipep 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
CAPPED_DATA 0 chip->audio_outs 1
CAPPED_DATA 2 audioid 1
PARAM_COMPARE 2 audioid < $0->audio_outs
BIT_INFO 0 chip->chip_status 0x0,0xffff7fff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 chip unit_byte
UNITS 2 audioid unit_array_size
HALF_LOCKED2 &pcm->open_mutex