Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/pci/cs4281.c snd_cs4281_capture_prepare() -> snd_cs4281_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | runtime | 4096-ptr_max |
| PARAM_VALUE | 3 | capture | 1 |
| PARAM_VALUE | 4 | src | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dma | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dma | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | runtime->rate_den | 0-u32max |
| USER_DATA | 2 | runtime->rate_num | 0-u32max |
| UNITS | 0 | chip | unit_byte |
| UNITS | 1 | dma | unit_byte |
| USER_PTR | 2 | runtime->oss.buffer | |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->reg_lock | |
| TYPE_LOCK | (struct cs4281)->reg_lock |
sound/pci/cs4281.c snd_cs4281_playback_prepare() -> snd_cs4281_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | runtime | 4096-ptr_max |
| PARAM_VALUE | 3 | capture | 0 |
| PARAM_VALUE | 4 | src | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dma | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dma | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | runtime->rate_den | 0-u32max |
| USER_DATA | 2 | runtime->rate_num | 0-u32max |
| UNITS | 0 | chip | unit_byte |
| UNITS | 1 | dma | unit_byte |
| USER_PTR | 2 | runtime->oss.buffer | |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->reg_lock | |
| TYPE_LOCK | (struct cs4281)->reg_lock |