Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- sound/firewire/amdtp-stream.c, line 331
- sound/firewire/bebob/bebob_stream.c, line 522
- sound/firewire/dice/dice-stream.c, line 193
- sound/firewire/digi00x/digi00x-stream.c, line 214
- sound/firewire/fireface/ff-protocol-former.c
- sound/firewire/fireface/ff-protocol-latter.c
- sound/firewire/fireworks/fireworks_stream.c, line 182
- sound/firewire/motu/motu-stream.c, line 58
- sound/firewire/oxfw/oxfw-stream.c, line 250
- sound/firewire/tascam/tascam-stream.c, line 300
Smatch caller information:
sound/firewire/fireface/ff-protocol-former.c ff400_allocate_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 10,12,14,18,20,22,28,30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/fireface/ff-protocol-former.c ff400_allocate_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 10,12,14,18,20,22,28,30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/fireface/ff-protocol-former.c ff800_allocate_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 10,12,14,18,20,22,28,30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/fireface/ff-protocol-latter.c latter_allocate_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 10,12,14,18,20,22,28,30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/fireface/ff-protocol-latter.c latter_allocate_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 10,12,14,18,20,22,28,30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/motu/motu-stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 1-194 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/tascam/tascam-stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/oxfw/oxfw-stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 0-65 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/fireworks/fireworks_stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 0-65 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/dice/dice-stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 0-65 |
| CAPPED_DATA | 0 | s->protocol->pcm_channels | 1 |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/digi00x/digi00x-stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 1-u32max |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/bebob/bebob_stream.c keep_resources() -> amdtp_stream_get_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->data_block_quadlets | 0-65 |
| CAPPED_DATA | 0 | s | 1 |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |