Lines Matching +full:0 +full:- +full:2
1 // SPDX-License-Identifier: GPL-2.0
2 // dice-weiss.c - a part of driver for DICE based devices
13 // Weiss DAC202: 192kHz 2-channel DAC
15 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
16 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
19 // Weiss MAN301: 192kHz 2-channel music archive network player
21 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
22 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
25 // Weiss INT202: 192kHz unidirectional 2-channel digital Firewire nterface
27 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
28 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
31 // Weiss INT203: 192kHz bidirectional 2-channel digital Firewire nterface
33 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
34 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
39 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
40 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
43 // Weiss DAC2/Minerva: 192kHz 2-channel DAC
45 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
46 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
49 // Weiss Vesta: 192kHz 2-channel Firewire to AES/EBU interface
51 .tx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
52 .rx_pcm_chs = {{2, 2, 2}, {0, 0, 0} },
55 // Weiss AFI1: 192kHz 24-channel Firewire to ADAT or AES/EBU interface
57 .tx_pcm_chs = {{24, 16, 8}, {0, 0, 0} },
58 .rx_pcm_chs = {{24, 16, 8}, {0, 0, 0} },
67 {0x000007, &dac202}, in snd_dice_detect_weiss_formats()
68 {0x000008, &dac202}, // Maya edition: same audio I/O as DAC202. in snd_dice_detect_weiss_formats()
69 {0x000006, &int202}, in snd_dice_detect_weiss_formats()
70 {0x00000a, &int203}, in snd_dice_detect_weiss_formats()
71 {0x00000b, &man301}, in snd_dice_detect_weiss_formats()
72 {0x000001, &adc2}, in snd_dice_detect_weiss_formats()
73 {0x000003, &dac2_minerva}, in snd_dice_detect_weiss_formats()
74 {0x000002, &vesta}, in snd_dice_detect_weiss_formats()
75 {0x000004, &afi1}, in snd_dice_detect_weiss_formats()
81 model_id = 0; in snd_dice_detect_weiss_formats()
82 fw_csr_iterator_init(&it, dice->unit->directory); in snd_dice_detect_weiss_formats()
90 for (i = 0; i < ARRAY_SIZE(entries); ++i) { in snd_dice_detect_weiss_formats()
92 if (entry->model_id == model_id) in snd_dice_detect_weiss_formats()
96 return -ENODEV; in snd_dice_detect_weiss_formats()
98 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_weiss_formats()
100 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_weiss_formats()
103 return 0; in snd_dice_detect_weiss_formats()