Home
last modified time | relevance | path

Searched refs:card_index (Results 1 – 12 of 12) sorted by relevance

/sound/firewire/fireworks/
Dfireworks.c192 clear_bit(efw->card_index, devices_used); in efw_card_free()
204 unsigned int card_index; in efw_probe() local
211 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) { in efw_probe()
212 if (!test_bit(card_index, devices_used) && enable[card_index]) in efw_probe()
215 if (card_index >= SNDRV_CARDS) { in efw_probe()
220 err = snd_card_new(&unit->device, index[card_index], id[card_index], THIS_MODULE, in efw_probe()
227 set_bit(card_index, devices_used); in efw_probe()
234 efw->card_index = card_index; in efw_probe()
Dfireworks.h63 int card_index; member
/sound/usb/bcd2000/
Dbcd2000.c44 int card_index; member
368 unsigned int card_index; in bcd2000_probe() local
374 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in bcd2000_probe()
375 if (!test_bit(card_index, devices_used)) in bcd2000_probe()
378 if (card_index >= SNDRV_CARDS) { in bcd2000_probe()
383 err = snd_card_new(&interface->dev, index[card_index], id[card_index], in bcd2000_probe()
393 bcd2k->card_index = card_index; in bcd2000_probe()
414 set_bit(card_index, devices_used); in bcd2000_probe()
441 clear_bit(bcd2k->card_index, devices_used); in bcd2000_disconnect()
/sound/firewire/bebob/
Dbebob.c126 clear_bit(bebob->card_index, devices_used); in bebob_card_free()
186 unsigned int card_index; in bebob_probe() local
211 for (card_index = 0; card_index < SNDRV_CARDS; card_index++) { in bebob_probe()
212 if (!test_bit(card_index, devices_used) && enable[card_index]) in bebob_probe()
215 if (card_index >= SNDRV_CARDS) { in bebob_probe()
220 err = snd_card_new(&unit->device, index[card_index], id[card_index], THIS_MODULE, in bebob_probe()
227 set_bit(card_index, devices_used); in bebob_probe()
234 bebob->card_index = card_index; in bebob_probe()
Dbebob.h86 int card_index; member
/sound/pci/pcxhr/
Dpcxhr_hwdep.c279 int err, card_index; in pcxhr_dsp_load() local
322 for (card_index = 0; card_index < mgr->num_cards; card_index++) { in pcxhr_dsp_load()
323 struct snd_pcxhr *chip = mgr->chip[card_index]; in pcxhr_dsp_load()
329 if (card_index == 0) { in pcxhr_dsp_load()
/sound/pci/mixart/
Dmixart_hwdep.c339 int err, card_index; in mixart_dsp_load() local
532 for (card_index = 0; card_index < mgr->num_cards; card_index++) { in mixart_dsp_load()
533 struct snd_mixart *chip = mgr->chip[card_index]; in mixart_dsp_load()
539 if (card_index == 0) { in mixart_dsp_load()
/sound/usb/misc/
Dua101.c82 int card_index; member
1183 unsigned int card_index, i; in ua101_probe() local
1197 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in ua101_probe()
1198 if (enable[card_index] && !(devices_used & (1 << card_index))) in ua101_probe()
1200 if (card_index >= SNDRV_CARDS) { in ua101_probe()
1205 index[card_index], id[card_index], THIS_MODULE, in ua101_probe()
1215 ua->card_index = card_index; in ua101_probe()
1291 devices_used |= 1 << card_index; in ua101_probe()
1331 devices_used &= ~(1 << ua->card_index); in ua101_disconnect()
/sound/usb/usx2y/
Dusbusx2y.c373 snd_usx2y_card_used[usx2y(card)->card_index = dev] = 1; in usx2y_create_card()
401 if (usx2y->card_index >= 0 && usx2y->card_index < SNDRV_CARDS) in snd_usx2y_card_private_free()
402 snd_usx2y_card_used[usx2y->card_index] = 0; in snd_usx2y_card_private_free()
Dus122l.h8 int card_index; member
Dusbusx2y.h28 int card_index; member
Dus122l.c492 int index = us122l->card_index; in snd_us122l_free()
516 snd_us122l_card_used[US122L(card)->card_index = dev] = 1; in usx2y_create_card()