Home
last modified time | relevance | path

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

/sound/isa/wavefront/
Dwavefront.c102 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card, in snd_wavefront_pnp() argument
112 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp()
113 if (acard->wss == NULL) in snd_wavefront_pnp()
128 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
129 if (acard->mpu == NULL) in snd_wavefront_pnp()
135 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
136 if (acard->synth == NULL) in snd_wavefront_pnp()
141 pdev = acard->wss; in snd_wavefront_pnp()
169 pdev = acard->synth; in snd_wavefront_pnp()
187 pdev = acard->mpu; in snd_wavefront_pnp()
[all …]
Dwavefront_fx.c170 snd_wavefront_card_t *acard; in snd_wavefront_fx_ioctl() local
183 acard = card->private_data; in snd_wavefront_fx_ioctl()
184 dev = &acard->wavefront; in snd_wavefront_fx_ioctl()
Dwavefront_synth.c1509 wavefront_synth_control (snd_wavefront_card_t *acard, in wavefront_synth_control() argument
1513 snd_wavefront_t *dev = &acard->wavefront; in wavefront_synth_control()
1624 snd_wavefront_midi_disable_virtual (acard); in wavefront_synth_control()
1628 snd_wavefront_midi_enable_virtual (acard); in wavefront_synth_control()
1661 snd_wavefront_card_t *acard; in snd_wavefront_synth_ioctl() local
1673 acard = card->private_data; in snd_wavefront_synth_ioctl()
1674 dev = &acard->wavefront; in snd_wavefront_synth_ioctl()
1688 if (wavefront_synth_control (acard, wc) < 0) in snd_wavefront_synth_ioctl()
Dwavefront_midi.c97 snd_wavefront_card_t *acard; in get_wavefront_midi() local
110 acard = card->private_data; in get_wavefront_midi()
112 return &acard->wavefront.midi; in get_wavefront_midi()
/sound/isa/
Dcmi8330.c309 static int snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer() argument
314 strcpy(card->mixername, (acard->type == CMI8329) ? "CMI8329" : "CMI8330/C3D"); in snd_cmi8330_mixer()
319 acard->wss)); in snd_cmi8330_mixer()
325 if ((err = cmi8330_add_sb_mixers(acard->sb)) < 0) in snd_cmi8330_mixer()
332 static int snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard, in snd_cmi8330_pnp() argument
340 acard->type = (id->devs[3].id[0]) ? CMI8329 : CMI8330; in snd_cmi8330_pnp()
342 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp()
343 if (acard->cap == NULL) in snd_cmi8330_pnp()
346 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_cmi8330_pnp()
347 if (acard->play == NULL) in snd_cmi8330_pnp()
[all …]
Dals100.c120 static int snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, in snd_card_als100_pnp() argument
127 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
128 if (acard->dev == NULL) in snd_card_als100_pnp()
131 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
132 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); in snd_card_als100_pnp()
134 pdev = acard->dev; in snd_card_als100_pnp()
150 pdev = acard->devmpu; in snd_card_als100_pnp()
163 acard->devmpu = NULL; in snd_card_als100_pnp()
167 pdev = acard->devopl; in snd_card_als100_pnp()
179 acard->devopl = NULL; in snd_card_als100_pnp()
[all …]
Dazt2320.c102 static int snd_card_azt2320_pnp(int dev, struct snd_card_azt2320 *acard, in snd_card_azt2320_pnp() argument
109 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
110 if (acard->dev == NULL) in snd_card_azt2320_pnp()
113 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
115 pdev = acard->dev; in snd_card_azt2320_pnp()
129 pdev = acard->devmpu; in snd_card_azt2320_pnp()
142 acard->devmpu = NULL; in snd_card_azt2320_pnp()
183 struct snd_card_azt2320 *acard; in snd_card_azt2320_probe() local
192 acard = card->private_data; in snd_card_azt2320_probe()
194 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe()
[all …]
/sound/pci/
Dals4000.c773 static int snd_als4000_create_gameport(struct snd_card_als4000 *acard, int dev) in snd_als4000_create_gameport() argument
794 dev_warn(&acard->pci->dev, "cannot reserve joystick ports\n"); in snd_als4000_create_gameport()
798 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport()
800 dev_err(&acard->pci->dev, "cannot allocate memory for gameport\n"); in snd_als4000_create_gameport()
806 gameport_set_phys(gp, "pci%s/gameport0", pci_name(acard->pci)); in snd_als4000_create_gameport()
807 gameport_set_dev_parent(gp, &acard->pci->dev); in snd_als4000_create_gameport()
812 snd_als4000_set_addr(acard->iobase, 0, 0, 0, 1); in snd_als4000_create_gameport()
814 gameport_register_port(acard->gameport); in snd_als4000_create_gameport()
819 static void snd_als4000_free_gameport(struct snd_card_als4000 *acard) in snd_als4000_free_gameport() argument
821 if (acard->gameport) { in snd_als4000_free_gameport()
[all …]
/sound/isa/cs423x/
Dcs4236.c307 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp() argument
311 acard->wss = pdev; in snd_card_cs423x_pnp()
312 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
321 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
325 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
326 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
328 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
329 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
332 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
333 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
[all …]
/sound/isa/sb/
Dsb8.c75 struct snd_sb8 *acard = card->private_data; in snd_sb8_free() local
77 if (acard == NULL) in snd_sb8_free()
79 release_and_free_resource(acard->fm_res); in snd_sb8_free()
101 struct snd_sb8 *acard; in snd_sb8_probe() local
109 acard = card->private_data; in snd_sb8_probe()
113 acard->fm_res = request_region(0x388, 4, "SoundBlaster FM"); in snd_sb8_probe()
147 acard->chip = chip; in snd_sb8_probe()
217 struct snd_sb8 *acard = card->private_data; in snd_sb8_suspend() local
218 struct snd_sb *chip = acard->chip; in snd_sb8_suspend()
229 struct snd_sb8 *acard = card->private_data; in snd_sb8_resume() local
[all …]
Dsb16.c253 static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp() argument
260 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_sb16_pnp()
261 if (acard->dev == NULL) in snd_card_sb16_pnp()
265 acard->devwt = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_sb16_pnp()
268 pdev = acard->dev; in snd_card_sb16_pnp()
287 pdev = acard->devwt; in snd_card_sb16_pnp()
302 acard->devwt = NULL; in snd_card_sb16_pnp()
313 struct snd_card_sb16 *acard = card->private_data; in snd_sb16_free() local
315 if (acard == NULL) in snd_sb16_free()
317 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()
367 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_resume() local
368 struct snd_sb *chip = acard->chip; in snd_jazz16_resume()