Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/pci/es1938.c snd_es1938_capture_prepare() -> snd_es1938_rate_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dma1_shift | 0-2 |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 1 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 1 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | mode | 2 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | substream | $0 |
| FUZZY_MAX | 0 | chip->dma1_shift | 2 |
| HARD_MAX | 0 | chip->dma1_shift | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | substream->f_flags | 0-u32max |
| USER_DATA | 1 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 1 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 1 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 1 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 0 | chip | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 1 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 1 | &substream->self_group.lock | |
| HALF_LOCKED2 | 1 | &substream->self_group.mutex |
sound/pci/es1938.c snd_es1938_playback1_prepare() -> snd_es1938_rate_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dma2_shift | 0-2 |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 1 | substream->number | 0 |
| PARAM_VALUE | 1 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 1 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | mode | 4 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | substream | $0 |
| FUZZY_MAX | 0 | chip->dma2_shift | 2 |
| HARD_MAX | 0 | chip->dma2_shift | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | substream->f_flags | 0-u32max |
| USER_DATA | 1 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 1 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 1 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 1 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 0 | chip | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 1 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 1 | &substream->self_group.lock | |
| HALF_LOCKED2 | 1 | &substream->self_group.mutex |
sound/pci/es1938.c snd_es1938_playback2_prepare() -> snd_es1938_rate_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dma1_shift | 0-2 |
| PARAM_VALUE | 1 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 1 | substream->number | 1 |
| PARAM_VALUE | 1 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 1 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | mode | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | substream | $0 |
| FUZZY_MAX | 0 | chip->dma1_shift | 2 |
| HARD_MAX | 0 | chip->dma1_shift | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | substream->f_flags | 0-u32max |
| USER_DATA | 1 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 1 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 1 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 1 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 1 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 0 | chip | unit_byte |
| USER_PTR | 1 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 1 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 1 | &substream->self_group.lock | |
| HALF_LOCKED2 | 1 | &substream->self_group.mutex |