tag | line | file | source code |
sel | 196 | drivers/sound/dev_table.c | int i, sel = -1, n = num_sound_cards; |
sel | 205 | drivers/sound/dev_table.c | for (i = 0; i < n && sel == -1 && snd_installed_cards[i].card_type; i++) |
sel | 208 | drivers/sound/dev_table.c | sel = i; |
sel | 210 | drivers/sound/dev_table.c | if (sel == -1 && num_sound_cards < max_sound_cards) |
sel | 214 | drivers/sound/dev_table.c | i = sel = (num_sound_cards++); |
sel | 216 | drivers/sound/dev_table.c | snd_installed_cards[sel].card_type = unit; |
sel | 217 | drivers/sound/dev_table.c | snd_installed_cards[sel].enabled = 1; |
sel | 220 | drivers/sound/dev_table.c | if (sel != -1) |
sel | 224 | drivers/sound/dev_table.c | snd_installed_cards[sel].for_driver_use = NULL; |
sel | 225 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.io_base = hw_config->io_base; |
sel | 226 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.irq = hw_config->irq; |
sel | 227 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
sel | 228 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma2 = hw_config->dma2; |
sel | 229 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.name = hw_config->name; |
sel | 230 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.always_detect = hw_config->always_detect; |
sel | 231 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.driver_use_1 = hw_config->driver_use_1; |
sel | 232 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.driver_use_2 = hw_config->driver_use_2; |
sel | 233 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.card_subtype = hw_config->card_subtype; |
sel | 234 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.osp = hw_config->osp; |
sel | 236 | drivers/sound/dev_table.c | if ((drv = snd_find_driver (snd_installed_cards[sel].card_type)) == -1) |
sel | 238 | drivers/sound/dev_table.c | snd_installed_cards[sel].enabled = 0; |
sel | 245 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.card_subtype = |
sel | 255 | drivers/sound/dev_table.c | snd_installed_cards[sel].enabled = 0; /* |