Defined in 3 files as a member:
- include/sound/gus.h, line 424 (as a member)
- sound/pci/ali5451/ali5451.c, line 244 (as a member)
- sound/pci/trident/trident.h, line 372 (as a member)
Defined in 2 files as a function:
- sound/pci/emu10k1/voice.c, line 24 (as a function)
- sound/pci/ymfpci/ymfpci_main.c, line 193 (as a function)
Referenced in 7 files:
- sound/isa/gus/gus_main.c, line 123
- sound/isa/gus/gus_pcm.c, line 747
- sound/isa/gus/gus_reset.c
- sound/pci/ali5451/ali5451.c
- sound/pci/emu10k1/voice.c, line 91
- sound/pci/trident/trident_main.c
- sound/pci/ymfpci/ymfpci_main.c, line 244
Smatch caller information:
sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_voice_alloc() -> voice_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | number | 0-1 |
| PARAM_VALUE | 3 | epcm | 4096-ptr_max |
| BUF_SIZE | 3 | epcm | 16 |
| BUF_SIZE | 3 | epcm | 16 |
| DATA_SOURCE | 0 | emu | $0 |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 2 | number | $2 |
| DATA_SOURCE | 3 | epcm | $3 |
| HARD_MAX | 2 | number | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | emu | unit_byte |
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &emu->voice_lock | |
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex | ||
| TYPE_LOCK | (struct snd_ymfpci)->voice_lock |
sound/pci/emu10k1/voice.c snd_emu10k1_voice_alloc() -> voice_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1-5 |
| PARAM_VALUE | 2 | number | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | epcm | 0,4096-ptr_max |
| PARAM_VALUE | 4 | rvoice | 4096-ptr_max |
| BUF_SIZE | 3 | epcm | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | epcm | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | number | 1 |
| DATA_SOURCE | 0 | emu | $0 |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 2 | number | $2 |
| DATA_SOURCE | 3 | epcm | $4 |
| FUZZY_MAX | 1 | type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | emu | unit_byte |
| UNITS | 3 | epcm | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &emu->voice_lock | |
| HALF_LOCKED2 | &emu->voice_lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| TYPE_LOCK | (struct snd_emu10k1)->voice_lock |