/linux-4.1.27/include/sound/ |
D | initval.h | 38 #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 }
|
D | core.h | 35 #define SNDRV_CARDS CONFIG_SND_MAX_CARDS macro 37 #define SNDRV_CARDS 8 /* don't change - minor numbers */ macro 246 extern struct snd_card *snd_cards[SNDRV_CARDS];
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | emu10k1.c | 45 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 …]
|
D | emu10k1x.c | 51 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()
|
D | emu10k1_main.c | 1902 if (n >= SNDRV_CARDS) in snd_emu10k1_create()
|
/linux-4.1.27/sound/isa/gus/ |
D | gusextreme.c | 47 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 …]
|
D | gusclassic.c | 43 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 …]
|
D | gusmax.c | 41 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 …]
|
D | interwave.c | 56 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.1.27/sound/drivers/mpu401/ |
D | mpu401.c | 36 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.1.27/sound/isa/cs423x/ |
D | cs4231.c | 42 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()
|
D | cs4236.c | 75 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.1.27/sound/pci/cs46xx/ |
D | cs46xx.c | 47 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.1.27/sound/drivers/ |
D | virmidi.c | 64 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()
|
D | serial-u16550.c | 69 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 …]
|
D | portman2x4.c | 56 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()
|
D | dummy.c | 61 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()
|
D | mts64.c | 37 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()
|
D | aloop.c | 52 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]; 1245 for (i = 0; i < SNDRV_CARDS; i++) { in alsa_card_loopback_init()
|
D | ml403-ac97cr.c | 74 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.1.27/sound/isa/ad1816a/ |
D | ad1816a.c | 45 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.1.27/sound/pci/trident/ |
D | trident.c | 48 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.1.27/sound/isa/es1688/ |
D | es1688.c | 51 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.1.27/sound/isa/ad1848/ |
D | ad1848.c | 44 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.1.27/sound/isa/ |
D | azt2320.c | 56 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 …]
|
D | als100.c | 55 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 …]
|
D | cmi8330.c | 70 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 …]
|
D | adlib.c | 19 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()
|
D | sc6000.c | 49 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 …]
|
D | opl3sa2.c | 46 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 …]
|
D | sscape.c | 50 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 …]
|
D | es18xx.c | 1975 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.1.27/sound/isa/sb/ |
D | sb16.c | 69 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 …]
|
D | jazz16.c | 37 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()
|
D | sb8.c | 37 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.1.27/sound/isa/wavefront/ |
D | wavefront.c | 39 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.1.27/sound/isa/galaxy/ |
D | galaxy.c | 36 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.1.27/sound/pci/oxygen/ |
D | virtuoso.c | 33 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()
|
D | se6x.c | 44 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()
|
D | oxygen.c | 75 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.1.27/sound/usb/6fire/ |
D | chip.c | 35 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.1.27/sound/pci/ctxfi/ |
D | xfi.c | 33 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.1.27/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf.c | 40 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.1.27/sound/pci/ymfpci/ |
D | ymfpci.c | 42 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.1.27/sound/pci/vx222/ |
D | vx222.c | 38 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.1.27/sound/isa/msnd/ |
D | msnd_pinnacle.c | 537 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.1.27/sound/pcmcia/vx/ |
D | vxpocket.c | 40 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.1.27/sound/usb/hiface/ |
D | chip.c | 46 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.1.27/sound/usb/ |
D | card.c | 76 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.1.27/sound/usb/usx2y/ |
D | usbusx2y.c | 155 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()
|
D | us122l.c | 37 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.1.27/sound/core/ |
D | info_oss.c | 39 static char *snd_sndstat_strings[SNDRV_CARDS][SNDRV_OSS_INFO_DEV_COUNT]; 48 if (snd_BUG_ON(num < 0 || num >= SNDRV_CARDS)) in snd_oss_info_register() 77 for (idx = 0; idx < SNDRV_CARDS; idx++) { in snd_sndstat_show_strings()
|
D | init.c | 51 static DECLARE_BITMAP(snd_cards_lock, SNDRV_CARDS); 52 struct snd_card *snd_cards[SNDRV_CARDS]; 57 static char *slots[SNDRV_CARDS]; 149 for (slot = 0; slot < SNDRV_CARDS; slot++) { in get_slot_from_bitmask() 239 } else if (idx >= SNDRV_CARDS) in snd_card_new() 598 for (loops = 0; loops < SNDRV_CARDS; loops++) { in snd_card_set_id_no_lock() 794 for (idx = count = 0; idx < SNDRV_CARDS; idx++) { in snd_card_info_read() 819 for (idx = count = 0; idx < SNDRV_CARDS; idx++) { in snd_card_info_read_oss() 842 for (idx = 0; idx < SNDRV_CARDS; idx++) { in snd_card_module_info_read()
|
D | rawmidi.c | 43 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()
|
D | timer.c | 2048 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()
|
D | control.c | 1808 if (snd_BUG_ON(card->number < 0 || card->number >= SNDRV_CARDS)) in snd_ctl_create()
|
/linux-4.1.27/sound/pci/au88x0/ |
D | au88x0.c | 27 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.1.27/sound/firewire/fireworks/ |
D | fireworks.c | 24 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()
|
D | fireworks_transaction.c | 42 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.1.27/sound/firewire/bebob/ |
D | bebob.c | 21 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); 181 for (card_index = 0; card_index < SNDRV_CARDS; card_index++) { in bebob_probe() 185 if (card_index >= SNDRV_CARDS) { in bebob_probe()
|
/linux-4.1.27/sound/pci/ |
D | cs5530.c | 51 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()
|
D | es1968.c | 133 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 …]
|
D | bt87x.c | 43 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()
|
D | als4000.c | 91 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()
|
D | ad1889.c | 60 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()
|
D | als300.c | 104 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()
|
D | fm801.c | 42 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()
|
D | sonicvibes.c | 52 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()
|
D | maestro3.c | 65 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}; 2701 if (dev >= SNDRV_CARDS) in snd_m3_probe()
|
D | ens1370.c | 86 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()
|
D | cmipci.c | 55 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]; 3277 if (dev >= SNDRV_CARDS) in snd_cmipci_probe()
|
D | rme32.c | 89 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()
|
D | cs4281.c | 45 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()
|
D | es1938.c | 79 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()
|
D | azt3328.c | 241 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()
|
D | rme96.c | 54 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.1.27/sound/usb/bcd2000/ |
D | bcd2000.c | 69 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 70 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; 73 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.1.27/drivers/media/usb/go7007/ |
D | snd-go7007.c | 33 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.1.27/sound/pci/cs5535audio/ |
D | cs5535audio.c | 58 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.1.27/sound/pci/lola/ |
D | lola.c | 36 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.1.27/sound/usb/caiaq/ |
D | device.c | 57 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.1.27/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 43 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 45 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; 428 if (devnr >= SNDRV_CARDS) in tm6000_audio_init()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_intel.c | 114 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 115 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; 116 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; 117 static char *model[SNDRV_CARDS]; 118 static int position_fix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 119 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 120 static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 121 static int probe_only[SNDRV_CARDS]; 122 static int jackpoll_ms[SNDRV_CARDS]; 126 static char *patch[SNDRV_CARDS]; [all …]
|
/linux-4.1.27/sound/ |
D | last.c | 30 for (idx = 0; idx < SNDRV_CARDS; idx++) in alsa_sound_last_init()
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 103 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] = { 1, [1 ... (SNDRV_CARDS - 1)] = 1 }; 712 if (devno >= SNDRV_CARDS) { in cx25821_audio_initdev()
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 51 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 int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; 99 static struct snd_card *snd_saa7134_cards[SNDRV_CARDS]; 1145 if (devnum >= SNDRV_CARDS) in alsa_card_saa7134_create() 1271 for (idx = 0; idx < SNDRV_CARDS; idx++) { in saa7134_alsa_exit()
|
/linux-4.1.27/sound/pci/aw2/ |
D | aw2-alsa.c | 152 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.1.27/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 102 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] = {1, [1 ... (SNDRV_CARDS - 1)] = 1}; 943 if (devno >= SNDRV_CARDS) in cx88_audio_initdev()
|
/linux-4.1.27/drivers/hid/ |
D | hid-prodikeys.c | 90 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; 617 if (dev >= SNDRV_CARDS) in pcmidi_snd_initialise()
|
/linux-4.1.27/sound/pci/riptide/ |
D | riptide.c | 123 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.1.27/sound/sparc/ |
D | amd7930.c | 51 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 */ 1015 if (dev_num >= SNDRV_CARDS) in amd7930_sbus_probe()
|
D | cs4231.c | 40 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()
|
D | dbri.c | 80 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.1.27/sound/pci/lx6464es/ |
D | lx6464es.c | 43 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.1.27/sound/usb/misc/ |
D | ua101.c | 53 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.1.27/sound/pci/ca0106/ |
D | ca0106_main.c | 157 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.1.27/sound/pci/pcxhr/ |
D | pcxhr.c | 53 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.1.27/sound/pci/mixart/ |
D | mixart.c | 50 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.1.27/sound/core/seq/oss/ |
D | seq_oss_synth.c | 144 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.1.27/sound/pci/ice1712/ |
D | ice1712.c | 84 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()
|
D | ice1724.c | 81 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.1.27/sound/pci/rme9652/ |
D | rme9652.c | 39 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()
|
D | hdsp.c | 47 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 */ 5333 if (dev >= SNDRV_CARDS) in snd_hdsp_probe()
|
D | hdspm.c | 153 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 */ 6934 if (dev >= SNDRV_CARDS) in snd_hdspm_probe()
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | echoaudio.c | 27 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.1.27/sound/pci/korg1212/ |
D | korg1212.c | 408 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 */ 2423 if (dev >= SNDRV_CARDS) { in snd_korg1212_probe()
|
/linux-4.1.27/sound/core/seq/ |
D | seq_midi.c | 71 static struct seq_midisynth_client *synths[SNDRV_CARDS];
|
D | seq_clientmgr.c | 155 static char card_requested[SNDRV_CARDS]; in snd_seq_client_use_ptr()
|
/linux-4.1.27/sound/pci/asihpi/ |
D | asihpi.c | 67 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.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
|
/linux-4.1.27/sound/core/oss/ |
D | mixer_oss.c | 1401 for (idx = 0; idx < SNDRV_CARDS; idx++) { in alsa_mixer_oss_init() 1413 for (idx = 0; idx < SNDRV_CARDS; idx++) { in alsa_mixer_oss_exit()
|
D | pcm_oss.c | 48 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.1.27/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 62 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_midi.c | 965 F_MIDI_OPT(index, true, SNDRV_CARDS);
|
/linux-4.1.27/drivers/platform/x86/ |
D | thinkpad_acpi.c | 6704 #if SNDRV_CARDS <= 32 6705 #define DEFAULT_ALSA_IDX ~((1 << (SNDRV_CARDS - 3)) - 1)
|