Home
last modified time | relevance | path

Searched refs:ac97_bus (Results 1 – 23 of 23) sorted by relevance

/sound/soc/codecs/
Dac97.c67 struct snd_ac97_bus *ac97_bus; in ac97_soc_probe() local
73 NULL, &ac97_bus); in ac97_soc_probe()
78 ret = snd_ac97_mixer(ac97_bus, &ac97_template, &ac97); in ac97_soc_probe()
/sound/arm/
Dpxa2xx-ac97.c223 struct snd_ac97_bus *ac97_bus; in pxa2xx_ac97_probe() local
249 ret = snd_ac97_bus(card, 0, &pxa2xx_ac97_ops, NULL, &ac97_bus); in pxa2xx_ac97_probe()
253 ret = snd_ac97_mixer(ac97_bus, &ac97_template, &pxa2xx_ac97_ac97); in pxa2xx_ac97_probe()
263 snd_ac97_dev_add_pdata(ac97_bus->codec[0], pdata->codec_pdata[0]); in pxa2xx_ac97_probe()
Daaci.c388 slots = aaci->ac97_bus->pcms[0].r[0].slots; in aaci_rule_channels()
834 struct snd_ac97_bus *ac97_bus; in aaci_probe_ac97() local
851 ret = snd_ac97_bus(aaci->card, 0, &aaci_bus_ops, aaci, &ac97_bus); in aaci_probe_ac97()
855 ac97_bus->clock = 48000; in aaci_probe_ac97()
856 aaci->ac97_bus = ac97_bus; in aaci_probe_ac97()
863 ret = snd_ac97_mixer(ac97_bus, &ac97_template, &ac97); in aaci_probe_ac97()
874 ret = snd_ac97_pcm_assign(ac97_bus, ARRAY_SIZE(ac97_defs), ac97_defs); in aaci_probe_ac97()
878 aaci->playback.pcm = &ac97_bus->pcms[0]; in aaci_probe_ac97()
879 aaci->capture.pcm = &ac97_bus->pcms[1]; in aaci_probe_ac97()
Daaci.h232 struct snd_ac97_bus *ac97_bus; member
/sound/
DMakefile12 obj-$(CONFIG_AC97_BUS) += ac97_bus.o
/sound/pci/
Dvia82xx_modem.c240 struct snd_ac97_bus *ac97_bus; member
869 chip->ac97_bus = NULL; in snd_via82xx_mixer_free_ac97_bus()
889 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) in snd_via82xx_mixer_new()
891 chip->ac97_bus->private_free = snd_via82xx_mixer_free_ac97_bus; in snd_via82xx_mixer_new()
892 chip->ac97_bus->clock = chip->ac97_clock; in snd_via82xx_mixer_new()
901 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) in snd_via82xx_mixer_new()
Dad1889.c83 struct snd_ac97_bus *ac97_bus; member
770 chip->ac97_bus = NULL; in snd_ad1889_ac97_bus_free()
793 err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus); in snd_ad1889_ac97_init()
797 chip->ac97_bus->private_free = snd_ad1889_ac97_bus_free; in snd_ad1889_ac97_init()
804 err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97); in snd_ad1889_ac97_init()
Dfm801.c180 struct snd_ac97_bus *ac97_bus; member
1023 chip->ac97_bus = NULL; in snd_fm801_mixer_free_ac97_bus()
1046 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) in snd_fm801_mixer()
1048 chip->ac97_bus->private_free = snd_fm801_mixer_free_ac97_bus; in snd_fm801_mixer()
1053 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) in snd_fm801_mixer()
1058 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97_sec)) < 0) in snd_fm801_mixer()
Dintel8x0.c393 struct snd_ac97_bus *ac97_bus; member
1669 chip->ac97_bus = NULL; in snd_intel8x0_mixer_free_ac97_bus()
2241 chip->ac97_bus = pbus; in snd_intel8x0_mixer()
2687 if (chip->ac97_bus->clock != 48000) in intel8x0_measure_ac97_clock()
2705 chip->ac97_bus->clock); in intel8x0_measure_ac97_clock()
2786 chip->ac97_bus->clock = 41000; in intel8x0_measure_ac97_clock()
2789 chip->ac97_bus->clock = 44100; in intel8x0_measure_ac97_clock()
2792 chip->ac97_bus->clock = (chip->ac97_bus->clock * 48000) / pos; in intel8x0_measure_ac97_clock()
2794 dev_info(chip->card->dev, "clocking to %d\n", chip->ac97_bus->clock); in intel8x0_measure_ac97_clock()
2818 chip->ac97_bus->clock = wl->value; in intel8x0_in_clock_list()
Dcs4281.c447 struct snd_ac97_bus *ac97_bus; member
1067 chip->ac97_bus = NULL; in snd_cs4281_mixer_free_ac97_bus()
1089 if ((err = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus)) < 0) in snd_cs4281_mixer()
1091 chip->ac97_bus->private_free = snd_cs4281_mixer_free_ac97_bus; in snd_cs4281_mixer()
1096 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) in snd_cs4281_mixer()
1100 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97_secondary)) < 0) in snd_cs4281_mixer()
Dvia82xx.c380 struct snd_ac97_bus *ac97_bus; member
1794 chip->ac97_bus = NULL; in snd_via82xx_mixer_free_ac97_bus()
1896 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) in snd_via82xx_mixer_new()
1898 chip->ac97_bus->private_free = snd_via82xx_mixer_free_ac97_bus; in snd_via82xx_mixer_new()
1899 chip->ac97_bus->clock = chip->ac97_clock; in snd_via82xx_mixer_new()
1906 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) in snd_via82xx_mixer_new()
Dintel8x0m.c195 struct snd_ac97_bus *ac97_bus; member
804 chip->ac97_bus = NULL; in snd_intel8x0m_mixer_free_ac97_bus()
840 chip->ac97_bus = pbus; in snd_intel8x0m_mixer()
Datiixp.c255 struct snd_ac97_bus *ac97_bus; member
1247 struct snd_ac97_bus *pbus = chip->ac97_bus; in snd_atiixp_pcm_new()
1431 chip->ac97_bus = pbus; in snd_atiixp_mixer_new()
Datiixp_modem.c230 struct snd_ac97_bus *ac97_bus; member
1072 chip->ac97_bus = pbus; in snd_atiixp_mixer_new()
/sound/atmel/
Dac97c.c44 struct snd_ac97_bus *ac97_bus; member
590 retval = snd_ac97_pcm_assign(chip->ac97_bus, in atmel_ac97c_pcm_new()
620 return snd_ac97_mixer(chip->ac97_bus, &template, &chip->ac97); in atmel_ac97c_mixer_new()
793 retval = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus); in atmel_ac97c_probe()
/sound/pci/trident/
Dtrident.h384 struct snd_ac97_bus *ac97_bus; member
Dtrident_main.c2962 if ((err = snd_ac97_bus(trident->card, 0, &ops, NULL, &trident->ac97_bus)) < 0) in snd_trident_mixer()
2970 if ((err = snd_ac97_mixer(trident->ac97_bus, &_ac97, &trident->ac97)) < 0) { in snd_trident_mixer()
2985 err = snd_ac97_mixer(trident->ac97_bus, &_ac97, &trident->ac97_sec); in snd_trident_mixer()
/sound/pci/ymfpci/
Dymfpci.h315 struct snd_ac97_bus *ac97_bus; member
Dymfpci_main.c1783 chip->ac97_bus = NULL; in snd_ymfpci_mixer_free_ac97_bus()
1804 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0) in snd_ymfpci_mixer()
1806 chip->ac97_bus->private_free = snd_ymfpci_mixer_free_ac97_bus; in snd_ymfpci_mixer()
1807 chip->ac97_bus->no_vra = 1; /* YMFPCI doesn't need VRA */ in snd_ymfpci_mixer()
1812 if ((err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97)) < 0) in snd_ymfpci_mixer()
/sound/pci/ali5451/
Dali5451.c239 struct snd_ac97_bus *ac97_bus; member
1827 err = snd_ac97_bus(codec->card, 0, &ops, codec, &codec->ac97_bus); in snd_ali_mixer()
1836 err = snd_ac97_mixer(codec->ac97_bus, &ac97, &codec->ac97[i]); in snd_ali_mixer()
/sound/pci/cs46xx/
Dcs46xx.h1669 struct snd_ac97_bus *ac97_bus; member
Dcs46xx_lib.c1871 chip->ac97_bus = NULL; in snd_cs46xx_mixer_free_ac97_bus()
2459 err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97[codec]); in cs46xx_detect_codec()
2485 if ((err = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus)) < 0) in snd_cs46xx_mixer()
2487 chip->ac97_bus->private_free = snd_cs46xx_mixer_free_ac97_bus; in snd_cs46xx_mixer()
/sound/pci/riptide/
Driptide.c427 struct snd_ac97_bus *ac97_bus; member
1983 chip->ac97_bus = pbus; in snd_riptide_mixer()