Lines Matching refs:filemode
111 int filemode; /* open status of file */ member
218 } else if ((uart->filemode & SERIAL_MODE_INPUT_OPEN) in snd_uart16550_io_loop()
222 } else if ((uart->filemode & SERIAL_MODE_INPUT_OPEN) && in snd_uart16550_io_loop()
285 if (uart->filemode == SERIAL_MODE_NOT_OPENED) { in snd_uart16550_interrupt()
506 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_input_open()
508 uart->filemode |= SERIAL_MODE_INPUT_OPEN; in snd_uart16550_input_open()
520 uart->filemode &= ~SERIAL_MODE_INPUT_OPEN; in snd_uart16550_input_close()
522 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_input_close()
536 uart->filemode |= SERIAL_MODE_INPUT_TRIGGERED; in snd_uart16550_input_trigger()
538 uart->filemode &= ~SERIAL_MODE_INPUT_TRIGGERED; in snd_uart16550_input_trigger()
548 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_output_open()
550 uart->filemode |= SERIAL_MODE_OUTPUT_OPEN; in snd_uart16550_output_open()
562 uart->filemode &= ~SERIAL_MODE_OUTPUT_OPEN; in snd_uart16550_output_close()
564 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_output_close()
732 uart->filemode |= SERIAL_MODE_OUTPUT_TRIGGERED; in snd_uart16550_output_trigger()
734 uart->filemode &= ~SERIAL_MODE_OUTPUT_TRIGGERED; in snd_uart16550_output_trigger()