Lines Matching +full:tx1 +full:- +full:0

1 // SPDX-License-Identifier: GPL-2.0
3 * dice-alesis.c - a part of driver for DICE based devices
13 {8, 4, 0}, /* Tx1 = ADAT1. */
19 {16, 4, 0}, /* Tx1 = ADAT1 + ADAT2 (available at low rate). */
31 if (err < 0) in snd_dice_detect_alesis_formats()
36 memcpy(dice->tx_pcm_chs, alesis_io14_tx_pcm_chs, in snd_dice_detect_alesis_formats()
40 memcpy(dice->tx_pcm_chs, alesis_io26_tx_pcm_chs, in snd_dice_detect_alesis_formats()
45 for (i = 0; i < SND_DICE_RATE_MODE_COUNT; ++i) in snd_dice_detect_alesis_formats()
46 dice->rx_pcm_chs[0][i] = 8; in snd_dice_detect_alesis_formats()
48 dice->tx_midi_ports[0] = 1; in snd_dice_detect_alesis_formats()
49 dice->rx_midi_ports[0] = 1; in snd_dice_detect_alesis_formats()
51 return 0; in snd_dice_detect_alesis_formats()
58 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_LOW] = 16; in snd_dice_detect_alesis_mastercontrol_formats()
59 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_LOW] = 12; in snd_dice_detect_alesis_mastercontrol_formats()
60 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_MIDDLE] = 12; in snd_dice_detect_alesis_mastercontrol_formats()
61 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_MIDDLE] = 4; in snd_dice_detect_alesis_mastercontrol_formats()
62 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_HIGH] = 8; in snd_dice_detect_alesis_mastercontrol_formats()
63 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_HIGH] = 0; in snd_dice_detect_alesis_mastercontrol_formats()
65 for (i = 0; i < SND_DICE_RATE_MODE_COUNT; ++i) { in snd_dice_detect_alesis_mastercontrol_formats()
66 dice->rx_pcm_chs[0][i] = 6; in snd_dice_detect_alesis_mastercontrol_formats()
67 dice->rx_pcm_chs[1][i] = 0; in snd_dice_detect_alesis_mastercontrol_formats()
70 for (i = 0; i < MAX_STREAMS; ++i) { in snd_dice_detect_alesis_mastercontrol_formats()
71 dice->tx_midi_ports[i] = 2; in snd_dice_detect_alesis_mastercontrol_formats()
72 dice->rx_midi_ports[i] = 2; in snd_dice_detect_alesis_mastercontrol_formats()
75 return 0; in snd_dice_detect_alesis_mastercontrol_formats()