Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/isa/wavefront/
Dwavefront.c89 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card, in snd_wavefront_pnp() argument
99 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp()
100 if (acard->wss == NULL) in snd_wavefront_pnp()
115 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
116 if (acard->mpu == NULL) in snd_wavefront_pnp()
122 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
123 if (acard->synth == NULL) in snd_wavefront_pnp()
128 pdev = acard->wss; in snd_wavefront_pnp()
156 pdev = acard->synth; in snd_wavefront_pnp()
174 pdev = acard->mpu; in snd_wavefront_pnp()
[all …]
Dwavefront_fx.c157 snd_wavefront_card_t *acard; in snd_wavefront_fx_ioctl() local
170 acard = card->private_data; in snd_wavefront_fx_ioctl()
171 dev = &acard->wavefront; in snd_wavefront_fx_ioctl()
Dwavefront_synth.c1506 wavefront_synth_control (snd_wavefront_card_t *acard, in wavefront_synth_control() argument
1510 snd_wavefront_t *dev = &acard->wavefront; in wavefront_synth_control()
1621 snd_wavefront_midi_disable_virtual (acard); in wavefront_synth_control()
1625 snd_wavefront_midi_enable_virtual (acard); in wavefront_synth_control()
1658 snd_wavefront_card_t *acard; in snd_wavefront_synth_ioctl() local
1670 acard = card->private_data; in snd_wavefront_synth_ioctl()
1671 dev = &acard->wavefront; in snd_wavefront_synth_ioctl()
1685 if (wavefront_synth_control (acard, wc) < 0) in snd_wavefront_synth_ioctl()
Dwavefront_midi.c94 snd_wavefront_card_t *acard; in get_wavefront_midi() local
107 acard = card->private_data; in get_wavefront_midi()
109 return &acard->wavefront.midi; in get_wavefront_midi()
/kernel/linux/linux-5.10/sound/isa/
Dcmi8330.c295 static int snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer() argument
300 strcpy(card->mixername, (acard->type == CMI8329) ? "CMI8329" : "CMI8330/C3D"); in snd_cmi8330_mixer()
305 acard->wss)); in snd_cmi8330_mixer()
311 if ((err = cmi8330_add_sb_mixers(acard->sb)) < 0) in snd_cmi8330_mixer()
318 static int snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard, in snd_cmi8330_pnp() argument
326 acard->type = (id->devs[3].id[0]) ? CMI8329 : CMI8330; in snd_cmi8330_pnp()
328 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp()
329 if (acard->cap == NULL) in snd_cmi8330_pnp()
332 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_cmi8330_pnp()
333 if (acard->play == NULL) in snd_cmi8330_pnp()
[all …]
Dals100.c108 static int snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, in snd_card_als100_pnp() argument
115 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
116 if (acard->dev == NULL) in snd_card_als100_pnp()
119 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
120 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); in snd_card_als100_pnp()
122 pdev = acard->dev; in snd_card_als100_pnp()
138 pdev = acard->devmpu; in snd_card_als100_pnp()
151 acard->devmpu = NULL; in snd_card_als100_pnp()
155 pdev = acard->devopl; in snd_card_als100_pnp()
167 acard->devopl = NULL; in snd_card_als100_pnp()
[all …]
Dazt2320.c90 static int snd_card_azt2320_pnp(int dev, struct snd_card_azt2320 *acard, in snd_card_azt2320_pnp() argument
97 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
98 if (acard->dev == NULL) in snd_card_azt2320_pnp()
101 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
103 pdev = acard->dev; in snd_card_azt2320_pnp()
117 pdev = acard->devmpu; in snd_card_azt2320_pnp()
130 acard->devmpu = NULL; in snd_card_azt2320_pnp()
171 struct snd_card_azt2320 *acard; in snd_card_azt2320_probe() local
180 acard = card->private_data; in snd_card_azt2320_probe()
182 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe()
[all …]
/kernel/linux/linux-5.10/sound/pci/
Dals4000.c739 static int snd_als4000_create_gameport(struct snd_card_als4000 *acard, int dev) in snd_als4000_create_gameport() argument
760 dev_warn(&acard->pci->dev, "cannot reserve joystick ports\n"); in snd_als4000_create_gameport()
764 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport()
766 dev_err(&acard->pci->dev, "cannot allocate memory for gameport\n"); in snd_als4000_create_gameport()
772 gameport_set_phys(gp, "pci%s/gameport0", pci_name(acard->pci)); in snd_als4000_create_gameport()
773 gameport_set_dev_parent(gp, &acard->pci->dev); in snd_als4000_create_gameport()
778 snd_als4000_set_addr(acard->iobase, 0, 0, 0, 1); in snd_als4000_create_gameport()
780 gameport_register_port(acard->gameport); in snd_als4000_create_gameport()
785 static void snd_als4000_free_gameport(struct snd_card_als4000 *acard) in snd_als4000_free_gameport() argument
787 if (acard->gameport) { in snd_als4000_free_gameport()
[all …]
/kernel/linux/linux-5.10/sound/isa/cs423x/
Dcs4236.c292 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp() argument
296 acard->wss = pdev; in snd_card_cs423x_pnp()
297 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
306 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
310 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
311 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
313 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
314 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
317 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
318 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
[all …]
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb8.c60 struct snd_sb8 *acard = card->private_data; in snd_sb8_free() local
62 if (acard == NULL) in snd_sb8_free()
64 release_and_free_resource(acard->fm_res); in snd_sb8_free()
86 struct snd_sb8 *acard; in snd_sb8_probe() local
94 acard = card->private_data; in snd_sb8_probe()
98 acard->fm_res = request_region(0x388, 4, "SoundBlaster FM"); in snd_sb8_probe()
132 acard->chip = chip; in snd_sb8_probe()
202 struct snd_sb8 *acard = card->private_data; in snd_sb8_suspend() local
203 struct snd_sb *chip = acard->chip; in snd_sb8_suspend()
213 struct snd_sb8 *acard = card->private_data; in snd_sb8_resume() local
[all …]
Dsb16.c238 static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp() argument
245 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_sb16_pnp()
246 if (acard->dev == NULL) in snd_card_sb16_pnp()
250 acard->devwt = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_sb16_pnp()
253 pdev = acard->dev; in snd_card_sb16_pnp()
272 pdev = acard->devwt; in snd_card_sb16_pnp()
287 acard->devwt = NULL; in snd_card_sb16_pnp()
298 struct snd_card_sb16 *acard = card->private_data; in snd_sb16_free() local
300 if (acard == NULL) in snd_sb16_free()
302 release_and_free_resource(acard->fm_res); in snd_sb16_free()
[all …]
Djazz16.c355 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_suspend() local
356 struct snd_sb *chip = acard->chip; in snd_jazz16_suspend()
366 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_resume() local
367 struct snd_sb *chip = acard->chip; in snd_jazz16_resume()
/kernel/linux/linux-5.10/drivers/ata/
DMakefile7 obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o