Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/usb/qcom/qc_audio_offload.c enable_audio_stream() -> snd_usb_endpoint_prepare()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->intf 4096-ptr_max
PARAM_VALUE 0 chip->shutdown.counter 0
PARAM_VALUE 1 ep 4096-ptr_max
PARAM_VALUE 1 ep->clock_ref->locked.counter s32min-s32max
PARAM_VALUE 1 ep->clock_ref->need_setup 1
PARAM_VALUE 1 ep->clock_ref->rate s32min-s32max
PARAM_VALUE 1 ep->cur_audiofmt 4096-ptr_max
PARAM_VALUE 1 ep->datainterval 0-255
PARAM_VALUE 1 ep->ep_num 0-255
PARAM_VALUE 1 ep->freqm 0,8-34359730
PARAM_VALUE 1 ep->freqn 0,8-34359730
PARAM_VALUE 1 ep->freqshift s32min
PARAM_VALUE 1 ep->iface_ref 1-u64max
PARAM_VALUE 1 ep->iface_ref->need_setup 1
PARAM_VALUE 1 ep->need_setup 0
PARAM_VALUE 1 ep->nurbs 0-12
PARAM_VALUE 1 ep->phase 0
PARAM_VALUE 1 ep->pps 0-8000
PARAM_VALUE 1 ep->ready_playback_urbs.next->next 4096-ptr_max
PARAM_VALUE 1 ep->ready_playback_urbs.prev->next 4096-ptr_max
PARAM_VALUE 1 ep->ready_playback_urbs.prev->prev 4096-ptr_max
PARAM_VALUE 1 ep->silence_value 0,105,128
PARAM_VALUE 1 ep->stride 0-268435455,4026531840-u32max
LOCK2 &pool->lock
LOCK2 _T->lock
LOCK2 global &qdev_mutex
HALF_LOCKED2 &txn->lock

sound/usb/qcom/qc_audio_offload.c enable_audio_stream() -> snd_usb_endpoint_prepare()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->intf 4096-ptr_max
PARAM_VALUE 0 chip->shutdown.counter 0
PARAM_VALUE 0 *chip->dev->toggle 0-4294967295
PARAM_VALUE 1 ep 4096-ptr_max
PARAM_VALUE 1 ep->clock_ref->locked.counter s32min-s32max
PARAM_VALUE 1 ep->clock_ref->need_setup 1
PARAM_VALUE 1 ep->clock_ref->rate s32min-s32max
PARAM_VALUE 1 ep->cur_audiofmt 4096-ptr_max
PARAM_VALUE 1 ep->datainterval 0-255
PARAM_VALUE 1 ep->ep_num 0-255
PARAM_VALUE 1 ep->freqm 0,8-34359730
PARAM_VALUE 1 ep->freqn 0,8-34359730
PARAM_VALUE 1 ep->freqshift s32min
PARAM_VALUE 1 ep->iface_ref 1-u64max
PARAM_VALUE 1 ep->iface_ref->need_setup 1
PARAM_VALUE 1 ep->need_setup 0
PARAM_VALUE 1 ep->nurbs 0-12
PARAM_VALUE 1 ep->opened s32min-(-1),1-s32max
PARAM_VALUE 1 ep->phase 0
PARAM_VALUE 1 ep->pps 0-8000
PARAM_VALUE 1 ep->ready_playback_urbs.next->next 4096-ptr_max
PARAM_VALUE 1 ep->ready_playback_urbs.prev->next 4096-ptr_max
PARAM_VALUE 1 ep->ready_playback_urbs.prev->prev 4096-ptr_max
PARAM_VALUE 1 ep->silence_value 0,105,128
PARAM_VALUE 1 ep->stride 0-268435455,4026531840-u32max
PARAM_VALUE 1 ep->sync_source 4096-ptr_max
LOCK2 &pool->lock
LOCK2 _T->lock
LOCK2 global &qdev_mutex
HALF_LOCKED2 &txn->lock

sound/usb/pcm.c snd_usb_pcm_prepare() -> snd_usb_endpoint_prepare()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 *chip->dev->toggle 0-4294967295
PARAM_VALUE 1 ep 1-u64max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 ep->data_subs->last_frame_number 0-u32max[c]
HOST_DATA 1 ep->data_subs->pcm_substream->snapshot.cycles s64min-s64max

sound/usb/pcm.c snd_usb_pcm_prepare() -> snd_usb_endpoint_prepare()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 *chip->dev->toggle 0-4294967295
PARAM_VALUE 1 ep 1-u64max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 ep->data_subs->last_frame_number 0-u32max[c]
HOST_DATA 1 ep->data_subs->pcm_substream->snapshot.cycles s64min-s64max