Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- sound/isa/gus/gus_dma.c
- sound/isa/gus/gus_main.c, line 447
- sound/isa/gus/gus_pcm.c
- sound/isa/gus/gus_reset.c
- sound/isa/gus/interwave.c
Smatch caller information:
sound/isa/gus/interwave-stb.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 76,92-65372 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | data | 0x4c,0xff5c |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 76,92-65372[c] |
sound/isa/gus/interwave-stb.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 0-u16max |
| DATA_SOURCE | 0 | gus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 0-u16max[c] |
sound/isa/gus/interwave-stb.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 2,18-65522 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | data | 0x2,0xfff2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 2,18-65522[c] |
sound/isa/gus/interwave-stb.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.memory | 0,262144-4294705152 |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 128-65439 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 0 | gus->gf1.memory | 0x0,0x7fffffff |
| BIT_INFO | 2 | data | 0x80,0xff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 128-65439[c] |
sound/isa/gus/interwave-stb.c snd_interwave_restore_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.memory | 1-u32max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 128-65439 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | data | 0x80,0xff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 128-65439[c] |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_reset.c snd_gf1_clear_voices() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1 |
| PARAM_VALUE | 2 | data | 1024 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| 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_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | data | 0 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| 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_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 22 |
| PARAM_VALUE | 2 | data | 0 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| 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_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 29 |
| PARAM_VALUE | 2 | data | 0 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->gf1.rom_memory | 0-u32max |
| HOST_DATA | 0 | gus->revision | 0-15 |
| 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_dma.c snd_gf1_dma_program() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 66 |
| PARAM_VALUE | 2 | data | 0-u16max |
| DATA_SOURCE | 0 | gus | $0 |
| 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 |
| USER_DATA | 0 | gus->gf1.dma_data_pcm_last->count | 0[c] |
| USER_DATA | 0 | gus->gf1.dma_data_pcm_last->next->count | 0[c] |
| USER_DATA | 0 | gus->gf1.dma_data_synth_last->count | 0[c] |
| USER_DATA | 0 | gus->gf1.dma_data_synth_last->next->count | 0[c] |
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_dma.c snd_gf1_dma_program() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 66 |
| PARAM_VALUE | 2 | data | 0-u16max |
| DATA_SOURCE | 0 | gus | $0 |
| 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 |
| USER_DATA | 0 | gus->gf1.dma_data_pcm_last->count | 0[c] |
| USER_DATA | 0 | gus->gf1.dma_data_pcm_last->next->count | 0[c] |
| USER_DATA | 0 | gus->gf1.dma_data_synth_last->count | 0[c] |
| USER_DATA | 0 | gus->gf1.dma_data_synth_last->next->count | 0[c] |
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
sound/isa/gus/gus_pcm.c snd_gf1_pcm_interrupt_volume() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 9 |
| DATA_SOURCE | 0 | gus | $0 |
| 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 |
| 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_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 1 |
| DATA_SOURCE | 2 | data | r snd_gf1_translate_freq |
| 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_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | data | 28800 |
| 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_volume_put() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 9 |
| BUF_SIZE | 0 | gus | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | gus | (-1),72,104,256,376,448,2728 |
| CAPPED_DATA | 0 | gus->gf1.pcm_volume_level_left1 | 1 |
| CAPPED_DATA | 0 | gus->gf1.pcm_volume_level_right1 | 1 |
| BIT_INFO | 0 | gus->gf1.pcm_volume_level_left | 0x0,0xfff0 |
| BIT_INFO | 0 | gus->gf1.pcm_volume_level_right | 0x0,0xfff0 |
| BIT_INFO | 2 | data | 0x0,0xfff0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| LOCK2 | 0 | &gus->voice_alloc | |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->reg_lock | ||
| TYPE_LOCK | (struct snd_gus_card)->voice_alloc |
sound/isa/gus/interwave.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 76,92-65372 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | data | 0x4c,0xff5c |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 76,92-65372[c] |
sound/isa/gus/interwave.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 0-u16max |
| DATA_SOURCE | 0 | gus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 0-u16max[c] |
sound/isa/gus/interwave.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 2,18-65522 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | data | 0x2,0xfff2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 2,18-65522[c] |
sound/isa/gus/interwave.c snd_interwave_detect_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.memory | 0,262144-4294705152 |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 128-65439 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 0 | gus->gf1.memory | 0x0,0x7fffffff |
| BIT_INFO | 2 | data | 0x80,0xff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gus->revision | 0-15 |
| HOST_DATA | 2 | data | 128-65439[c] |
sound/isa/gus/interwave.c snd_interwave_restore_memory() -> snd_gf1_write16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.memory | 1-u32max |
| PARAM_VALUE | 1 | reg | 82 |
| PARAM_VALUE | 2 | data | 128-65439 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 2 | data | 0x80,0xff9f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 128-65439[c] |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->reg_lock | |
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |