Lines Matching refs:info_flags
112 if (mpu->info_flags & MPU401_INFO_INPUT) { in _snd_mpu401_uart_interrupt()
120 if (! (mpu->info_flags & MPU401_INFO_TX_IRQ)) in _snd_mpu401_uart_interrupt()
248 if (ack && !(mpu->info_flags & MPU401_INFO_NO_ACK)) { in snd_mpu401_uart_cmd()
379 if (mpu->info_flags & MPU401_INFO_USE_TIMER) in snd_mpu401_uart_input_trigger()
388 if (mpu->info_flags & MPU401_INFO_USE_TIMER) in snd_mpu401_uart_input_trigger()
466 if (! (mpu->info_flags & MPU401_INFO_TX_IRQ)) in snd_mpu401_uart_output_trigger()
474 if (! (mpu->info_flags & MPU401_INFO_TX_IRQ)) in snd_mpu401_uart_output_trigger()
528 unsigned int info_flags, in snd_mpu401_uart_new() argument
539 if (! (info_flags & (MPU401_INFO_INPUT | MPU401_INFO_OUTPUT))) in snd_mpu401_uart_new()
540 info_flags |= MPU401_INFO_INPUT | MPU401_INFO_OUTPUT; in snd_mpu401_uart_new()
541 in_enable = (info_flags & MPU401_INFO_INPUT) ? 1 : 0; in snd_mpu401_uart_new()
542 out_enable = (info_flags & MPU401_INFO_OUTPUT) ? 1 : 0; in snd_mpu401_uart_new()
559 if (! (info_flags & MPU401_INFO_INTEGRATED)) { in snd_mpu401_uart_new()
570 if (info_flags & MPU401_INFO_MMIO) { in snd_mpu401_uart_new()
591 if (irq < 0 && !(info_flags & MPU401_INFO_IRQ_HOOK)) in snd_mpu401_uart_new()
592 info_flags |= MPU401_INFO_USE_TIMER; in snd_mpu401_uart_new()
593 mpu->info_flags = info_flags; in snd_mpu401_uart_new()
603 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT; in snd_mpu401_uart_new()
608 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_INPUT; in snd_mpu401_uart_new()
610 rmidi->info_flags |= SNDRV_RAWMIDI_INFO_DUPLEX; in snd_mpu401_uart_new()