Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/qcom/qc_audio_offload.c prepare_qmi_response() -> uaudio_endpoint_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subs | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->rate | s32min-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->datainterval | 0-255 |
| PARAM_VALUE | 0 | subs->data_endpoint->ep_num | 0-255 |
| PARAM_VALUE | 0 | subs->data_endpoint->freqm | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->data_endpoint->freqn | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->data_endpoint->freqshift | s32min |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref | 1-u64max |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref->altset | 0-255 |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->data_endpoint->need_prepare | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->need_setup | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->nurbs | 0-12 |
| PARAM_VALUE | 0 | subs->data_endpoint->opened | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->phase | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->pps | 0-8000 |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->silence_value | 0,105,128 |
| PARAM_VALUE | 0 | subs->data_endpoint->stride | 0-268435455,4026531840-u32max |
| PARAM_VALUE | 0 | subs->data_endpoint->sync_source | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->syncinterval | 0-15 |
| PARAM_VALUE | 0 | subs->data_endpoint->syncmaxsize | 0-u16max |
| PARAM_VALUE | 0 | subs->data_endpoint->type | 0-1 |
| PARAM_VALUE | 0 | subs->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->dev->actconfig | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->dev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | subs->media_ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_entity.graph_obj.mdev->source_priv->active_link->flags | 0-4294967295 |
| PARAM_VALUE | 0 | subs->media_ctl->media_entity.graph_obj.mdev->source_priv->active_link_shared | 1 |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.start_count | s32min-s32max |
| PARAM_VALUE | 0 | subs->opened | 1 |
| PARAM_VALUE | 0 | subs->str_pd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->clock_ref_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->clock_ref_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->clock_ref_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->iface_ref_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->iface_ref_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->iface_ref_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->pcm | 1-u64max |
| PARAM_VALUE | 0 | subs->sync_endpoint | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->rate | s32min-s32max |
| PARAM_VALUE | 0 | subs->sync_endpoint->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->datainterval | 0-255 |
| PARAM_VALUE | 0 | subs->sync_endpoint->ep_num | 0-255 |
| PARAM_VALUE | 0 | subs->sync_endpoint->freqm | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->sync_endpoint->freqn | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->sync_endpoint->freqshift | s32min |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref | 1-u64max |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref->altset | 0-255 |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->need_prepare | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->need_setup | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->nurbs | 0-12 |
| PARAM_VALUE | 0 | subs->sync_endpoint->phase | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->pps | 0-8000 |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->silence_value | 0,105,128 |
| PARAM_VALUE | 0 | subs->sync_endpoint->stride | 0-268435455,4026531840-u32max |
| PARAM_VALUE | 0 | *subs->stream->chip->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | endpoint | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 1 | endpoint->clock_ref->need_setup | 0-1 |
| PARAM_VALUE | 1 | endpoint->clock_ref->rate | s32min-s32max |
| PARAM_VALUE | 1 | endpoint->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->datainterval | 0-255 |
| PARAM_VALUE | 1 | endpoint->ep_num | 0-255 |
| PARAM_VALUE | 1 | endpoint->freqm | 0,8-34359730 |
| PARAM_VALUE | 1 | endpoint->freqn | 0,8-34359730 |
| PARAM_VALUE | 1 | endpoint->freqshift | s32min |
| PARAM_VALUE | 1 | endpoint->iface_ref | 1-u64max |
| PARAM_VALUE | 1 | endpoint->iface_ref->altset | 0-255 |
| PARAM_VALUE | 1 | endpoint->iface_ref->need_setup | 0-1 |
| PARAM_VALUE | 1 | endpoint->need_prepare | 0 |
| PARAM_VALUE | 1 | endpoint->need_setup | 0 |
| PARAM_VALUE | 1 | endpoint->nurbs | 0-12 |
| PARAM_VALUE | 1 | endpoint->opened | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | endpoint->phase | 0 |
| PARAM_VALUE | 1 | endpoint->pps | 0-8000 |
| PARAM_VALUE | 1 | endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->silence_value | 0,105,128 |
| PARAM_VALUE | 1 | endpoint->stride | 0-268435455,4026531840-u32max |
| PARAM_VALUE | 1 | endpoint->sync_source | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->syncinterval | 0-15 |
| PARAM_VALUE | 1 | endpoint->syncmaxsize | 0-u16max |
| PARAM_VALUE | 1 | endpoint->type | 0-1 |
| PARAM_VALUE | 2 | card_num | 0-u16max |
| PARAM_VALUE | 3 | mem_info | 7851649449821167720 |
| PARAM_VALUE | 3 | mem_info->dma | 0 |
| PARAM_VALUE | 3 | mem_info->iova | 0 |
| PARAM_VALUE | 3 | mem_info->size | 0 |
| PARAM_VALUE | 4 | ep_desc | 7851649449821167664 |
| PARAM_VALUE | 4 | ep_desc->bLength | 0 |
| PARAM_VALUE | 4 | ep_desc->bRefresh | 0 |
| CAPPED_DATA | 0 | subs->cur_audiofmt->iface | 1 |
| CAPPED_DATA | 0 | subs->dev->actconfig->desc.bNumInterfaces | 1 |
| DATA_SOURCE | 0 | subs | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | _T->lock | ||
| LOCK2 | global &qdev_mutex | ||
| HALF_LOCKED2 | &txn->lock |
sound/usb/qcom/qc_audio_offload.c prepare_qmi_response() -> uaudio_endpoint_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subs | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->rate | s32min-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->datainterval | 0-255 |
| PARAM_VALUE | 0 | subs->data_endpoint->ep_num | 0-255 |
| PARAM_VALUE | 0 | subs->data_endpoint->freqm | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->data_endpoint->freqn | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->data_endpoint->freqshift | s32min |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref | 1-u64max |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref->altset | 0-255 |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->data_endpoint->need_prepare | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->need_setup | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->nurbs | 0-12 |
| PARAM_VALUE | 0 | subs->data_endpoint->opened | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->phase | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->pps | 0-8000 |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->silence_value | 0,105,128 |
| PARAM_VALUE | 0 | subs->data_endpoint->stride | 0-268435455,4026531840-u32max |
| PARAM_VALUE | 0 | subs->data_endpoint->sync_source | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->syncinterval | 0-15 |
| PARAM_VALUE | 0 | subs->data_endpoint->syncmaxsize | 0-u16max |
| PARAM_VALUE | 0 | subs->data_endpoint->type | 0-1 |
| PARAM_VALUE | 0 | subs->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->dev->actconfig | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->dev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | subs->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_entity.graph_obj.mdev->source_priv->active_link->flags | 0-4294967295 |
| PARAM_VALUE | 0 | subs->media_ctl->media_entity.graph_obj.mdev->source_priv->active_link_shared | 1 |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.start_count | s32min-s32max |
| PARAM_VALUE | 0 | subs->opened | 1 |
| PARAM_VALUE | 0 | subs->str_pd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->clock_ref_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->clock_ref_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->clock_ref_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->iface_ref_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->iface_ref_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->iface_ref_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->pcm | 1-u64max |
| PARAM_VALUE | 0 | subs->sync_endpoint | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->rate | s32min-s32max |
| PARAM_VALUE | 0 | subs->sync_endpoint->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->datainterval | 0-255 |
| PARAM_VALUE | 0 | subs->sync_endpoint->ep_num | 0-255 |
| PARAM_VALUE | 0 | subs->sync_endpoint->freqm | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->sync_endpoint->freqn | 0,8-34359730 |
| PARAM_VALUE | 0 | subs->sync_endpoint->freqshift | s32min |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref | 1-u64max |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref->altset | 0-255 |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref->need_setup | 0-1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->need_prepare | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->need_setup | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->nurbs | 0-12 |
| PARAM_VALUE | 0 | subs->sync_endpoint->phase | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->pps | 0-8000 |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->silence_value | 0,105,128 |
| PARAM_VALUE | 0 | subs->sync_endpoint->stride | 0-268435455,4026531840-u32max |
| PARAM_VALUE | 0 | *subs->stream->chip->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | endpoint | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 1 | endpoint->clock_ref->need_setup | 0-1 |
| PARAM_VALUE | 1 | endpoint->clock_ref->rate | s32min-s32max |
| PARAM_VALUE | 1 | endpoint->cur_audiofmt | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->datainterval | 0-255 |
| PARAM_VALUE | 1 | endpoint->ep_num | 0-255 |
| PARAM_VALUE | 1 | endpoint->freqm | 0,8-34359730 |
| PARAM_VALUE | 1 | endpoint->freqn | 0,8-34359730 |
| PARAM_VALUE | 1 | endpoint->freqshift | s32min |
| PARAM_VALUE | 1 | endpoint->iface_ref | 1-u64max |
| PARAM_VALUE | 1 | endpoint->iface_ref->altset | 0-255 |
| PARAM_VALUE | 1 | endpoint->iface_ref->need_setup | 0-1 |
| PARAM_VALUE | 1 | endpoint->need_prepare | 0 |
| PARAM_VALUE | 1 | endpoint->need_setup | 0 |
| PARAM_VALUE | 1 | endpoint->nurbs | 0-12 |
| PARAM_VALUE | 1 | endpoint->phase | 0 |
| PARAM_VALUE | 1 | endpoint->pps | 0-8000 |
| PARAM_VALUE | 1 | endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | endpoint->silence_value | 0,105,128 |
| PARAM_VALUE | 1 | endpoint->stride | 0-268435455,4026531840-u32max |
| PARAM_VALUE | 2 | card_num | 0-u16max |
| PARAM_VALUE | 3 | mem_info | 7851649449821167744 |
| PARAM_VALUE | 3 | mem_info->dma | 0 |
| PARAM_VALUE | 3 | mem_info->iova | 0 |
| PARAM_VALUE | 3 | mem_info->size | 0 |
| PARAM_VALUE | 4 | ep_desc | 7851649449821167676 |
| PARAM_VALUE | 4 | ep_desc->bLength | 0 |
| PARAM_VALUE | 4 | ep_desc->bRefresh | 0 |
| CAPPED_DATA | 0 | subs->cur_audiofmt->iface | 1 |
| CAPPED_DATA | 0 | subs->dev->actconfig->desc.bNumInterfaces | 1 |
| DATA_SOURCE | 0 | subs | $0 |
| LOCK2 | &pool->lock | ||
| LOCK2 | _T->lock | ||
| LOCK2 | global &qdev_mutex | ||
| HALF_LOCKED2 | &txn->lock |