Home
last modified time | relevance | path

Searched refs:SNDRV_CARDS (Results 1 – 116 of 116) sorted by relevance

/linux-4.4.14/include/sound/
Dinitval.h38 #define SNDRV_DEFAULT_IDX { [0 ... (SNDRV_CARDS-1)] = -1 }
39 #define SNDRV_DEFAULT_STR { [0 ... (SNDRV_CARDS-1)] = NULL }
40 #define SNDRV_DEFAULT_ENABLE { 1, [1 ... (SNDRV_CARDS-1)] = 0 }
41 #define SNDRV_DEFAULT_ENABLE_PNP { [0 ... (SNDRV_CARDS-1)] = 1 }
47 #define SNDRV_DEFAULT_PORT { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_PORT }
48 #define SNDRV_DEFAULT_IRQ { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_IRQ }
49 #define SNDRV_DEFAULT_DMA { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_DMA }
50 #define SNDRV_DEFAULT_DMA_SIZE { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_DMA_SIZE }
Dcore.h35 #define SNDRV_CARDS CONFIG_SND_MAX_CARDS macro
37 #define SNDRV_CARDS 8 /* don't change - minor numbers */ macro
243 extern struct snd_card *snd_cards[SNDRV_CARDS];
/linux-4.4.14/sound/pci/emu10k1/
Demu10k1.c45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
46 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
47 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
48 static int extin[SNDRV_CARDS];
49 static int extout[SNDRV_CARDS];
50 static int seq_ports[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4};
51 static int max_synth_voices[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 64};
52 static int max_buffer_size[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 128};
53 static bool enable_ir[SNDRV_CARDS];
54 static uint subsystem[SNDRV_CARDS]; /* Force card subsystem model */
[all …]
Demu10k1x.c51 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
52 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
53 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
1560 if (dev >= SNDRV_CARDS) in snd_emu10k1x_probe()
Demu10k1_main.c1902 if (n >= SNDRV_CARDS) in snd_emu10k1_create()
/linux-4.4.14/sound/isa/gus/
Dgusextreme.c47 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
49 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
50 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */
51 static long gf1_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS) - 1] = -1}; /* 0x210,0x220,0x230,0x240,0x…
52 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS) - 1] = -1}; /* 0x300,0x310,0x320 */
53 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
54 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
55 static int gf1_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 2,3,5,9,11,12,15 */
56 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */
[all …]
Dgusclassic.c43 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
44 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
45 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
46 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x230,0x240,0x250,0x260 */
47 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,5,9,11,12,15 */
48 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */
49 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */
50 static int joystick_dac[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 29};
52 static int channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 24};
53 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
[all …]
Dgusmax.c41 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
42 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
43 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
44 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x230,0x240,0x250,0x260 */
45 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 2,3,5,9,11,12,15 */
46 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */
47 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */
48 static int joystick_dac[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 29};
50 static int channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 24};
51 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
[all …]
Dinterwave.c56 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
57 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
58 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
60 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
62 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x210,0x220,0x230,0x240,0x250,0x260 */
64 static long port_tc[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x350,0x360,0x370,0x380 */
66 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 2,3,5,9,11,12,15 */
67 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */
68 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */
69 static int joystick_dac[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 29};
[all …]
/linux-4.4.14/sound/drivers/mpu401/
Dmpu401.c36 static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /* exclude the first card */
37 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
38 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
40 static bool pnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
42 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* MPU-401 port number */
43 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* MPU-401 IRQ */
44 static bool uart_enter[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
63 static struct platform_device *platform_devices[SNDRV_CARDS];
191 for ( ; dev < SNDRV_CARDS; ++dev) { in snd_mpu401_pnp_probe()
248 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_card_mpu401_init()
/linux-4.4.14/sound/isa/cs423x/
Dcs4231.c42 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
43 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
44 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
45 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
46 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
47 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */
48 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 9,11,12,15 */
49 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */
50 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */
191 return isa_register_driver(&snd_cs4231_driver, SNDRV_CARDS); in alsa_card_cs4231_init()
Dcs4236.c75 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
76 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
77 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
79 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
81 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
82 static long cport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
83 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;/* PnP setup */
84 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
85 static long sb_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
86 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */
[all …]
/linux-4.4.14/sound/drivers/
Dvirmidi.c64 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
65 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
66 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
67 static int midi_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4};
83 static struct platform_device *devices[SNDRV_CARDS];
167 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_card_virmidi_init()
Dserial-u16550.c69 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
70 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
71 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
72 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x3f8,0x2f8,0x3e8,0x2e8 */
73 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,4,5,7,9,10,11,14,15 */
74 static int speed[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 38400}; /* 9600,19200,38400,57600,1152…
75 static int base[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 115200}; /* baud base */
76 static int outs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */
77 static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */
78 static int adaptor[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = SNDRV_SERIAL_SOUNDCANVAS};
[all …]
Dportman2x4.c56 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
57 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
58 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
60 static struct platform_device *platform_devices[SNDRV_CARDS];
743 if (dev >= SNDRV_CARDS) in snd_portman_probe()
842 for (i = 0; i < SNDRV_CARDS; ++i) { in snd_portman_unregister_all()
Ddummy.c61 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
62 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
63 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
64 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL};
65 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
66 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8};
94 static struct platform_device *devices[SNDRV_CARDS];
1193 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_card_dummy_init()
Dmts64.c37 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
38 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
39 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
41 static struct platform_device *platform_devices[SNDRV_CARDS];
945 if (dev >= SNDRV_CARDS) in snd_mts64_probe()
1043 for (i = 0; i < SNDRV_CARDS; ++i) { in snd_mts64_unregister_all()
Daloop.c52 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
53 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
54 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
55 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8};
56 static int pcm_notify[SNDRV_CARDS];
125 static struct platform_device *devices[SNDRV_CARDS];
1237 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_card_loopback_init()
Dml403-ac97cr.c74 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
75 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
76 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE;
1272 if (dev >= SNDRV_CARDS)
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx.c47 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
49 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
50 static bool external_amp[SNDRV_CARDS];
51 static bool thinkpad[SNDRV_CARDS];
52 static bool mmap_valid[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
84 if (dev >= SNDRV_CARDS) in snd_card_cs46xx_probe()
/linux-4.4.14/sound/isa/ad1816a/
Dad1816a.c45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */
46 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
47 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
48 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
49 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
50 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
51 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* Pnp setup */
52 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* Pnp setup */
53 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */
54 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */
[all …]
/linux-4.4.14/sound/pci/trident/
Dtrident.c48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
49 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
50 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
51 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 32};
52 static int wavetable_size[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 8192};
85 if (dev >= SNDRV_CARDS) in snd_trident_probe()
/linux-4.4.14/sound/isa/es1688/
Des1688.c51 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
52 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
54 static bool isapnp[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP;
56 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
57 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */
58 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* Usually 0x388 */
59 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
60 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
61 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
62 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */
[all …]
/linux-4.4.14/sound/isa/ad1848/
Dad1848.c44 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
45 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
46 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
47 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
48 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */
49 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */
50 static bool thinkpad[SNDRV_CARDS]; /* Thinkpad special case */
175 return isa_register_driver(&snd_ad1848_driver, SNDRV_CARDS); in alsa_card_ad1848_init()
/linux-4.4.14/sound/isa/
Dazt2320.c56 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
57 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
58 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
59 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
60 static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
61 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
62 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
63 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* Pnp setup */
64 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* Pnp setup */
65 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */
[all …]
Dals100.c55 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
56 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
57 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
58 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
59 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
60 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
61 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* PnP setup */
62 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* PnP setup */
63 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */
64 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */
[all …]
Dcmi8330.c70 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
71 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
72 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP;
74 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
76 static long sbport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
77 static int sbirq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
78 static int sbdma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
79 static int sbdma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
80 static long wssport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
81 static int wssirq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
[all …]
Dadlib.c19 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
20 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
21 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE;
22 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
117 return isa_register_driver(&snd_adlib_driver, SNDRV_CARDS); in alsa_card_adlib_init()
Dsc6000.c49 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
50 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
51 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
52 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220, 0x240 */
53 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5, 7, 9, 10, 11 */
54 static long mss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x530, 0xe80 */
55 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
57 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5, 7, 9, 10, 0 */
58 static int dma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0, 1, 3 */
59 static bool joystick[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = false };
[all …]
Dopl3sa2.c46 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
48 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
50 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
52 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0xf86,0x370,0x100 */
53 static long sb_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */
54 static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;/* 0x530,0xe80,0xf40,0x604 */
55 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x388 */
56 static long midi_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;/* 0x330,0x300 */
57 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 0,1,3,5,9,11,12,15 */
[all …]
Dsscape.c50 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
51 static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
52 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
53 static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
54 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
55 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
56 static int dma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
57 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
58 static bool joystick[SNDRV_CARDS];
1220 while (i < SNDRV_CARDS && port[i] != SNDRV_AUTO_PORT) in get_next_autoindex()
[all …]
Des18xx.c1975 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
1976 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
1977 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
1979 static bool isapnp[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP;
1981 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260,0x280 */
1983 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
1985 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
1987 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
1988 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
1989 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */
[all …]
/linux-4.4.14/sound/isa/sb/
Dsb16.c69 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
70 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
71 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
73 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
75 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260,0x280 */
76 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x330,0x300 */
77 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
79 static long awe_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
81 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
82 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */
[all …]
Djazz16.c37 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
38 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
39 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
40 static unsigned long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
41 static unsigned long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
42 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
43 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
44 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
45 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
392 return isa_register_driver(&snd_jazz16_driver, SNDRV_CARDS); in alsa_card_jazz16_init()
Dsb8.c37 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
38 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
39 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
40 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */
41 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */
42 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3 */
256 return isa_register_driver(&snd_sb8_driver, SNDRV_CARDS); in alsa_card_sb8_init()
/linux-4.4.14/sound/isa/wavefront/
Dwavefront.c39 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
40 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
41 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
43 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
45 static long cs4232_pcm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
46 static int cs4232_pcm_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */
47 static long cs4232_mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
48 static int cs4232_mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 9,11,12,15 */
49 static long ics2115_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */
50 static int ics2115_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 2,9,11,12,15 */
[all …]
/linux-4.4.14/sound/isa/galaxy/
Dgalaxy.c36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
37 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
38 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE;
47 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
48 static long wss_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
49 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
50 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
51 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
52 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
53 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA;
[all …]
/linux-4.4.14/sound/pci/oxygen/
Dvirtuoso.c33 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
34 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
35 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
81 if (dev >= SNDRV_CARDS) in xonar_probe()
Dse6x.c44 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
45 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
46 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
134 if (dev >= SNDRV_CARDS) in se6x_probe()
Doxygen.c75 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
76 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
77 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
857 if (dev >= SNDRV_CARDS) in generic_oxygen_probe()
/linux-4.4.14/sound/usb/6fire/
Dchip.c35 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */
36 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for card */
37 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable card */
38 static struct sfire_chip *chips[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
39 static struct usb_device *devices[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
97 for (i = 0; i < SNDRV_CARDS; i++) { in usb6fire_chip_probe()
/linux-4.4.14/sound/pci/ctxfi/
Dxfi.c33 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
34 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
35 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
36 static unsigned int subsystem[SNDRV_CARDS];
67 if (dev >= SNDRV_CARDS) in ct_card_probe()
/linux-4.4.14/sound/pcmcia/pdaudiocf/
Dpdaudiocf.c40 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
41 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
42 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */
54 static struct snd_card *card_list[SNDRV_CARDS];
104 for (i = 0; i < SNDRV_CARDS; i++) { in snd_pdacf_probe()
108 if (i >= SNDRV_CARDS) { in snd_pdacf_probe()
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci.c42 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
43 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
44 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
45 static long fm_port[SNDRV_CARDS];
46 static long mpu_port[SNDRV_CARDS];
48 static long joystick_port[SNDRV_CARDS];
50 static bool rear_switch[SNDRV_CARDS];
187 if (dev >= SNDRV_CARDS) in snd_card_ymfpci_probe()
/linux-4.4.14/sound/pci/vx222/
Dvx222.c38 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
39 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
40 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
41 static bool mic[SNDRV_CARDS]; /* microphone */
42 static int ibl[SNDRV_CARDS]; /* microphone */
199 if (dev >= SNDRV_CARDS) in snd_vx222_probe()
/linux-4.4.14/sound/isa/msnd/
Dmsnd_pinnacle.c537 static long mpu_io[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
538 static int mpu_irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
756 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
757 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
764 static long io[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
765 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ;
766 static long mem[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
769 static long cfg[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
772 static long ide_io0[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
773 static long ide_io1[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
[all …]
/linux-4.4.14/sound/pcmcia/vx/
Dvxpocket.c40 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
41 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
42 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */
43 static int ibl[SNDRV_CARDS];
303 for (i = 0; i < SNDRV_CARDS; i++) { in vxpocket_probe()
307 if (i >= SNDRV_CARDS) { in vxpocket_probe()
/linux-4.4.14/sound/usb/hiface/
Dchip.c46 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */
47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for card */
48 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
127 for (i = 0; i < SNDRV_CARDS; i++) in hiface_chip_probe()
131 if (i >= SNDRV_CARDS) { in hiface_chip_probe()
/linux-4.4.14/sound/usb/
Dcard.c76 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
77 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
78 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;/* Enable this card */
80 static int vid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 };
81 static int pid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 };
82 static int device_setup[SNDRV_CARDS]; /* device parameter for this card */
110 static struct snd_usb_audio *usb_chip[SNDRV_CARDS];
498 for (i = 0; i < SNDRV_CARDS; i++) { in usb_audio_probe()
514 for (i = 0; i < SNDRV_CARDS; i++) in usb_audio_probe()
/linux-4.4.14/sound/usb/usx2y/
Dusbusx2y.c155 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */
156 static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for this card */
157 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
167 static int snd_usX2Y_card_used[SNDRV_CARDS];
343 for (dev = 0; dev < SNDRV_CARDS; ++dev) in usX2Y_create_card()
346 if (dev >= SNDRV_CARDS) in usX2Y_create_card()
434 if (usX2Y(card)->card_index >= 0 && usX2Y(card)->card_index < SNDRV_CARDS) in snd_usX2Y_card_private_free()
Dus122l.c37 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */
38 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for this card */
40 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
49 static int snd_us122l_card_used[SNDRV_CARDS];
534 if (index >= 0 && index < SNDRV_CARDS) in snd_us122l_free()
546 for (dev = 0; dev < SNDRV_CARDS; ++dev) in usx2y_create_card()
549 if (dev >= SNDRV_CARDS) in usx2y_create_card()
/linux-4.4.14/sound/core/
Dinfo_oss.c37 static char *snd_sndstat_strings[SNDRV_CARDS][SNDRV_OSS_INFO_DEV_COUNT];
45 if (snd_BUG_ON(num < 0 || num >= SNDRV_CARDS)) in snd_oss_info_register()
74 for (idx = 0; idx < SNDRV_CARDS; idx++) { in snd_sndstat_show_strings()
Dinit.c51 static DECLARE_BITMAP(snd_cards_lock, SNDRV_CARDS);
52 struct snd_card *snd_cards[SNDRV_CARDS];
57 static char *slots[SNDRV_CARDS];
142 for (slot = 0; slot < SNDRV_CARDS; slot++) { in get_slot_from_bitmask()
232 } else if (idx >= SNDRV_CARDS) in snd_card_new()
591 for (loops = 0; loops < SNDRV_CARDS; loops++) { in snd_card_set_id_no_lock()
785 for (idx = count = 0; idx < SNDRV_CARDS; idx++) { in snd_card_info_read()
809 for (idx = count = 0; idx < SNDRV_CARDS; idx++) { in snd_card_info_read_oss()
831 for (idx = 0; idx < SNDRV_CARDS; idx++) { in snd_card_module_info_read()
Drawmidi.c43 static int midi_map[SNDRV_CARDS];
44 static int amidi_map[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1};
1771 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_rawmidi_init()
Dtimer.c2048 snd_oss_info_register(SNDRV_OSS_INFO_DEV_TIMERS, SNDRV_CARDS - 1, in alsa_timer_init()
2079 snd_oss_info_unregister(SNDRV_OSS_INFO_DEV_TIMERS, SNDRV_CARDS - 1); in alsa_timer_exit()
Dcontrol.c1808 if (snd_BUG_ON(card->number < 0 || card->number >= SNDRV_CARDS)) in snd_ctl_create()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0.c27 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
28 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
29 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
30 static int pcifix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 255 };
243 if (dev >= SNDRV_CARDS) in snd_vortex_probe()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks.c24 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
25 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
26 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
43 static DECLARE_BITMAP(devices_used, SNDRV_CARDS);
213 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) { in efw_probe()
217 if (card_index >= SNDRV_CARDS) { in efw_probe()
Dfireworks_transaction.c42 static struct snd_efw *instances[SNDRV_CARDS] = SNDRV_DEFAULT_PTR;
176 for (i = 0; i < SNDRV_CARDS; i++) { in handle_resp_for_user()
190 if (i == SNDRV_CARDS) in handle_resp_for_user()
266 for (i = 0; i < SNDRV_CARDS; i++) { in snd_efw_transaction_add_instance()
282 for (i = 0; i < SNDRV_CARDS; i++) { in snd_efw_transaction_remove_instance()
/linux-4.4.14/sound/pci/
Dcs5530.c51 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
52 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
53 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
258 if (dev >= SNDRV_CARDS) in snd_cs5530_probe()
Des1968.c133 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */
134 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
135 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
136 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 };
137 static int pcm_substreams_p[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4 };
138 static int pcm_substreams_c[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1 };
139 static int clock[SNDRV_CARDS];
140 static int use_pm[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
141 static int enable_mpu[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
143 static bool joystick[SNDRV_CARDS];
[all …]
Dbt87x.c43 static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /* Exclude the first card */
44 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
45 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
46 static int digital_rate[SNDRV_CARDS]; /* digital input rate */
891 if (dev >= SNDRV_CARDS) in snd_bt87x_probe()
Dals4000.c91 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
92 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
93 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
95 static int joystick_port[SNDRV_CARDS];
862 if (dev >= SNDRV_CARDS) in snd_card_als4000_probe()
Dad1889.c60 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
64 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
68 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
72 static char *ac97_quirk[SNDRV_CARDS];
977 if (devno >= SNDRV_CARDS) in snd_ad1889_probe()
Dals300.c104 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
105 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
106 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
765 if (dev >= SNDRV_CARDS) in snd_als300_probe()
Dfm801.c42 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
43 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
44 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
53 static int tea575x_tuner[SNDRV_CARDS];
54 static int radio_nr[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
1286 if (dev >= SNDRV_CARDS) in snd_card_fm801_probe()
Dsonicvibes.c52 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
53 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
54 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
55 static bool reverb[SNDRV_CARDS];
56 static bool mge[SNDRV_CARDS];
1456 if (dev >= SNDRV_CARDS) in snd_sonic_probe()
Dmaestro3.c65 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
66 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
67 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* all enabled */
68 static bool external_amp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
69 static int amp_gpio[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
2718 if (dev >= SNDRV_CARDS) in snd_m3_probe()
Dens1370.c86 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
87 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
88 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */
91 static int joystick_port[SNDRV_CARDS];
93 static bool joystick[SNDRV_CARDS];
97 static int spdif[SNDRV_CARDS];
98 static int lineio[SNDRV_CARDS];
2398 if (dev >= SNDRV_CARDS) in snd_audiopci_probe()
Dcmipci.c55 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
56 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
57 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */
58 static long mpu_port[SNDRV_CARDS];
59 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1};
60 static bool soft_ac3[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1};
62 static int joystick_port[SNDRV_CARDS];
3272 if (dev >= SNDRV_CARDS) in snd_cmipci_probe()
Drme32.c89 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
90 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
91 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
92 static bool fullduplex[SNDRV_CARDS]; // = {[0 ... (SNDRV_CARDS - 1)] = 1};
1919 if (dev >= SNDRV_CARDS) { in snd_rme32_probe()
Dcs4281.c45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
46 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
47 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */
48 static bool dual_codec[SNDRV_CARDS]; /* dual codec */
1910 if (dev >= SNDRV_CARDS) in snd_cs4281_probe()
Des1938.c79 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
80 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
81 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
1773 if (dev >= SNDRV_CARDS) in snd_es1938_probe()
Dazt3328.c241 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
245 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
249 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
2524 if (dev >= SNDRV_CARDS) { in snd_azf3328_probe()
Drme96.c54 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
55 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
56 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
2451 if (dev >= SNDRV_CARDS) { in snd_rme96_probe()
/linux-4.4.14/sound/firewire/bebob/
Dbebob.c21 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
22 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
23 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
33 static DECLARE_BITMAP(devices_used, SNDRV_CARDS);
191 for (card_index = 0; card_index < SNDRV_CARDS; card_index++) { in bebob_probe()
195 if (card_index >= SNDRV_CARDS) { in bebob_probe()
/linux-4.4.14/sound/usb/bcd2000/
Dbcd2000.c69 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
70 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
73 static DECLARE_BITMAP(devices_used, SNDRV_CARDS);
375 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in bcd2000_probe()
379 if (card_index >= SNDRV_CARDS) { in bcd2000_probe()
/linux-4.4.14/drivers/media/usb/go7007/
Dsnd-go7007.c33 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
34 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
35 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
232 if (dev >= SNDRV_CARDS) in go7007_snd_init()
/linux-4.4.14/sound/pci/cs5535audio/
Dcs5535audio.c58 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
59 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
60 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
351 if (dev >= SNDRV_CARDS) in snd_cs5535audio_probe()
/linux-4.4.14/sound/pci/lola/
Dlola.c36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
37 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
38 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
52 static int granularity[SNDRV_CARDS] = {
53 [0 ... (SNDRV_CARDS - 1)] = LOLA_GRANULARITY_MAX
57 static int sample_rate_min[SNDRV_CARDS] = {
58 [0 ... (SNDRV_CARDS - 1) ] = 16000
710 if (dev >= SNDRV_CARDS) in lola_probe()
/linux-4.4.14/sound/usb/caiaq/
Ddevice.c57 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */
58 static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for this card */
59 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
414 for (devnum = 0; devnum < SNDRV_CARDS; devnum++) in create_card()
418 if (devnum >= SNDRV_CARDS) in create_card()
/linux-4.4.14/sound/pci/hda/
Dhda_intel.c121 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
122 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
123 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
124 static char *model[SNDRV_CARDS];
125 static int position_fix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
126 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
127 static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
128 static int probe_only[SNDRV_CARDS];
129 static int jackpoll_ms[SNDRV_CARDS];
133 static char *patch[SNDRV_CARDS];
[all …]
/linux-4.4.14/sound/
Dlast.c30 for (idx = 0; idx < SNDRV_CARDS; idx++) in alsa_sound_last_init()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-alsa.c43 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
45 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
428 if (devnr >= SNDRV_CARDS) in tm6000_audio_init()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-alsa.c47 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
49 static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
90 static struct snd_card *snd_saa7134_cards[SNDRV_CARDS];
1137 if (devnum >= SNDRV_CARDS) in alsa_card_saa7134_create()
1264 for (idx = 0; idx < SNDRV_CARDS; idx++) { in saa7134_alsa_exit()
/linux-4.4.14/sound/pci/aw2/
Daw2-alsa.c152 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
153 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
154 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
340 if (dev >= SNDRV_CARDS) in snd_aw2_probe()
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-alsa.c103 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
104 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
105 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
712 if (devno >= SNDRV_CARDS) { in cx25821_audio_initdev()
/linux-4.4.14/drivers/hid/
Dhid-prodikeys.c90 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
91 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
92 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
616 if (dev >= SNDRV_CARDS) in pcmidi_snd_initialise()
/linux-4.4.14/sound/pci/riptide/
Driptide.c123 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
124 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
125 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE;
128 static int joystick_port[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS - 1)] = 0x200 };
130 static int mpu_port[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS - 1)] = 0x330 };
131 static int opl3_port[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS - 1)] = 0x388 };
2016 if (dev >= SNDRV_CARDS) in snd_riptide_joystick_probe()
2072 if (dev >= SNDRV_CARDS) in snd_card_riptide_probe()
/linux-4.4.14/sound/sparc/
Damd7930.c51 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
52 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
53 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
1016 if (dev_num >= SNDRV_CARDS) in amd7930_sbus_probe()
Dcs4231.c40 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
41 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
43 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
1569 if (dev >= SNDRV_CARDS) in cs4231_attach_begin()
Ddbri.c80 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
81 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
83 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
2603 if (dev >= SNDRV_CARDS) in dbri_probe()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-alsa.c102 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
103 static const char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
104 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
943 if (devno >= SNDRV_CARDS) in cx88_audio_initdev()
/linux-4.4.14/sound/pci/lx6464es/
Dlx6464es.c43 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
44 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
45 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
1079 if (dev >= SNDRV_CARDS) in snd_lx6464es_probe()
/linux-4.4.14/sound/usb/misc/
Dua101.c53 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
54 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
55 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
1229 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in ua101_probe()
1232 if (card_index >= SNDRV_CARDS) { in ua101_probe()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-alsa-main.c44 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
/linux-4.4.14/sound/pci/ca0106/
Dca0106_main.c157 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
158 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
159 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
160 static uint subsystem[SNDRV_CARDS]; /* Force card subsystem model */
1849 if (dev >= SNDRV_CARDS) in snd_ca0106_probe()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr.c53 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
54 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
55 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;/* Enable this card */
56 static bool mono[SNDRV_CARDS]; /* capture mono only */
1527 if (dev >= SNDRV_CARDS) in pcxhr_probe()
/linux-4.4.14/sound/pci/mixart/
Dmixart.c50 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
51 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
52 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
1259 if (dev >= SNDRV_CARDS) in snd_mixart_probe()
/linux-4.4.14/sound/core/seq/oss/
Dseq_oss_synth.c144 if (i < SNDRV_CARDS) in snd_seq_oss_synth_probe()
179 if (rec->seq_device < SNDRV_CARDS) in snd_seq_oss_synth_remove()
/linux-4.4.14/sound/pci/ice1712/
Dice1712.c84 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
85 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
86 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;/* Enable this card */
87 static char *model[SNDRV_CARDS];
88 static bool omni[SNDRV_CARDS]; /* Delta44 & 66 Omni I/O support */
89 static int cs8427_timeout[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 500}; /* CS8427 S/PDIF transcei…
90 static int dxr_enable[SNDRV_CARDS]; /* DXR enable for DMX6FIRE */
2637 if (dev >= SNDRV_CARDS) in snd_ice1712_probe()
Dice1724.c81 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
82 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
83 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
84 static char *model[SNDRV_CARDS];
2626 if (dev >= SNDRV_CARDS) in snd_vt1724_probe()
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c39 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
40 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
41 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
42 static bool precise_ptr[SNDRV_CARDS]; /* Enable precise pointer */
2567 if (dev >= SNDRV_CARDS) in snd_rme9652_probe()
Dhdsp.c47 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
49 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
5335 if (dev >= SNDRV_CARDS) in snd_hdsp_probe()
Dhdspm.c153 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
154 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
155 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;/* Enable this card */
6933 if (dev >= SNDRV_CARDS) in snd_hdspm_probe()
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c27 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
28 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
29 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
2009 if (dev >= SNDRV_CARDS) in snd_echo_probe()
/linux-4.4.14/sound/pci/korg1212/
Dkorg1212.c408 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
409 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
410 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
2425 if (dev >= SNDRV_CARDS) { in snd_korg1212_probe()
/linux-4.4.14/sound/core/seq/
Dseq_midi.c71 static struct seq_midisynth_client *synths[SNDRV_CARDS];
Dseq_clientmgr.c155 static char card_requested[SNDRV_CARDS]; in snd_seq_client_use_ptr()
/linux-4.4.14/sound/pci/asihpi/
Dasihpi.c67 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* index 0-MAX */
68 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
69 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
2865 if (dev >= SNDRV_CARDS) in snd_asihpi_probe()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-audio.c45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
/linux-4.4.14/sound/core/oss/
Dmixer_oss.c1402 for (idx = 0; idx < SNDRV_CARDS; idx++) { in alsa_mixer_oss_init()
1414 for (idx = 0; idx < SNDRV_CARDS; idx++) { in alsa_mixer_oss_exit()
Dpcm_oss.c48 static int dsp_map[SNDRV_CARDS];
49 static int adsp_map[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1};
3097 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_pcm_oss_init()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-audio.c62 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
/linux-4.4.14/drivers/usb/gadget/function/
Df_midi.c961 F_MIDI_OPT(index, true, SNDRV_CARDS);
/linux-4.4.14/drivers/platform/x86/
Dthinkpad_acpi.c6704 #if SNDRV_CARDS <= 32
6705 #define DEFAULT_ALSA_IDX ~((1 << (SNDRV_CARDS - 3)) - 1)