Home
last modified time | relevance | path

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

/linux-2.6.39/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.c169 snd_wavefront_card_t *acard; in snd_wavefront_fx_ioctl() local
182 acard = card->private_data; in snd_wavefront_fx_ioctl()
183 dev = &acard->wavefront; in snd_wavefront_fx_ioctl()
Dwavefront_synth.c1493 wavefront_synth_control (snd_wavefront_card_t *acard, in wavefront_synth_control() argument
1497 snd_wavefront_t *dev = &acard->wavefront; in wavefront_synth_control()
1608 snd_wavefront_midi_disable_virtual (acard); in wavefront_synth_control()
1612 snd_wavefront_midi_enable_virtual (acard); in wavefront_synth_control()
1645 snd_wavefront_card_t *acard; in snd_wavefront_synth_ioctl() local
1657 acard = card->private_data; in snd_wavefront_synth_ioctl()
1658 dev = &acard->wavefront; in snd_wavefront_synth_ioctl()
1672 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()
/linux-2.6.39/sound/isa/
Dcmi8330.c309 static int __devinit 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 __devinit 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 __devinit 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 __devinit 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
191 acard = card->private_data; in snd_card_azt2320_probe()
193 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe()
[all …]
/linux-2.6.39/sound/pci/
Dals4000.c773 static int __devinit snd_als4000_create_gameport(struct snd_card_als4000 *acard, int dev) in snd_als4000_create_gameport() argument
798 acard->gameport = gp = gameport_allocate_port(); 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()
822 struct resource *r = gameport_get_port_data(acard->gameport); in snd_als4000_free_gameport()
824 gameport_unregister_port(acard->gameport); in snd_als4000_free_gameport()
[all …]
/linux-2.6.39/sound/isa/cs423x/
Dcs4236.c306 static int __devinit snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp() argument
310 acard->wss = pdev; in snd_card_cs423x_pnp()
311 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
320 static int __devinit snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
324 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
325 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
327 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
328 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
331 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
332 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
[all …]
/linux-2.6.39/sound/isa/ad1816a/
Dad1816a.c102 static int __devinit snd_card_ad1816a_pnp(int dev, struct snd_card_ad1816a *acard, in snd_card_ad1816a_pnp() argument
109 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_ad1816a_pnp()
110 if (acard->dev == NULL) in snd_card_ad1816a_pnp()
113 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_ad1816a_pnp()
114 if (acard->devmpu == NULL) { in snd_card_ad1816a_pnp()
119 pdev = acard->dev; in snd_card_ad1816a_pnp()
133 if (acard->devmpu == NULL) in snd_card_ad1816a_pnp()
136 pdev = acard->devmpu; in snd_card_ad1816a_pnp()
142 acard->devmpu = NULL; in snd_card_ad1816a_pnp()
156 struct snd_card_ad1816a *acard; in snd_card_ad1816a_probe() local
[all …]
/linux-2.6.39/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()
220 struct snd_sb8 *acard = card->private_data; in snd_sb8_suspend() local
221 struct snd_sb *chip = acard->chip; in snd_sb8_suspend()
232 struct snd_sb8 *acard = card->private_data; in snd_sb8_resume() local
[all …]
Dsb16.c253 static int __devinit 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.c359 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_suspend() local
360 struct snd_sb *chip = acard->chip; in snd_jazz16_suspend()
371 struct snd_card_jazz16 *acard = card->private_data; in snd_jazz16_resume() local
372 struct snd_sb *chip = acard->chip; in snd_jazz16_resume()
/linux-2.6.39/drivers/ata/
DMakefile6 obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o