Defined in 2 files as a function:
- sound/hda/core/stream.c, line 473 (as a function)
- sound/pci/lola/lola_pcm.c, line 299 (as a function)
Referenced in 2 files:
Smatch caller information:
sound/hda/core/stream.c snd_hdac_stream_setup_bdle() -> setup_bdle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->bdl_pos_adj | 1-s32max |
| PARAM_VALUE | 2 | bdlp | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp->frags | 0 |
| PARAM_VALUE | 2 | bdlp->no_period_wakeup | 0 |
| PARAM_VALUE | 2 | bdlp->substream | 0,4096-ptr_max |
| PARAM_VALUE | 3 | ofs | 2895682606355292160 |
| PARAM_VALUE | 4 | size | 0 |
| PARAM_VALUE | 5 | size | s32min-2147483646 |
| PARAM_VALUE | 6 | with_ioc | 1 |
| BUF_SIZE | 2 | bdlp | (-1),448 |
| BUF_SIZE | 2 | bdlp | (-1),448 |
| CAPPED_DATA | 5 | size | 1 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | bdlp | $0 |
| DATA_SOURCE | 5 | size | r frames_to_bytes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | bdlp->format_val | 0-32831[c][u] |
| USER_DATA | 2 | bdlp->no_period_wakeup | 0 |
| NO_OVERFLOW_SIMPLE | 1 | str->addr | |
| UNITS | 5 | size | unit_byte |
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/hda/core/stream.c snd_hdac_stream_setup_bdle() -> setup_bdle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->bdl_pos_adj | 1-s32max |
| PARAM_VALUE | 2 | bdlp | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp->no_period_wakeup | 0 |
| PARAM_VALUE | 2 | bdlp->substream | 0,4096-ptr_max |
| PARAM_VALUE | 2 | *bdlp->bdl.area | 0-4294967295 |
| PARAM_VALUE | 3 | ofs | 2895682606355292160 |
| PARAM_VALUE | 4 | size | 0-s32max |
| PARAM_VALUE | 5 | size | s32min-(-1),1-s32max |
| PARAM_VALUE | 6 | with_ioc | 0 |
| BUF_SIZE | 2 | bdlp | (-1),448 |
| BUF_SIZE | 2 | bdlp | (-1),448 |
| CAPPED_DATA | 5 | size | 1 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | bdlp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | bdlp->format_val | 0-32831[c][u] |
| USER_DATA | 2 | bdlp->no_period_wakeup | 0 |
| NO_OVERFLOW_SIMPLE | 1 | str->addr | |
| UNITS | 5 | size | unit_byte |
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/hda/core/stream.c snd_hdac_stream_setup_bdle() -> setup_bdle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | bdlp->substream | 0,4096-ptr_max |
| PARAM_VALUE | 2 | *bdlp->bdl.area | 0-4294967295 |
| PARAM_VALUE | 3 | ofs | 2895682606355292160 |
| PARAM_VALUE | 4 | size | 0-s32max |
| PARAM_VALUE | 6 | with_ioc | 0-1 |
| BUF_SIZE | 2 | bdlp | (-1),448 |
| BUF_SIZE | 2 | bdlp | (-1),448 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | bdlp | $0 |
| FUZZY_MAX | 4 | size | 0 |
| FUZZY_MAX | 6 | with_ioc | 1 |
| HARD_MAX | 6 | with_ioc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | bdlp->format_val | 0-32831[c][u] |
| USER_DATA | 2 | bdlp->no_period_wakeup | 0-1 |
| USER_DATA | 6 | with_ioc | 0-1 |
| NO_OVERFLOW_SIMPLE | 1 | str->addr | |
| UNITS | 5 | size | unit_byte |
| HALF_LOCKED2 | 2 | &bdlp->dsp_mutex |
sound/pci/lola/lola_pcm.c lola_setup_periods() -> setup_bdle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->channels | 0-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | str->format_verb | 0-2147488511 |
| PARAM_VALUE | 1 | str->prepared | 0 |
| PARAM_VALUE | 2 | bdlp | 6265569716923670528 |
| PARAM_VALUE | 3 | ofs | 0-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | str | 1 |
| DATA_SOURCE | 0 | substream | $2 |
| DATA_SOURCE | 1 | str | $3 |
| FUZZY_MAX | 3 | ofs | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |