Home
last modified time | relevance | path

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

/Linux-v4.19/sound/usb/bcd2000/
Dbcd2000.c53 int card_index; member
376 unsigned int card_index; in bcd2000_probe() local
382 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in bcd2000_probe()
383 if (!test_bit(card_index, devices_used)) in bcd2000_probe()
386 if (card_index >= SNDRV_CARDS) { in bcd2000_probe()
391 err = snd_card_new(&interface->dev, index[card_index], id[card_index], in bcd2000_probe()
401 bcd2k->card_index = card_index; in bcd2000_probe()
422 set_bit(card_index, devices_used); in bcd2000_probe()
449 clear_bit(bcd2k->card_index, devices_used); in bcd2000_disconnect()
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks.c210 if (efw->card_index >= 0) { in efw_card_free()
212 clear_bit(efw->card_index, devices_used); in efw_card_free()
223 unsigned int card_index; in do_registration() local
232 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) { in do_registration()
233 if (!test_bit(card_index, devices_used) && enable[card_index]) in do_registration()
236 if (card_index >= SNDRV_CARDS) { in do_registration()
241 err = snd_card_new(&efw->unit->device, index[card_index], in do_registration()
242 id[card_index], THIS_MODULE, 0, &efw->card); in do_registration()
287 set_bit(card_index, devices_used); in do_registration()
Dfireworks.h64 int card_index; member
/Linux-v4.19/sound/firewire/bebob/
Dbebob.c152 clear_bit(bebob->card_index, devices_used); in bebob_card_free()
188 unsigned int card_index; in do_registration() local
196 for (card_index = 0; card_index < SNDRV_CARDS; card_index++) { in do_registration()
197 if (!test_bit(card_index, devices_used) && enable[card_index]) in do_registration()
200 if (card_index >= SNDRV_CARDS) { in do_registration()
205 err = snd_card_new(&bebob->unit->device, index[card_index], in do_registration()
206 id[card_index], THIS_MODULE, 0, &bebob->card); in do_registration()
251 set_bit(card_index, devices_used); in do_registration()
Dbebob.h82 int card_index; member
/Linux-v4.19/sound/pci/pcxhr/
Dpcxhr_hwdep.c292 int err, card_index; in pcxhr_dsp_load() local
335 for (card_index = 0; card_index < mgr->num_cards; card_index++) { in pcxhr_dsp_load()
336 struct snd_pcxhr *chip = mgr->chip[card_index]; in pcxhr_dsp_load()
341 if (card_index == 0) { in pcxhr_dsp_load()
/Linux-v4.19/sound/pci/mixart/
Dmixart_hwdep.c347 int err, card_index; in mixart_dsp_load() local
540 for (card_index = 0; card_index < mgr->num_cards; card_index++) { in mixart_dsp_load()
541 struct snd_mixart *chip = mgr->chip[card_index]; in mixart_dsp_load()
546 if (card_index == 0) { in mixart_dsp_load()
/Linux-v4.19/sound/usb/misc/
Dua101.c93 int card_index; member
1213 unsigned int card_index, i; in ua101_probe() local
1227 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in ua101_probe()
1228 if (enable[card_index] && !(devices_used & (1 << card_index))) in ua101_probe()
1230 if (card_index >= SNDRV_CARDS) { in ua101_probe()
1235 index[card_index], id[card_index], THIS_MODULE, in ua101_probe()
1245 ua->card_index = card_index; in ua101_probe()
1320 devices_used |= 1 << card_index; in ua101_probe()
1360 devices_used &= ~(1 << ua->card_index); in ua101_disconnect()
/Linux-v4.19/sound/usb/usx2y/
Dusbusx2y.c359 snd_usX2Y_card_used[usX2Y(card)->card_index = dev] = 1; in usX2Y_create_card()
441 if (usX2Y(card)->card_index >= 0 && usX2Y(card)->card_index < SNDRV_CARDS) in snd_usX2Y_card_private_free()
442 snd_usX2Y_card_used[usX2Y(card)->card_index] = 0; in snd_usX2Y_card_private_free()
Dus122l.h8 int card_index; member
Dusbusx2y.h28 int card_index; member
Dus122l.c525 int index = us122l->card_index; in snd_us122l_free()
548 snd_us122l_card_used[US122L(card)->card_index = dev] = 1; in usx2y_create_card()
/Linux-v4.19/drivers/net/wan/
Dfarsync.c585 fst_q_work_item(u64 * queue, int card_index) in fst_q_work_item() argument
601 mask = (u64)1 << card_index; in fst_q_work_item()