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()
505 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_input_open()
507 uart->filemode |= SERIAL_MODE_INPUT_OPEN; in snd_uart16550_input_open()
519 uart->filemode &= ~SERIAL_MODE_INPUT_OPEN; in snd_uart16550_input_close()
521 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_input_close()
535 uart->filemode |= SERIAL_MODE_INPUT_TRIGGERED; in snd_uart16550_input_trigger()
537 uart->filemode &= ~SERIAL_MODE_INPUT_TRIGGERED; in snd_uart16550_input_trigger()
547 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_output_open()
549 uart->filemode |= SERIAL_MODE_OUTPUT_OPEN; in snd_uart16550_output_open()
561 uart->filemode &= ~SERIAL_MODE_OUTPUT_OPEN; in snd_uart16550_output_close()
563 if (uart->filemode == SERIAL_MODE_NOT_OPENED) in snd_uart16550_output_close()
731 uart->filemode |= SERIAL_MODE_OUTPUT_TRIGGERED; in snd_uart16550_output_trigger()
733 uart->filemode &= ~SERIAL_MODE_OUTPUT_TRIGGERED; in snd_uart16550_output_trigger()