/sound/isa/wavefront/ |
D | wavefront.c | 103 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card, in snd_wavefront_pnp() argument 113 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp() 114 if (acard->wss == NULL) in snd_wavefront_pnp() 129 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp() 130 if (acard->mpu == NULL) in snd_wavefront_pnp() 136 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp() 137 if (acard->synth == NULL) in snd_wavefront_pnp() 142 pdev = acard->wss; in snd_wavefront_pnp() 170 pdev = acard->synth; in snd_wavefront_pnp() 188 pdev = acard->mpu; in snd_wavefront_pnp() [all …]
|
D | wavefront_fx.c | 176 snd_wavefront_card_t *acard; in snd_wavefront_fx_ioctl() local 189 acard = card->private_data; in snd_wavefront_fx_ioctl() 190 dev = &acard->wavefront; in snd_wavefront_fx_ioctl()
|
D | wavefront_synth.c | 1492 wavefront_synth_control (snd_wavefront_card_t *acard, in wavefront_synth_control() argument 1496 snd_wavefront_t *dev = &acard->wavefront; in wavefront_synth_control() 1607 snd_wavefront_midi_disable_virtual (acard); in wavefront_synth_control() 1611 snd_wavefront_midi_enable_virtual (acard); in wavefront_synth_control() 1644 snd_wavefront_card_t *acard; in snd_wavefront_synth_ioctl() local 1656 acard = card->private_data; in snd_wavefront_synth_ioctl() 1657 dev = &acard->wavefront; in snd_wavefront_synth_ioctl() 1672 else if (wavefront_synth_control (acard, wc) < 0) in snd_wavefront_synth_ioctl()
|
D | wavefront_midi.c | 97 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/ |
D | cmi8330.c | 288 static int __devinit snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer() argument 298 acard->wss)); in snd_cmi8330_mixer() 304 if ((err = cmi8330_add_sb_mixers(acard->sb)) < 0) in snd_cmi8330_mixer() 311 static int __devinit snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard, in snd_cmi8330_pnp() argument 318 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp() 319 if (acard->cap == NULL) in snd_cmi8330_pnp() 322 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_cmi8330_pnp() 323 if (acard->play == NULL) in snd_cmi8330_pnp() 326 pdev = acard->cap; in snd_cmi8330_pnp() 338 pdev = acard->play; in snd_cmi8330_pnp() [all …]
|
D | als100.c | 94 static int __devinit snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, in snd_card_als100_pnp() argument 101 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp() 102 if (acard->dev == NULL) in snd_card_als100_pnp() 105 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp() 106 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); in snd_card_als100_pnp() 108 pdev = acard->dev; in snd_card_als100_pnp() 120 pdev = acard->devmpu; in snd_card_als100_pnp() 133 acard->devmpu = NULL; in snd_card_als100_pnp() 137 pdev = acard->devopl; in snd_card_als100_pnp() 149 acard->devopl = NULL; in snd_card_als100_pnp() [all …]
|
D | dt019x.c | 80 static int __devinit snd_card_dt019x_pnp(int dev, struct snd_card_dt019x *acard, in snd_card_dt019x_pnp() argument 87 acard->dev = pnp_request_card_device(card, pid->devs[0].id, NULL); in snd_card_dt019x_pnp() 88 if (acard->dev == NULL) in snd_card_dt019x_pnp() 91 acard->devmpu = pnp_request_card_device(card, pid->devs[1].id, NULL); in snd_card_dt019x_pnp() 92 acard->devopl = pnp_request_card_device(card, pid->devs[2].id, NULL); in snd_card_dt019x_pnp() 94 pdev = acard->dev; in snd_card_dt019x_pnp() 108 pdev = acard->devmpu; in snd_card_dt019x_pnp() 122 acard->devmpu = NULL; in snd_card_dt019x_pnp() 126 pdev = acard->devopl; in snd_card_dt019x_pnp() 138 acard->devopl = NULL; in snd_card_dt019x_pnp() [all …]
|
D | azt2320.c | 102 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 190 acard = (struct snd_card_azt2320 *)card->private_data; in snd_card_azt2320_probe() 192 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe() [all …]
|
D | es18xx.c | 1737 struct snd_audiodrive *acard = card->private_data; in snd_es18xx_suspend() local 1738 struct snd_es18xx *chip = acard->chip; in snd_es18xx_suspend() 1755 struct snd_audiodrive *acard = card->private_data; in snd_es18xx_resume() local 1756 struct snd_es18xx *chip = acard->chip; in snd_es18xx_resume() 2066 static int __devinit snd_audiodrive_pnp(int dev, struct snd_audiodrive *acard, in snd_audiodrive_pnp() argument 2069 acard->dev = pdev; in snd_audiodrive_pnp() 2070 if (snd_audiodrive_pnp_init_main(dev, acard->dev) < 0) in snd_audiodrive_pnp() 2096 static int __devinit snd_audiodrive_pnpc(int dev, struct snd_audiodrive *acard, in snd_audiodrive_pnpc() argument 2100 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_audiodrive_pnpc() 2101 if (acard->dev == NULL) in snd_audiodrive_pnpc() [all …]
|
/sound/isa/cs423x/ |
D | cs4236.c | 327 static int __devinit snd_card_cs4232_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs4232_pnp() argument 330 acard->wss = pdev; in snd_card_cs4232_pnp() 331 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs4232_pnp() 338 static int __devinit snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument 342 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc() 343 if (acard->wss == NULL) in snd_card_cs423x_pnpc() 345 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc() 346 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc() 349 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc() 350 if (acard->mpu == NULL) in snd_card_cs423x_pnpc() [all …]
|
/sound/pci/ |
D | als4000.c | 774 static int __devinit snd_als4000_create_gameport(struct snd_card_als4000 *acard, int dev) in snd_als4000_create_gameport() argument 799 acard->gameport = gp = gameport_allocate_port(); in snd_als4000_create_gameport() 807 gameport_set_phys(gp, "pci%s/gameport0", pci_name(acard->pci)); in snd_als4000_create_gameport() 808 gameport_set_dev_parent(gp, &acard->pci->dev); in snd_als4000_create_gameport() 813 snd_als4000_set_addr(acard->iobase, 0, 0, 0, 1); in snd_als4000_create_gameport() 815 gameport_register_port(acard->gameport); in snd_als4000_create_gameport() 820 static void snd_als4000_free_gameport(struct snd_card_als4000 *acard) in snd_als4000_free_gameport() argument 822 if (acard->gameport) { in snd_als4000_free_gameport() 823 struct resource *r = gameport_get_port_data(acard->gameport); in snd_als4000_free_gameport() 825 gameport_unregister_port(acard->gameport); in snd_als4000_free_gameport() [all …]
|
/sound/isa/sb/ |
D | es968.c | 77 static int __devinit snd_card_es968_pnp(int dev, struct snd_card_es968 *acard, in snd_card_es968_pnp() argument 84 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_es968_pnp() 85 if (acard->dev == NULL) in snd_card_es968_pnp() 88 pdev = acard->dev; in snd_card_es968_pnp() 109 struct snd_card_es968 *acard; in snd_card_es968_probe() local 114 acard = card->private_data; in snd_card_es968_probe() 115 if ((error = snd_card_es968_pnp(dev, acard, pcard, pid))) { in snd_card_es968_probe() 130 acard->chip = chip; in snd_card_es968_probe() 191 struct snd_card_es968 *acard = card->private_data; in snd_es968_pnp_suspend() local 192 struct snd_sb *chip = acard->chip; in snd_es968_pnp_suspend() [all …]
|
D | sb16.c | 254 static int __devinit snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp() argument 261 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_sb16_pnp() 262 if (acard->dev == NULL) in snd_card_sb16_pnp() 266 acard->devwt = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_sb16_pnp() 269 pdev = acard->dev; in snd_card_sb16_pnp() 288 pdev = acard->devwt; in snd_card_sb16_pnp() 303 acard->devwt = NULL; in snd_card_sb16_pnp() 314 struct snd_card_sb16 *acard = card->private_data; in snd_sb16_free() local 316 if (acard == NULL) in snd_sb16_free() 318 release_and_free_resource(acard->fm_res); in snd_sb16_free() [all …]
|
D | sb8.c | 76 struct snd_sb8 *acard = (struct snd_sb8 *)card->private_data; in snd_sb8_free() local 78 if (acard == NULL) in snd_sb8_free() 80 release_and_free_resource(acard->fm_res); in snd_sb8_free() 102 struct snd_sb8 *acard; in snd_sb8_probe() local 110 acard = card->private_data; in snd_sb8_probe() 114 acard->fm_res = request_region(0x388, 4, "SoundBlaster FM"); in snd_sb8_probe() 148 acard->chip = chip; in snd_sb8_probe() 221 struct snd_sb8 *acard = card->private_data; in snd_sb8_suspend() local 222 struct snd_sb *chip = acard->chip; in snd_sb8_suspend() 233 struct snd_sb8 *acard = card->private_data; in snd_sb8_resume() local [all …]
|
/sound/isa/ad1816a/ |
D | ad1816a.c | 102 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 …]
|