Home
last modified time | relevance | path

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

/linux-6.1.9/sound/isa/wavefront/
Dwavefront.c88 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card, in snd_wavefront_pnp() argument
98 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp()
99 if (acard->wss == NULL) in snd_wavefront_pnp()
114 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
115 if (acard->mpu == NULL) in snd_wavefront_pnp()
121 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
122 if (acard->synth == NULL) in snd_wavefront_pnp()
127 pdev = acard->wss; in snd_wavefront_pnp()
155 pdev = acard->synth; in snd_wavefront_pnp()
173 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.c1514 wavefront_synth_control (snd_wavefront_card_t *acard, in wavefront_synth_control() argument
1518 snd_wavefront_t *dev = &acard->wavefront; in wavefront_synth_control()
1629 snd_wavefront_midi_disable_virtual (acard); in wavefront_synth_control()
1633 snd_wavefront_midi_enable_virtual (acard); in wavefront_synth_control()
1666 snd_wavefront_card_t *acard; in snd_wavefront_synth_ioctl() local
1678 acard = card->private_data; in snd_wavefront_synth_ioctl()
1679 dev = &acard->wavefront; in snd_wavefront_synth_ioctl()
1693 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()
/linux-6.1.9/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 err = cmi8330_add_sb_mixers(acard->sb); in snd_cmi8330_mixer()
319 static int snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard, in snd_cmi8330_pnp() argument
327 acard->type = (id->devs[3].id[0]) ? CMI8329 : CMI8330; in snd_cmi8330_pnp()
329 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp()
330 if (acard->cap == NULL) in snd_cmi8330_pnp()
333 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_cmi8330_pnp()
334 if (acard->play == NULL) in snd_cmi8330_pnp()
[all …]
Dals100.c97 static int snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, in snd_card_als100_pnp() argument
104 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
105 if (acard->dev == NULL) in snd_card_als100_pnp()
108 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
109 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); in snd_card_als100_pnp()
111 pdev = acard->dev; in snd_card_als100_pnp()
127 pdev = acard->devmpu; in snd_card_als100_pnp()
140 acard->devmpu = NULL; in snd_card_als100_pnp()
144 pdev = acard->devopl; in snd_card_als100_pnp()
156 acard->devopl = NULL; in snd_card_als100_pnp()
[all …]
Dazt2320.c85 static int snd_card_azt2320_pnp(int dev, struct snd_card_azt2320 *acard, in snd_card_azt2320_pnp() argument
92 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
93 if (acard->dev == NULL) in snd_card_azt2320_pnp()
96 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
98 pdev = acard->dev; in snd_card_azt2320_pnp()
112 pdev = acard->devmpu; in snd_card_azt2320_pnp()
125 acard->devmpu = NULL; in snd_card_azt2320_pnp()
168 struct snd_card_azt2320 *acard; in snd_card_azt2320_probe() local
177 acard = card->private_data; in snd_card_azt2320_probe()
179 error = snd_card_azt2320_pnp(dev, acard, pcard, pid); in snd_card_azt2320_probe()
[all …]
/linux-6.1.9/sound/pci/
Dals4000.c738 static int snd_als4000_create_gameport(struct snd_card_als4000 *acard, int dev) in snd_als4000_create_gameport() argument
749 r = devm_request_region(&acard->pci->dev, io_port, 8, in snd_als4000_create_gameport()
756 r = devm_request_region(&acard->pci->dev, io_port, 8, in snd_als4000_create_gameport()
761 dev_warn(&acard->pci->dev, "cannot reserve joystick ports\n"); in snd_als4000_create_gameport()
765 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport()
767 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()
777 snd_als4000_set_addr(acard->iobase, 0, 0, 0, 1); in snd_als4000_create_gameport()
779 gameport_register_port(acard->gameport); in snd_als4000_create_gameport()
[all …]
/linux-6.1.9/sound/isa/cs423x/
Dcs4236.c257 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp() argument
261 acard->wss = pdev; in snd_card_cs423x_pnp()
262 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
271 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
275 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
276 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
278 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
279 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
282 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
283 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
[all …]
/linux-6.1.9/sound/isa/sb/
Dsb16.c230 static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp() argument
237 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_sb16_pnp()
238 if (acard->dev == NULL) in snd_card_sb16_pnp()
242 acard->devwt = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_sb16_pnp()
245 pdev = acard->dev; in snd_card_sb16_pnp()
264 pdev = acard->devwt; in snd_card_sb16_pnp()
279 acard->devwt = NULL; in snd_card_sb16_pnp()
312 struct snd_card_sb16 *acard = card->private_data; in snd_sb16_probe() local
330 acard->chip = chip; in snd_sb16_probe()
380 acard->fm_res != NULL || fm_port[dev] == port[dev], in snd_sb16_probe()
[all …]
Dsb8.c76 struct snd_sb8 *acard; in snd_sb8_probe() local
84 acard = card->private_data; in snd_sb8_probe()
91 acard->fm_res = devm_request_region(card->dev, 0x388, 4, in snd_sb8_probe()
122 acard->chip = chip; in snd_sb8_probe()
185 struct snd_sb8 *acard = card->private_data; in snd_sb8_suspend() local
186 struct snd_sb *chip = acard->chip; in snd_sb8_suspend()
196 struct snd_sb8 *acard = card->private_data; in snd_sb8_resume() local
197 struct snd_sb *chip = acard->chip; in snd_sb8_resume()
Djazz16.c337 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_suspend() local
338 struct snd_sb *chip = acard->chip; in snd_jazz16_suspend()
348 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_resume() local
349 struct snd_sb *chip = acard->chip; in snd_jazz16_resume()
/linux-6.1.9/drivers/ata/
DMakefile7 obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o