Home
last modified time | relevance | path

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

/linux/sound/isa/wavefront/
H A 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 …]
H A 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()
H A Dwavefront_synth.c1516 wavefront_synth_control (snd_wavefront_card_t *acard, in wavefront_synth_control() argument
1520 snd_wavefront_t *dev = &acard->wavefront; in wavefront_synth_control()
1630 snd_wavefront_midi_disable_virtual (acard); in wavefront_synth_control()
1634 snd_wavefront_midi_enable_virtual (acard); in wavefront_synth_control()
1667 snd_wavefront_card_t *acard; in snd_wavefront_synth_ioctl() local
1679 acard = card->private_data; in snd_wavefront_synth_ioctl()
1680 dev = &acard->wavefront; in snd_wavefront_synth_ioctl()
1694 if (wavefront_synth_control (acard, wc) < 0) in snd_wavefront_synth_ioctl()
H A 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/sound/isa/
H A 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 …]
H A Dals100.c95 static int snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, in snd_card_als100_pnp() argument
102 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
103 if (acard->dev == NULL) in snd_card_als100_pnp()
106 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
107 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); in snd_card_als100_pnp()
109 pdev = acard->dev; in snd_card_als100_pnp()
125 pdev = acard->devmpu; in snd_card_als100_pnp()
138 acard->devmpu = NULL; in snd_card_als100_pnp()
142 pdev = acard->devopl; in snd_card_als100_pnp()
154 acard->devopl = NULL; in snd_card_als100_pnp()
[all …]
H A Dazt2320.c83 static int snd_card_azt2320_pnp(int dev, struct snd_card_azt2320 *acard, in snd_card_azt2320_pnp() argument
90 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
91 if (acard->dev == NULL) in snd_card_azt2320_pnp()
94 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
96 pdev = acard->dev; in snd_card_azt2320_pnp()
110 pdev = acard->devmpu; in snd_card_azt2320_pnp()
123 acard->devmpu = NULL; in snd_card_azt2320_pnp()
166 struct snd_card_azt2320 *acard; in snd_card_azt2320_probe() local
175 acard = card->private_data; in snd_card_azt2320_probe()
177 error = snd_card_azt2320_pnp(dev, acard, pcard, pid); in snd_card_azt2320_probe()
[all …]
/linux/sound/pci/
H A 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/sound/isa/cs423x/
H A Dcs4236.c259 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp() argument
263 acard->wss = pdev; in snd_card_cs423x_pnp()
264 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
273 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
277 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
278 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
280 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
281 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
284 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
285 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
[all …]
/linux/sound/isa/sb/
H A Dsb16.c224 static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp() argument
231 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_sb16_pnp()
232 if (acard->dev == NULL) in snd_card_sb16_pnp()
236 acard->devwt = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_sb16_pnp()
239 pdev = acard->dev; in snd_card_sb16_pnp()
258 pdev = acard->devwt; in snd_card_sb16_pnp()
273 acard->devwt = NULL; in snd_card_sb16_pnp()
306 struct snd_card_sb16 *acard = card->private_data; in snd_sb16_probe() local
324 acard->chip = chip; in snd_sb16_probe()
374 acard->fm_res != NULL || fm_port[dev] == port[dev], in snd_sb16_probe()
[all …]
H A 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()
H A Djazz16.c338 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_suspend() local
339 struct snd_sb *chip = acard->chip; in snd_jazz16_suspend()
349 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_resume() local
350 struct snd_sb *chip = acard->chip; in snd_jazz16_resume()
/linux/drivers/ata/
H A DMakefile7 obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o