Home
last modified time | relevance | path

Searched refs:uart_cmd (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/sound/isa/gus/
Dgus_uart.c31 if (!(gus->gf1.uart_cmd & 0x80)) { in snd_gf1_interrupt_midi_in()
61 snd_gf1_uart_cmd(gus, gus->gf1.uart_cmd & ~0x20); /* disable Tx interrupt */ in snd_gf1_interrupt_midi_out()
85 if (!(gus->gf1.uart_cmd & 0x80)) { /* input active? */ in snd_gf1_uart_output_open()
92 …snd_printk(KERN_DEBUG "write init - cmd = 0x%x, stat = 0x%x\n", gus->gf1.uart_cmd, snd_gf1_uart_st… in snd_gf1_uart_output_open()
120 gus->uart_enable, gus->gf1.uart_cmd, snd_gf1_uart_stat(gus)); in snd_gf1_uart_input_open()
169 if ((gus->gf1.uart_cmd & 0x80) == 0) in snd_gf1_uart_input_trigger()
170 snd_gf1_uart_cmd(gus, gus->gf1.uart_cmd | 0x80); /* enable Rx interrupts */ in snd_gf1_uart_input_trigger()
172 if (gus->gf1.uart_cmd & 0x80) in snd_gf1_uart_input_trigger()
173 snd_gf1_uart_cmd(gus, gus->gf1.uart_cmd & ~0x80); /* disable Rx interrupts */ in snd_gf1_uart_input_trigger()
189 if ((gus->gf1.uart_cmd & 0x20) == 0) { in snd_gf1_uart_output_trigger()
[all …]
Dgus_reset.c21 snd_gf1_uart_cmd(gus, gus->gf1.uart_cmd &= ~0x20); in snd_gf1_default_interrupt_handler_midi_out()
26 snd_gf1_uart_cmd(gus, gus->gf1.uart_cmd &= ~0x80); in snd_gf1_default_interrupt_handler_midi_in()
/kernel/linux/linux-5.10/include/sound/
Dgus.h360 unsigned short uart_cmd; member
450 outb(gus->gf1.uart_cmd = b, GUSP(gus, MIDICTRL)); in snd_gf1_uart_cmd()