Searched refs:ac97 (Results 26 - 50 of 112) sorted by relevance

12345

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/cs5535audio/
H A Dcs5535audio.c125 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, argument
128 struct cs5535audio *cs5535au = ac97->private_data;
132 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, argument
135 struct cs5535audio *cs5535au = ac97->private_data;
143 struct snd_ac97_template ac97; local
153 memset(&ac97, 0, sizeof(ac97));
154 ac97.scaps = AC97_SCAP_AUDIO | AC97_SCAP_SKIP_MODEM
156 ac97.private_data = cs5535au;
157 ac97
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpio/
H A Ducb1400_gpio.c21 ucb1400_gpio_set_direction(gpio->ac97, off, 0);
29 ucb1400_gpio_set_direction(gpio->ac97, off, 1);
30 ucb1400_gpio_set_value(gpio->ac97, off, val);
38 return ucb1400_gpio_get_value(gpio->ac97, off);
45 ucb1400_gpio_set_value(gpio->ac97, off, val);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/codecs/
H A Dac97.c2 * ac97.c -- ALSA Soc AC97 codec support
24 #include "ac97.h"
38 return snd_ac97_set_rate(codec->ac97, reg, runtime->rate);
71 return soc_ac97_ops.read(codec->ac97, reg);
77 soc_ac97_ops.write(codec->ac97, reg, val);
113 /* add codec as bus device for standard ac97 */
119 ret = snd_ac97_mixer(ac97_bus, &ac97_template, &codec->ac97);
125 snd_ac97_dev_add_pdata(codec->ac97,
160 snd_ac97_suspend(socdev->card->codec->ac97);
169 snd_ac97_resume(socdev->card->codec->ac97);
[all...]
H A Dstac9766.c149 soc_ac97_ops.write(codec->ac97, reg, val);
156 soc_ac97_ops.write(codec->ac97, reg, val);
168 val = soc_ac97_ops.read(codec->ac97, reg - AC97_STAC_PAGE0);
179 val = soc_ac97_ops.read(codec->ac97, reg);
247 soc_ac97_ops.warm_reset(codec->ac97);
252 soc_ac97_ops.reset(codec->ac97);
254 soc_ac97_ops.warm_reset(codec->ac97);
283 codec->ac97->bus->ops->warm_reset(codec->ac97);
284 id = soc_ac97_ops.read(codec->ac97, AC97_VENDOR_ID
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/arm/
H A Dpxa2xx-ac97-lib.c2 * Based on sound/arm/pxa2xx-ac97.c and sound/soc/pxa/pxa2xx-ac97.c
24 #include <mach/regs-ac97.h>
46 unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
55 reg_addr = ac97->num ? &SMC_REG_BASE : &PMC_REG_BASE;
57 reg_addr = ac97->num ? &SAC_REG_BASE : &PAC_REG_BASE;
60 /* start read access across the ac97 link */
86 void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
95 reg_addr = ac97->num ? &SMC_REG_BASE : &PMC_REG_BASE;
97 reg_addr = ac97
200 pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97) argument
232 pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97) argument
266 pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97) argument
[all...]
H A Daaci.c38 static void aaci_ac97_select_codec(struct aaci *aaci, struct snd_ac97 *ac97) argument
40 u32 v, maincr = aaci->maincr | MAINCR_SCRA(ac97->num);
63 static void aaci_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
66 struct aaci *aaci = ac97->private_data;
70 if (ac97->num >= 4)
75 aaci_ac97_select_codec(aaci, ac97);
101 static unsigned short aaci_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
103 struct aaci *aaci = ac97->private_data;
108 if (ac97->num >= 4)
113 aaci_ac97_select_codec(aaci, ac97);
852 struct snd_ac97 *ac97; local
[all...]
H A Dpxa2xx-ac97.c2 * linux/sound/pxa2xx-ac97.c -- AC97 support for the Intel PXA2xx chip.
23 #include <mach/regs-ac97.h>
28 static void pxa2xx_ac97_reset(struct snd_ac97 *ac97) argument
30 if (!pxa2xx_ac97_try_cold_reset(ac97)) {
31 pxa2xx_ac97_try_warm_reset(ac97);
34 pxa2xx_ac97_finish_reset(ac97);
246 .name = "pxa2xx-ac97",
270 MODULE_ALIAS("platform:pxa2xx-ac97");
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/modules/mixer/simple/
H A DMakefile.am9 smixer-ac97.la \
22 smixer_ac97_la_SOURCES = ac97.c sbasedl.c
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/ice1712/
H A Damp.c72 snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/txx9/
H A Dtxx9aclc-ac97.c50 static unsigned short txx9aclc_ac97_read(struct snd_ac97 *ac97, argument
58 if (!(__raw_readl(base + ACINTSTS) & ACINT_CODECRDY(ac97->num)))
60 reg |= ac97->num << 7;
66 dev_err(dev->soc_dev.dev, "ac97 read timeout (reg %#x)\n", reg);
84 static void txx9aclc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
91 __raw_writel(((reg | (ac97->num << 7)) << ACREGACC_REG_SHIFT) |
97 "ac97 write timeout (reg %#x)\n", reg);
102 static void txx9aclc_ac97_cold_reset(struct snd_ac97 *ac97) argument
107 u32 ready = ACINT_CODECRDY(ac97->num) | ACINT_REGACCRDY;
118 dev_err(&ac97
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/
H A Dvia82xx_modem.c252 struct snd_ac97 *ac97; member in struct:via82xx_modem
404 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) argument
406 struct via82xx_modem *chip = ac97->private_data;
408 err = snd_via82xx_codec_ready(chip, ac97->num);
413 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, argument
417 struct via82xx_modem *chip = ac97->private_data;
423 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY;
428 snd_via82xx_codec_ready(chip, ac97->num);
431 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
433 struct via82xx_modem *chip = ac97
878 snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) argument
887 struct snd_ac97_template ac97; local
[all...]
H A Dintel8x0m.c190 struct snd_ac97 *ac97; member in struct:ichdev
211 struct snd_ac97 *ac97; member in struct:intel8x0m
330 /* access to some forbidden (non existant) ac97 registers will not
340 static void snd_intel8x0_codec_write(struct snd_ac97 *ac97, argument
344 struct intel8x0m *chip = ac97->private_data;
346 if (snd_intel8x0m_codec_semaphore(chip, ac97->num) < 0) {
348 snd_printk(KERN_ERR "codec_write %d: semaphore is not ready for register 0x%x\n", ac97->num, reg);
350 iaputword(chip, reg + ac97->num * 0x80, val);
353 static unsigned short snd_intel8x0_codec_read(struct snd_ac97 *ac97, argument
356 struct intel8x0m *chip = ac97
781 snd_intel8x0_mixer_free_ac97(struct snd_ac97 *ac97) argument
791 struct snd_ac97_template ac97; local
[all...]
H A Dsis7019.c99 struct snd_ac97 *ac97[3]; member in struct:sis7019
667 runtime->hw.rates = sis->ac97[0]->rates[AC97_RATES_ADC];
683 rc = snd_ac97_set_rate(sis->ac97[0], AC97_PCM_LR_ADC_RATE,
958 printk(KERN_ERR "sis7019: ac97 codec %d timeout cmd 0x%08x\n",
965 static void sis_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
973 sis_ac97_rw(ac97->private_data, ac97->num,
974 (val << 16) | (reg << 8) | cmd[ac97->num]);
977 static unsigned short sis_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
984 return sis_ac97_rw(ac97
991 struct snd_ac97_template ac97; local
[all...]
H A Datiixp_modem.c245 struct snd_ac97 *ac97[NUM_ATI_CODECS]; member in struct:atiixp_modem
456 static unsigned short snd_atiixp_ac97_read(struct snd_ac97 *ac97, argument
459 struct atiixp_modem *chip = ac97->private_data;
460 return snd_atiixp_codec_read(chip, ac97->num, reg);
464 static void snd_atiixp_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
467 struct atiixp_modem *chip = ac97->private_data;
473 snd_atiixp_codec_write(chip, ac97->num, reg, val);
814 if (! chip->ac97[i])
816 snd_ac97_write(chip->ac97[i], AC97_LINE1_RATE, params_rate(hw_params));
817 snd_ac97_write(chip->ac97[
1067 struct snd_ac97_template ac97; local
[all...]
H A Datiixp.c270 struct snd_ac97 *ac97[NUM_ATI_CODECS]; member in struct:atiixp
485 static unsigned short snd_atiixp_ac97_read(struct snd_ac97 *ac97, argument
488 struct atiixp *chip = ac97->private_data;
489 return snd_atiixp_codec_read(chip, ac97->num, reg);
493 static void snd_atiixp_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
496 struct atiixp *chip = ac97->private_data;
497 snd_atiixp_codec_write(chip, ac97->num, reg, val);
1316 if (chip->ac97[i])
1317 snd_ac97_update_bits(chip->ac97[i],
1374 * ac97 mixe
1403 struct snd_ac97_template ac97; local
[all...]
H A Dvia82xx.c392 struct snd_ac97 *ac97; member in struct:via82xx
550 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) argument
552 struct via82xx *chip = ac97->private_data;
554 err = snd_via82xx_codec_ready(chip, ac97->num);
560 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, argument
564 struct via82xx *chip = ac97->private_data;
567 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY;
572 snd_via82xx_codec_ready(chip, ac97->num);
575 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
577 struct via82xx *chip = ac97
1770 snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) argument
1861 struct snd_ac97_template ac97; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/pxa/
H A Dpxa2xx-ac97.c2 * linux/sound/pxa2xx-ac97.c -- AC97 support for the Intel PXA2xx chip.
23 #include <mach/regs-ac97.h>
28 #include "pxa2xx-ac97.h"
30 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) argument
32 pxa2xx_ac97_try_warm_reset(ac97);
34 pxa2xx_ac97_finish_reset(ac97);
37 static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97) argument
39 pxa2xx_ac97_try_cold_reset(ac97);
41 pxa2xx_ac97_finish_reset(ac97);
193 .name = "pxa2xx-ac97",
[all...]
H A DMakefile3 snd-soc-pxa2xx-ac97-objs := pxa2xx-ac97.o
8 obj-$(CONFIG_SND_PXA2XX_SOC_AC97) += snd-soc-pxa2xx-ac97.o
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/blackfin/
H A Dbf5xx-ac97.c2 * bf5xx-ac97.c -- AC97 support for the ADI blackfin chip.
33 #include "bf5xx-ac97.h"
141 static void enqueue_cmd(struct snd_ac97 *ac97, __u16 addr, __u16 data) argument
161 static unsigned short bf5xx_ac97_read(struct snd_ac97 *ac97, argument
185 void bf5xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
191 enqueue_cmd(ac97, (reg << 8), val); /* write */
192 enqueue_cmd(ac97, (reg << 8) | 0x8000, 0); /* read back */
204 static void bf5xx_ac97_warm_reset(struct snd_ac97 *ac97) argument
218 gpio_request(gpio, "bf5xx-ac97");
230 static void bf5xx_ac97_cold_reset(struct snd_ac97 *ac97) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/fsl/
H A Dmpc5200_psc_ac97.c2 * linux/sound/mpc5200-ac97.c -- AC97 support for the Freescale MPC52xx chip.
29 #define DRV_NAME "mpc5200-psc-ac97"
34 static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
45 pr_err("timeout on ac97 bus (rdy)\n");
60 pr_err("timeout on ac97 read (val) %x\n",
68 pr_err("reg echo error on ac97 read\n");
78 static void psc_ac97_write(struct snd_ac97 *ac97, argument
89 pr_err("timeout on ac97 bus (write)\n");
100 static void psc_ac97_warm_reset(struct snd_ac97 *ac97) argument
113 static void psc_ac97_cold_reset(struct snd_ac97 *ac97) argument
284 struct snd_ac97 ac97; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/drivers/
H A Dml403-ac97cr.c278 static void lm4550_regfile_write_values_after_init(struct snd_ac97 *ac97) argument
290 snd_ac97_write(ac97, i * 2, lm4550_regfile[i].value);
355 struct snd_ac97 *ac97; member in struct:snd_ml403_ac97cr
630 snd_ac97_set_rate(ml403_ac97cr->ac97, AC97_PCM_FRONT_DAC_RATE,
664 snd_ac97_set_rate(ml403_ac97cr->ac97, AC97_PCM_LR_ADC_RATE,
828 snd_ml403_ac97cr_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
830 struct snd_ml403_ac97cr *ml403_ac97cr = ac97->private_data;
949 snd_ml403_ac97cr_codec_write(struct snd_ac97 *ac97, unsigned short reg, argument
952 struct snd_ml403_ac97cr *ml403_ac97cr = ac97->private_data;
1195 static void snd_ml403_ac97cr_mixer_free(struct snd_ac97 *ac97) argument
1207 struct snd_ac97_template ac97; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/mips/
H A Dau1x00.c96 struct snd_ac97 *ac97; member in struct:snd_au1000
363 snd_ac97_set_rate(au1000->ac97, AC97_PCM_FRONT_DAC_RATE, runtime->rate);
377 snd_ac97_set_rate(au1000->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate);
493 snd_au1000_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
495 struct snd_au1000 *au1000 = ac97->private_data;
532 snd_au1000_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) argument
534 struct snd_au1000 *au1000 = ac97->private_data;
559 struct snd_ac97_template ac97; local
595 memset(&ac97, 0, sizeof(ac97));
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/s3c24xx/
H A Ds3c-ac97.c1 /* sound/soc/s3c24xx/s3c-ac97.c
4 * Evolved from s3c2443-ac97.c
23 #include <plat/regs-ac97.h>
28 #include "s3c-ac97.h"
68 static void s3c_ac97_activate(struct snd_ac97 *ac97) argument
95 static unsigned short s3c_ac97_read(struct snd_ac97 *ac97, argument
103 s3c_ac97_activate(ac97);
125 printk(KERN_ERR "s3c-ac97: req addr = %02x, rep addr = %02x\n", reg, addr);
132 static void s3c_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
139 s3c_ac97_activate(ac97);
163 s3c_ac97_cold_reset(struct snd_ac97 *ac97) argument
173 s3c_ac97_warm_reset(struct snd_ac97 *ac97) argument
[all...]
H A DMakefile6 snd-soc-s3c-ac97-objs := s3c-ac97.o
13 obj-$(CONFIG_SND_S3C_SOC_AC97) += snd-soc-s3c-ac97.o
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/sh/
H A Dhac.c159 static void hac_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
162 int unit_id = 0 /* ac97->private_data */;
187 static unsigned short hac_ac97_read(struct snd_ac97 *ac97, argument
190 int unit_id = 0 /* ac97->private_data */;
195 static void hac_ac97_warmrst(struct snd_ac97 *ac97) argument
197 int unit_id = 0 /* ac97->private_data */;
213 static void hac_ac97_coldrst(struct snd_ac97 *ac97) argument
215 int unit_id = 0 /* ac97->private_data */;
222 hac_ac97_warmrst(ac97);

Completed in 254 milliseconds

12345