Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/usb/bcd2000/
Dbcd2000.c44 int card_index; member
367 unsigned int card_index; in bcd2000_probe() local
373 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in bcd2000_probe()
374 if (!test_bit(card_index, devices_used)) in bcd2000_probe()
377 if (card_index >= SNDRV_CARDS) { in bcd2000_probe()
382 err = snd_card_new(&interface->dev, index[card_index], id[card_index], in bcd2000_probe()
392 bcd2k->card_index = card_index; in bcd2000_probe()
413 set_bit(card_index, devices_used); in bcd2000_probe()
440 clear_bit(bcd2k->card_index, devices_used); in bcd2000_disconnect()
/kernel/linux/linux-5.10/sound/firewire/fireworks/
Dfireworks.c192 clear_bit(efw->card_index, devices_used); in efw_card_free()
203 unsigned int card_index; in do_registration() local
211 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) { in do_registration()
212 if (!test_bit(card_index, devices_used) && enable[card_index]) in do_registration()
215 if (card_index >= SNDRV_CARDS) { in do_registration()
220 err = snd_card_new(&efw->unit->device, index[card_index], in do_registration()
221 id[card_index], THIS_MODULE, 0, &efw->card); in do_registration()
226 set_bit(card_index, devices_used); in do_registration()
Dfireworks.h63 int card_index; member
/kernel/linux/linux-5.10/sound/firewire/bebob/
Dbebob.c135 clear_bit(bebob->card_index, devices_used); in bebob_card_free()
171 unsigned int card_index; in do_registration() local
178 for (card_index = 0; card_index < SNDRV_CARDS; card_index++) { in do_registration()
179 if (!test_bit(card_index, devices_used) && enable[card_index]) in do_registration()
182 if (card_index >= SNDRV_CARDS) { in do_registration()
187 err = snd_card_new(&bebob->unit->device, index[card_index], in do_registration()
188 id[card_index], THIS_MODULE, 0, &bebob->card); in do_registration()
193 set_bit(card_index, devices_used); in do_registration()
Dbebob.h81 int card_index; member
/kernel/linux/linux-5.10/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()
328 if (card_index == 0) { in pcxhr_dsp_load()
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_hwdep.c334 int err, card_index; in mixart_dsp_load() local
527 for (card_index = 0; card_index < mgr->num_cards; card_index++) { in mixart_dsp_load()
528 struct snd_mixart *chip = mgr->chip[card_index]; in mixart_dsp_load()
533 if (card_index == 0) { in mixart_dsp_load()
/kernel/linux/linux-5.10/sound/usb/misc/
Dua101.c83 int card_index; member
1184 unsigned int card_index, i; in ua101_probe() local
1198 for (card_index = 0; card_index < SNDRV_CARDS; ++card_index) in ua101_probe()
1199 if (enable[card_index] && !(devices_used & (1 << card_index))) in ua101_probe()
1201 if (card_index >= SNDRV_CARDS) { in ua101_probe()
1206 index[card_index], id[card_index], THIS_MODULE, in ua101_probe()
1216 ua->card_index = card_index; in ua101_probe()
1292 devices_used |= 1 << card_index; in ua101_probe()
1332 devices_used &= ~(1 << ua->card_index); in ua101_disconnect()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusbusx2y.c344 snd_usx2y_card_used[usx2y(card)->card_index = dev] = 1; in usx2y_create_card()
427 if (usx2y(card)->card_index >= 0 && usx2y(card)->card_index < SNDRV_CARDS) in snd_usx2y_card_private_free()
428 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.c486 int index = us122l->card_index; in snd_us122l_free()
509 snd_us122l_card_used[US122L(card)->card_index = dev] = 1; in usx2y_create_card()
/kernel/linux/linux-5.10/drivers/net/wan/
Dfarsync.c581 fst_q_work_item(u64 * queue, int card_index) in fst_q_work_item() argument
597 mask = (u64)1 << card_index; in fst_q_work_item()