Searched refs:filemode (Results 1 – 2 of 2) sorted by relevance
50 unsigned long filemode; /* open status of file */ member78 if (!test_bit(SERIAL_MODE_OUTPUT_OPEN, &drvdata->filemode)) in snd_serial_generic_tx_work()109 if (!test_bit(SERIAL_MODE_INPUT_OPEN, &drvdata->filemode)) in snd_serial_generic_receive_buf()126 if (drvdata->filemode) in snd_serial_generic_ensure_serdev_open()157 set_bit(SERIAL_MODE_INPUT_OPEN, &drvdata->filemode); in snd_serial_generic_input_open()169 clear_bit(SERIAL_MODE_INPUT_OPEN, &drvdata->filemode); in snd_serial_generic_input_close()170 clear_bit(SERIAL_MODE_INPUT_TRIGGERED, &drvdata->filemode); in snd_serial_generic_input_close()174 if (!drvdata->filemode) in snd_serial_generic_input_close()185 set_bit(SERIAL_MODE_INPUT_TRIGGERED, &drvdata->filemode); in snd_serial_generic_input_trigger()187 clear_bit(SERIAL_MODE_INPUT_TRIGGERED, &drvdata->filemode); in snd_serial_generic_input_trigger()[all …]
111 int filemode; /* open status of file */ member218 } 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()[all …]