Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
sound/isa/gus/gus_reset.c snd_gf1_clear_voices() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 2 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BUF_SIZE | 0 | gus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gus->gf1.res_port1 | (-1),64 |
| BUF_SIZE | 0 | gus->gf1.res_port2 | (-1),64 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 3 | w_16bit | 0,4 |
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | 0 | &gus->voice_alloc | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_reset.c snd_gf1_clear_voices() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BUF_SIZE | 0 | gus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gus->gf1.res_port1 | (-1),64 |
| BUF_SIZE | 0 | gus->gf1.res_port2 | (-1),64 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 3 | w_16bit | 0,4 |
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | 0 | &gus->voice_alloc | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_reset.c snd_gf1_clear_voices() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 10 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BUF_SIZE | 0 | gus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gus | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gus->gf1.res_port1 | (-1),64 |
| BUF_SIZE | 0 | gus->gf1.res_port2 | (-1),64 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 3 | w_16bit | 0,4 |
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | 0 | &gus->voice_alloc | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_pcm.c snd_gf1_pcm_interrupt_wave() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->midi_substream_input->runtime->hw_ptr | 0-6442450939[c] |
| HOST_DATA | 0 | *gus->midi_substream_input->runtime->buffer | 0-255 |
| HOST_DATA | 3 | w_16bit | 0,4[c] |
| UNITS | 0 | gus | unit_byte |
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_pcm.c snd_gf1_pcm_trigger_up() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 2 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_pcm.c snd_gf1_pcm_trigger_up() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_pcm.c snd_gf1_pcm_trigger_up() -> snd_gf1_write_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 10 |
| PARAM_VALUE | 2 | addr | 0,16-4294967280 |
| PARAM_VALUE | 3 | w_16bit | 0,4 |
| BIT_INFO | 2 | addr | 0x0,0xfffffff0 |
| BIT_INFO | 3 | w_16bit | 0x0,0x4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |