Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/isa/gus/gus_uart.c snd_gf1_interrupt_midi_out() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 1 | b | 0x0,0xffdf |
| 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 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_input_trigger() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BIT_INFO | 0 | gus->gf1.uart_cmd | 0x0,0xff7f |
| BIT_INFO | 1 | b | 0x80,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_input_trigger() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.uart_cmd | 128-u16max |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BIT_INFO | 0 | gus->gf1.uart_cmd | 0x80,0xffff |
| BIT_INFO | 1 | b | 0x0,0xff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_output_trigger() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BIT_INFO | 0 | gus->gf1.uart_cmd | 0x0,0xffdf |
| BIT_INFO | 1 | b | 0x20,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_output_trigger() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.uart_cmd | 32-u16max |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728,3792 |
| BIT_INFO | 0 | gus->gf1.uart_cmd | 0x20,0xffff |
| BIT_INFO | 1 | b | 0x0,0xffdf |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_reset() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 3 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| DATA_SOURCE | 0 | gus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_reset() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.uart_cmd | 3 |
| PARAM_VALUE | 1 | b | 0 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| BUF_SIZE | 0 | gus | 4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| DATA_SOURCE | 0 | gus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| HALF_LOCKED2 | &rmidi->open_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_resume() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 0 |
| BUF_SIZE | 0 | gus | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | gus | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | gus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_resume() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.uart_cmd | 0 |
| BUF_SIZE | 0 | gus | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | gus | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | gus | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | gus | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &gus->uart_cmd_lock | |
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_reset.c snd_gf1_default_interrupt_handler_midi_in() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.uart_cmd | 0-65407 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 0 | gus->gf1.uart_cmd | 0x0,0xff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
sound/isa/gus/gus_reset.c snd_gf1_default_interrupt_handler_midi_out() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 0 | gus->gf1.uart_cmd | 0-65503 |
| DATA_SOURCE | 0 | gus | $0 |
| BIT_INFO | 0 | gus->gf1.uart_cmd | 0x0,0xffdf |
| 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 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
sound/isa/gus/gus_reset.c snd_gf1_hw_start() -> snd_gf1_uart_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gus | 4096-ptr_max |
| PARAM_VALUE | 1 | b | 3 |
| 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 |