Home
last modified time | relevance | path

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

/openbmc/linux/sound/firewire/fireworks/
H A 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()
H A Dfireworks.h63 int card_index; member
/openbmc/linux/sound/usb/bcd2000/
H A 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()
/openbmc/linux/sound/firewire/bebob/
H A 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()
H A Dbebob.h86 int card_index; member
/openbmc/linux/sound/pci/pcxhr/
H A 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()
/openbmc/linux/sound/pci/mixart/
H A 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()
/openbmc/linux/sound/usb/misc/
H A 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()
/openbmc/linux/sound/usb/usx2y/
H A 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()
H A Dus122l.h8 int card_index; member
H A Dusbusx2y.h28 int card_index; member
H A 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()
/openbmc/u-boot/drivers/mmc/
H A Dpxa_mmc_gen.c384 int pxa_mmc_register(int card_index) in pxa_mmc_register() argument
397 switch (card_index) { in pxa_mmc_register()
407 card_index); in pxa_mmc_register()
/openbmc/u-boot/arch/arm/include/asm/arch-pxa/
H A Dregs-mmc.h12 int pxa_mmc_register(int card_index);
/openbmc/linux/drivers/net/wan/
H A Dfarsync.c576 fst_q_work_item(u64 *queue, int card_index) in fst_q_work_item() argument
590 mask = (u64)1 << card_index; in fst_q_work_item()