Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/pci/trident/trident_main.c snd_trident_capture_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 0 | trident->bDMAStart | 25,57,89,121,153,185,217,249 |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 0-4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 1 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| PARAM_VALUE | 1 | voice->isync | 1 |
| PARAM_VALUE | 1 | voice->memblk | 0,4096-ptr_max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| FUZZY_MAX | 0 | trident->bDMAStart | 25 |
| BIT_INFO | 0 | trident->bDMAStart | 0x19,0xf9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| UNITS | 1 | voice | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_foldback_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 1 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| PARAM_VALUE | 1 | voice->memblk | 0,4096-ptr_max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| UNITS | 1 | voice | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_foldback_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 0-1 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| FUZZY_MAX | 1 | voice->GVSel | 1 |
| HARD_MAX | 1 | voice->GVSel | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_playback_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident->pcm_mixer | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 0-127 |
| PARAM_VALUE | 1 | voice->Delta | 0-4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 1 |
| PARAM_VALUE | 1 | voice->Pan | 0-127 |
| PARAM_VALUE | 1 | voice->RVol | 0-127 |
| PARAM_VALUE | 1 | voice->Vol | 0-1023 |
| PARAM_VALUE | 1 | voice->memblk | 0,4096-ptr_max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| UNITS | 1 | voice | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_playback_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 0 | trident->pcm_mixer | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 0-4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 0-1 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| FUZZY_MAX | 1 | voice->GVSel | 1 |
| HARD_MAX | 1 | voice->GVSel | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_si7018_capture_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 35456 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 0 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 0 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 1 |
| PARAM_VALUE | 1 | voice->Pan | 0 |
| PARAM_VALUE | 1 | voice->RVol | 0 |
| PARAM_VALUE | 1 | voice->Vol | 0 |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| UNITS | 1 | voice | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_si7018_capture_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 0-4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 0 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_spdif_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 0 | trident->device | 0-272199703,272199705-u32max |
| PARAM_VALUE | 0 | trident->pcm_mixer | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 0-4096 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 1 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| PARAM_VALUE | 1 | voice->isync | 1 |
| PARAM_VALUE | 1 | voice->isync3 | 1 |
| PARAM_VALUE | 1 | voice->memblk | 0,4096-ptr_max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| UNITS | 1 | voice | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_spdif_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 0 | trident->device | 272199704 |
| PARAM_VALUE | 0 | trident->pcm_mixer | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 23552 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 0-127 |
| PARAM_VALUE | 1 | voice->Delta | 2048 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 1 |
| PARAM_VALUE | 1 | voice->Pan | 0-127 |
| PARAM_VALUE | 1 | voice->RVol | 0-127 |
| PARAM_VALUE | 1 | voice->Vol | 0-1023 |
| PARAM_VALUE | 1 | voice->memblk | 0,4096-ptr_max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | voice | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| UNITS | 1 | voice | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |
sound/pci/trident/trident_main.c snd_trident_spdif_prepare() -> snd_trident_write_voice_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trident | 4096-ptr_max |
| PARAM_VALUE | 0 | trident->device | 272199704 |
| PARAM_VALUE | 0 | trident->pcm_mixer | 4096-ptr_max |
| PARAM_VALUE | 1 | voice | 4096-ptr_max |
| PARAM_VALUE | 1 | voice->Alpha | 0 |
| PARAM_VALUE | 1 | voice->Attribute | 0 |
| PARAM_VALUE | 1 | voice->CSO | 0 |
| PARAM_VALUE | 1 | voice->CTRL | 1,3,5,7,9,11,13,15 |
| PARAM_VALUE | 1 | voice->CVol | 127 |
| PARAM_VALUE | 1 | voice->Delta | 2048 |
| PARAM_VALUE | 1 | voice->EC | 0 |
| PARAM_VALUE | 1 | voice->FMC | 3 |
| PARAM_VALUE | 1 | voice->FMS | 0 |
| PARAM_VALUE | 1 | voice->GVSel | 0 |
| PARAM_VALUE | 1 | voice->Pan | 127 |
| PARAM_VALUE | 1 | voice->RVol | 127 |
| PARAM_VALUE | 1 | voice->Vol | 1023 |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | trident | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | trident | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &trident->reg_lock | |
| TYPE_LOCK | (struct snd_trident)->reg_lock |