Searched refs:ac97 (Results 51 - 75 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_pcm.c99 runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_FRONT_DAC];
275 snd_ac97_update_power(cs5535au->ac97,
278 snd_ac97_update_power(cs5535au->ac97,
289 return snd_ac97_set_rate(cs5535au->ac97, AC97_PCM_FRONT_DAC_RATE,
358 runtime->hw.rates = cs5535au->ac97->rates[AC97_RATES_ADC];
365 olpc_capture_open(cs5535au->ac97);
372 olpc_capture_close(cs5535au->ac97);
379 return snd_ac97_set_rate(cs5535au->ac97, AC97_PCM_LR_ADC_RATE,
H A Dcs5535audio_pm.c41 ac97 powerdown hits:
66 snd_ac97_suspend(cs5535au->ac97);
130 /* we depend on ac97 to perform the codec power up */
131 snd_ac97_resume(cs5535au->ac97);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/
H A Dad1889.c51 #include "ac97/ac97_id.h"
97 struct snd_ac97 *ac97; member in struct:snd_ad1889
244 snd_ad1889_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
246 struct snd_ad1889 *chip = ac97->private_data;
251 snd_ad1889_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) argument
253 struct snd_ad1889 *chip = ac97->private_data;
801 snd_ad1889_ac97_free(struct snd_ac97 *ac97) argument
803 struct snd_ad1889 *chip = ac97->private_data;
804 chip->ac97 = NULL;
811 struct snd_ac97_template ac97; local
[all...]
H A Dfm801.c184 struct snd_ac97 *ac97; member in struct:fm801
237 static void snd_fm801_codec_write(struct snd_ac97 *ac97, argument
241 struct fm801 *chip = ac97->private_data;
258 outw(reg | (ac97->addr << FM801_AC97_ADDR_SHIFT), FM801_REG(chip, AC97_CMD));
267 snd_printk(KERN_ERR "AC'97 interface #%d is busy (2)\n", ac97->num);
270 static unsigned short snd_fm801_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
272 struct fm801 *chip = ac97->private_data;
288 outw(reg | (ac97->addr << FM801_AC97_ADDR_SHIFT) | FM801_AC97_READ,
295 snd_printk(KERN_ERR "AC'97 interface #%d is busy (2)\n", ac97->num);
304 snd_printk(KERN_ERR "AC'97 interface #%d is not valid (2)\n", ac97
1224 snd_fm801_mixer_free_ac97(struct snd_ac97 *ac97) argument
1236 struct snd_ac97_template ac97; local
[all...]
H A Dals300.c130 struct snd_ac97 *ac97; member in struct:snd_als300
280 static unsigned short snd_als300_ac97_read(struct snd_ac97 *ac97, argument
284 struct snd_als300 *chip = ac97->private_data;
301 static void snd_als300_ac97_write(struct snd_ac97 *ac97, argument
305 struct snd_als300 *chip = ac97->private_data;
318 struct snd_ac97_template ac97; local
329 memset(&ac97, 0, sizeof(ac97));
330 ac97.private_data = chip;
333 return snd_ac97_mixer(bus, &ac97,
[all...]
H A Dcs4281.c463 struct snd_ac97 *ac97; member in struct:cs4281
525 static void snd_cs4281_ac97_write(struct snd_ac97 *ac97, argument
535 struct cs4281 *chip = ac97->private_data;
553 BA0_ACCTL_ESYN | (ac97->num ? BA0_ACCTL_TC : 0));
570 static unsigned short snd_cs4281_ac97_read(struct snd_ac97 *ac97, argument
573 struct cs4281 *chip = ac97->private_data;
577 volatile int ac97_num = ((volatile struct snd_ac97 *)ac97)->num;
1086 static void snd_cs4281_mixer_free_ac97(struct snd_ac97 *ac97) argument
1088 struct cs4281 *chip = ac97->private_data;
1089 if (ac97
1098 struct snd_ac97_template ac97; local
[all...]
H A Dintel8x0.c248 ICH_REG_ALI_CPR_ADDR = 0x22, /* ac97 addr write */
250 ICH_REG_ALI_SPR_ADDR = 0x26, /* ac97 addr read */
397 unsigned in_measurement: 1; /* during ac97 clock measurement */
407 struct snd_ac97 *ac97[3]; member in struct:intel8x0
536 /* access to some forbidden (non existant) ac97 registers will not
546 static void snd_intel8x0_codec_write(struct snd_ac97 *ac97, argument
550 struct intel8x0 *chip = ac97->private_data;
552 if (snd_intel8x0_codec_semaphore(chip, ac97->num) < 0) {
554 snd_printk(KERN_ERR "codec_write %d: semaphore is not ready for register 0x%x\n", ac97->num, reg);
556 iaputword(chip, reg + ac97
559 snd_intel8x0_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
627 snd_intel8x0_ali_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
645 snd_intel8x0_ali_codec_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) argument
1590 snd_intel8x0_mixer_free_ac97(struct snd_ac97 *ac97) argument
2056 struct snd_ac97_template ac97; local
[all...]
H A Dens1370.c398 struct snd_ac97 *ac97; member in struct:ensoniq::__anon19175::__anon19176
595 static void snd_es1371_codec_write(struct snd_ac97 *ac97, argument
598 struct ensoniq *ensoniq = ac97->private_data;
635 static unsigned short snd_es1371_codec_read(struct snd_ac97 *ac97, argument
638 struct ensoniq *ensoniq = ac97->private_data;
696 static void snd_es1371_codec_wait(struct snd_ac97 *ac97) argument
699 snd_es1371_codec_read(ac97, AC97_RESET);
700 snd_es1371_codec_read(ac97, AC97_VENDOR_ID1);
701 snd_es1371_codec_read(ac97, AC97_VENDOR_ID2);
1563 static void snd_ensoniq_mixer_free_ac97(struct snd_ac97 *ac97) argument
1608 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/blackfin/
H A Dbf5xx-ac97.h2 * sound/soc/blackfin/bf5xx-ac97.h
13 extern struct snd_ac97 *ac97;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/codecs/
H A Dad1980.c117 return soc_ac97_ops.read(codec->ac97, reg);
133 soc_ac97_ops.write(codec->ac97, reg, val);
165 soc_ac97_ops.warm_reset(codec->ac97);
170 soc_ac97_ops.reset(codec->ac97);
H A Dwm9705.c222 return soc_ac97_ops.read(codec->ac97, reg);
238 soc_ac97_ops.write(codec->ac97, reg, val);
312 soc_ac97_ops.reset(codec->ac97);
326 soc_ac97_ops.write(codec->ac97, AC97_POWERDOWN, 0xffff);
345 soc_ac97_ops.write(codec->ac97, i, cache[i>>1]);
H A Dwm9712.c451 return soc_ac97_ops.read(codec->ac97, reg);
468 soc_ac97_ops.write(codec->ac97, reg, val);
583 soc_ac97_ops.warm_reset(codec->ac97);
588 soc_ac97_ops.reset(codec->ac97);
590 soc_ac97_ops.warm_reset(codec->ac97);
631 soc_ac97_ops.write(codec->ac97, i, cache[i>>1]);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/nm256/
H A Dnm256.c232 int mixer_base; /* register offset of ac97 mixer */
244 struct snd_ac97 *ac97; member in struct:nm256
1210 snd_nm256_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
1212 struct nm256 *chip = ac97->private_data;
1223 snd_nm256_ac97_write(struct snd_ac97 *ac97, argument
1226 struct nm256 *chip = ac97->private_data;
1248 snd_printd("nm256: ac97 codec not ready..\n");
1268 /* initialize the ac97 into a known state */
1270 snd_nm256_ac97_reset(struct snd_ac97 *ac97) argument
1272 struct nm256 *chip = ac97
1302 struct snd_ac97_template ac97; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/touchscreen/
H A Dzylonite-wm97xx.c32 #include <mach/regs-ac97.h>
72 * Touch screen readback data ac97 slot
148 if (wm->ac97 == NULL)
H A Dwm97xx-core.c90 if (wm->ac97)
91 return wm->ac97->bus->ops->read(wm->ac97, reg);
111 if (wm->ac97)
112 wm->ac97->bus->ops->write(wm->ac97, reg, val);
575 wm->ac97 = to_ac97_t(dev);
734 wm->ac97->bus->ops->write(wm->ac97, AC97_WM97XX_DIGITISER2, reg);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/imx/
H A Dimx-ssi.h209 void (*ac97_reset) (struct snd_ac97 *ac97);
210 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
H A Dimx-ssi.c339 /* rx/tx are always enabled to access ac97 registers */
514 static void imx_ssi_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
537 static unsigned short imx_ssi_ac97_read(struct snd_ac97 *ac97, argument
559 static void imx_ssi_ac97_reset(struct snd_ac97 *ac97) argument
564 imx_ssi->ac97_reset(ac97);
567 static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97) argument
572 imx_ssi->ac97_warm_reset(ac97);
771 MODULE_DESCRIPTION("i.MX I2S/ac97 SoC Interface");
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/
H A Dsoc-core.c287 /* unregister ac97 codec */
290 if (codec->ac97->dev.bus)
291 device_unregister(&codec->ac97->dev);
298 /* register ac97 codec to bus */
303 codec->ac97->dev.bus = &ac97_bus_type;
304 codec->ac97->dev.parent = codec->card->dev;
305 codec->ac97->dev.release = soc_ac97_device_release;
307 dev_set_name(&codec->ac97->dev, "%d-%d:%s",
309 err = device_register(&codec->ac97->dev);
311 snd_printk(KERN_ERR "Can't register ac97 bu
1136 int i, found, ret, ac97; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/cs46xx/
H A Dcs46xx_lib.c204 static unsigned short snd_cs46xx_ac97_read(struct snd_ac97 * ac97, argument
207 struct snd_cs46xx *chip = ac97->private_data;
209 int codec_index = ac97->num;
286 static void snd_cs46xx_ac97_write(struct snd_ac97 *ac97, argument
290 struct snd_cs46xx *chip = ac97->private_data;
291 int codec_index = ac97->num;
1716 static void snd_cs46xx_mixer_free_ac97(struct snd_ac97 *ac97) argument
1718 struct snd_cs46xx *chip = ac97->private_data;
1720 if (snd_BUG_ON(ac97 != chip->ac97[CS46XX_PRIMARY_CODEC_INDE
2189 snd_cs46xx_codec_reset(struct snd_ac97 * ac97) argument
2241 struct snd_ac97_template ac97; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/ca0106/
H A Dca0106_main.c205 .ac97 = 1 } ,
209 .ac97 = 1 } ,
1099 static unsigned short snd_ca0106_ac97_read(struct snd_ac97 *ac97, argument
1102 struct snd_ca0106 *emu = ac97->private_data;
1113 static void snd_ca0106_ac97_write(struct snd_ac97 *ac97, argument
1116 struct snd_ca0106 *emu = ac97->private_data;
1128 struct snd_ac97_template ac97; local
1139 memset(&ac97, 0, sizeof(ac97));
1140 ac97
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/emu10k1/
H A Demumixer.c1558 val = snd_ac97_read(emu->ac97, AC97_REC_GAIN);
1573 return snd_ac97_update(emu->ac97, AC97_REC_GAIN, val);
1588 static void snd_emu10k1_mixer_free_ac97(struct snd_ac97 *ac97) argument
1590 struct snd_emu10k1 *emu = ac97->private_data;
1591 emu->ac97 = NULL;
1654 /* Master/PCM controls on ac97 of Audigy has no effect */
1746 struct snd_ac97_template ac97; local
1756 memset(&ac97, 0, sizeof(ac97));
1757 ac97
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/em28xx/
H A Dem28xx-core.c243 * Checks if ac97 is ready
395 switch (dev->audio_mode.ac97) {
424 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) {
447 if (dev->audio_mode.ac97 != EM28XX_NO_AC97) {
528 dev->audio_mode.ac97 = EM28XX_NO_AC97;
532 dev->audio_mode.ac97 = EM28XX_AC97_OTHER;
542 dev->audio_mode.ac97 = EM28XX_NO_AC97;
566 dev->audio_mode.ac97 = EM28XX_AC97_EM202;
568 dev->audio_mode.ac97 = EM28XX_AC97_SIGMATEL;
572 switch (dev->audio_mode.ac97) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/arm/
H A Daaci.h233 struct snd_ac97 *ac97; member in struct:aaci
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/au1x/
H A Dpsc-ac97.c60 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, argument
101 static void au1xpsc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
133 static void au1xpsc_ac97_warm_reset(struct snd_ac97 *ac97) argument
144 static void au1xpsc_ac97_cold_reset(struct snd_ac97 *ac97) argument
172 printk(KERN_ERR "au1xpsc-ac97: PSC not ready!\n");
176 /* enable the ac97 function */
185 printk(KERN_ERR "au1xpsc-ac97: AC97 ctrl not ready\n");
237 /* ac97 engine is about to be disabled */
379 /* configuration: max dma trigger threshold, enable ac97 */
460 /* after this point the ac97 cor
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/nuc900/
H A Dnuc900-ac97.c44 static unsigned short nuc900_ac97_read(struct snd_ac97 *ac97, argument
97 static void nuc900_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
138 static void nuc900_ac97_warm_reset(struct snd_ac97 *ac97) argument
159 static void nuc900_ac97_cold_reset(struct snd_ac97 *ac97) argument
301 .name = "nuc900-ac97",
374 mfp_set_groupg(nuc900_audio->dev); /* enbale ac97 multifunction pin*/
430 MODULE_ALIAS("platform:nuc900-ac97");

Completed in 321 milliseconds

12345