Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/firewire/oxfw/oxfw-midi.c midi_capture_open() -> snd_oxfw_stream_reserve_duplex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oxfw | 4096-ptr_max |
| PARAM_VALUE | 0 | oxfw->dev_lock_changed | 1 |
| PARAM_VALUE | 0 | oxfw->dev_lock_count | 1-s32max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 2 | rate | 0 |
| PARAM_VALUE | 3 | pcm_channels | 0 |
| PARAM_VALUE | 4 | frames_per_period | 0 |
| PARAM_VALUE | 5 | frames_per_buffer | 0 |
| BUF_SIZE | 0 | oxfw | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | oxfw | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | oxfw | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &rmidi->open_mutex |
sound/firewire/oxfw/oxfw-midi.c midi_playback_open() -> snd_oxfw_stream_reserve_duplex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oxfw | 4096-ptr_max |
| PARAM_VALUE | 0 | oxfw->dev_lock_changed | 1 |
| PARAM_VALUE | 0 | oxfw->dev_lock_count | 1-s32max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 2 | rate | 0 |
| PARAM_VALUE | 3 | pcm_channels | 0 |
| PARAM_VALUE | 4 | frames_per_period | 0 |
| PARAM_VALUE | 5 | frames_per_buffer | 0 |
| BUF_SIZE | 0 | oxfw | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | oxfw | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | oxfw | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &rmidi->open_mutex |
sound/firewire/oxfw/oxfw-pcm.c pcm_capture_hw_params() -> snd_oxfw_stream_reserve_duplex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| BUF_SIZE | 0 | oxfw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | oxfw | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | rate | r params_rate |
| DATA_SOURCE | 3 | pcm_channels | r params_channels |
| DATA_SOURCE | 4 | frames_per_period | r params_period_size |
| DATA_SOURCE | 5 | frames_per_buffer | r params_buffer_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | oxfw | unit_byte |
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/oxfw/oxfw-pcm.c pcm_playback_hw_params() -> snd_oxfw_stream_reserve_duplex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| BUF_SIZE | 0 | oxfw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | oxfw | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | rate | r params_rate |
| DATA_SOURCE | 3 | pcm_channels | r params_channels |
| DATA_SOURCE | 4 | frames_per_period | r params_period_size |
| DATA_SOURCE | 5 | frames_per_buffer | r params_buffer_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | oxfw | unit_byte |
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |