Searched refs:codec (Results 126 - 150 of 1205) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/pci/hda/
H A Dpatch_cirrus.c114 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) argument
116 snd_hda_codec_write(codec, CS420X_VENDOR_NID, 0,
118 return snd_hda_codec_read(codec, CS420X_VENDOR_NID, 0,
122 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, argument
125 snd_hda_codec_write(codec, CS420X_VENDOR_NID, 0,
127 snd_hda_codec_write(codec, CS420X_VENDOR_NID, 0,
139 struct hda_codec *codec,
142 struct cs_spec *spec = codec->spec;
143 return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
148 struct hda_codec *codec,
138 cs_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument
147 cs_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument
158 cs_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument
169 cs_dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument
177 cs_dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument
185 cs_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument
196 cs_dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument
207 cs_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument
221 cs_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument
272 cs_build_pcms(struct hda_codec *codec) argument
318 get_dac(struct hda_codec *codec, hda_nid_t pin) argument
328 is_ext_mic(struct hda_codec *codec, unsigned int idx) argument
340 get_adc(struct hda_codec *codec, hda_nid_t pin, unsigned int *idxp) argument
369 is_active_pin(struct hda_codec *codec, hda_nid_t nid) argument
376 parse_output(struct hda_codec *codec) argument
421 parse_input(struct hda_codec *codec) argument
458 parse_digital_output(struct hda_codec *codec) argument
478 parse_digital_input(struct hda_codec *codec) argument
495 add_mute(struct hda_codec *codec, const char *name, int index, unsigned int pval, int dir, struct snd_kcontrol **kctlp) argument
508 add_volume(struct hda_codec *codec, const char *name, int index, unsigned int pval, int dir, struct snd_kcontrol **kctlp) argument
522 fix_volume_caps(struct hda_codec *codec, hda_nid_t dac) argument
534 add_vmaster(struct hda_codec *codec, hda_nid_t dac) argument
555 add_output(struct hda_codec *codec, hda_nid_t dac, int idx, int num_ctls, int type) argument
615 build_output(struct hda_codec *codec) argument
650 change_cur_input(struct hda_codec *codec, unsigned int idx, int force) argument
675 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
692 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
701 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local
720 make_bind_capture(struct hda_codec *codec, struct hda_ctl_ops *ops) argument
743 build_input(struct hda_codec *codec) argument
788 build_digital_output(struct hda_codec *codec) argument
805 build_digital_input(struct hda_codec *codec) argument
817 cs_automute(struct hda_codec *codec) argument
849 cs_automic(struct hda_codec *codec) argument
870 init_output(struct hda_codec *codec) argument
914 init_input(struct hda_codec *codec) argument
1006 init_digital(struct hda_codec *codec) argument
1020 cs_init(struct hda_codec *codec) argument
1044 cs_build_controls(struct hda_codec *codec) argument
1063 cs_free(struct hda_codec *codec) argument
1071 cs_unsol_event(struct hda_codec *codec, unsigned int res) argument
1091 cs_parse_auto_config(struct hda_codec *codec) argument
1166 fix_pincfg(struct hda_codec *codec, int model) argument
1176 patch_cs420x(struct hda_codec *codec) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/soc/codecs/
H A Dwm8731.c46 /* codec private data */
48 struct snd_soc_codec codec; member in struct:wm8731_priv
156 static int wm8731_add_widgets(struct snd_soc_codec *codec) argument
158 snd_soc_dapm_new_controls(codec, wm8731_dapm_widgets,
161 snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
175 /* codec mclk clock divider coefficients */
227 struct snd_soc_codec *codec = socdev->card->codec; local
228 struct wm8731_priv *wm8731 = snd_soc_codec_get_drvdata(codec);
229 u16 iface = snd_soc_read(codec, WM8731_IFAC
257 struct snd_soc_codec *codec = socdev->card->codec; local
270 struct snd_soc_codec *codec = socdev->card->codec; local
281 struct snd_soc_codec *codec = dai->codec; local
294 struct snd_soc_codec *codec = codec_dai->codec; local
313 struct snd_soc_codec *codec = codec_dai->codec; local
369 wm8731_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
454 struct snd_soc_codec *codec = socdev->card->codec; local
464 struct snd_soc_codec *codec = socdev->card->codec; local
478 struct snd_soc_codec *codec; local
529 struct snd_soc_codec *codec = &wm8731->codec; local
639 struct snd_soc_codec *codec; local
680 struct snd_soc_codec *codec; local
[all...]
H A Dwm9712.c2 * wm9712.c -- ALSA Soc WM9712 codec support
28 static unsigned int ac97_read(struct snd_soc_codec *codec,
30 static int ac97_write(struct snd_soc_codec *codec,
159 * the codec only has a single control that is shared by both channels.
167 l = ac97_read(w->codec, HPL_MIXER);
168 r = ac97_read(w->codec, HPR_MIXER);
169 beep = ac97_read(w->codec, AC97_PC_BEEP);
170 mic = ac97_read(w->codec, AC97_VIDEO);
171 phone = ac97_read(w->codec, AC97_PHONE);
172 line = ac97_read(w->codec, AC97_LIN
433 wm9712_add_widgets(struct snd_soc_codec *codec) argument
443 ac97_read(struct snd_soc_codec *codec, unsigned int reg) argument
462 ac97_write(struct snd_soc_codec *codec, unsigned int reg, unsigned int val) argument
482 struct snd_soc_codec *codec = socdev->card->codec; local
503 struct snd_soc_codec *codec = socdev->card->codec; local
560 wm9712_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
580 wm9712_reset(struct snd_soc_codec *codec, int try_warm) argument
604 struct snd_soc_codec *codec = socdev->card->codec; local
613 struct snd_soc_codec *codec = socdev->card->codec; local
641 struct snd_soc_codec *codec; local
716 struct snd_soc_codec *codec = socdev->card->codec; local
[all...]
H A Dak4671.c28 /* codec private data */
30 struct snd_soc_codec codec; member in struct:ak4671_priv
173 struct snd_soc_codec *codec = w->codec; local
178 reg = snd_soc_read(codec, AK4671_LOUT2_POWER_MANAGERMENT);
180 snd_soc_write(codec, AK4671_LOUT2_POWER_MANAGERMENT, reg);
183 reg = snd_soc_read(codec, AK4671_LOUT2_POWER_MANAGERMENT);
185 snd_soc_write(codec, AK4671_LOUT2_POWER_MANAGERMENT, reg);
438 static int ak4671_add_widgets(struct snd_soc_codec *codec) argument
440 snd_soc_dapm_new_controls(codec, ak4671_dapm_widget
452 struct snd_soc_codec *codec = dai->codec; local
498 struct snd_soc_codec *codec = dai->codec; local
543 struct snd_soc_codec *codec = dai->codec; local
588 ak4671_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
643 struct snd_soc_codec *codec; local
693 struct snd_soc_codec *codec = &ak4671->codec; local
760 struct snd_soc_codec *codec; local
[all...]
H A Dtwl6040.c2 * ALSA SoC TWL6040 codec driver
46 /* codec private data */
48 struct snd_soc_codec codec; member in struct:twl6040_data
170 static inline unsigned int twl6040_read_reg_cache(struct snd_soc_codec *codec, argument
173 u8 *cache = codec->reg_cache;
184 static inline void twl6040_write_reg_cache(struct snd_soc_codec *codec, argument
187 u8 *cache = codec->reg_cache;
197 static int twl6040_read_reg_volatile(struct snd_soc_codec *codec, argument
206 twl6040_write_reg_cache(codec, reg, value);
214 static int twl6040_write(struct snd_soc_codec *codec, argument
224 twl6040_init_vio_regs(struct snd_soc_codec *codec) argument
247 twl6040_init_vdd_regs(struct snd_soc_codec *codec) argument
259 twl6040_power_up(struct snd_soc_codec *codec) argument
303 twl6040_power_down(struct snd_soc_codec *codec) argument
341 headset_power_mode(struct snd_soc_codec *codec, int high_perf) argument
373 struct snd_soc_codec *codec = w->codec; local
389 struct snd_soc_codec *codec = data; local
643 twl6040_add_widgets(struct snd_soc_codec *codec) argument
655 twl6040_power_up_completion(struct snd_soc_codec *codec, int naudint) argument
679 twl6040_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
774 struct snd_soc_codec *codec = socdev->card->codec; local
807 struct snd_soc_codec *codec = socdev->card->codec; local
843 struct snd_soc_codec *codec = socdev->card->codec; local
870 struct snd_soc_codec *codec = codec_dai->codec; local
1005 struct snd_soc_codec *codec = socdev->card->codec; local
1015 struct snd_soc_codec *codec = socdev->card->codec; local
1031 struct snd_soc_codec *codec; local
1066 struct snd_soc_codec *codec = socdev->card->codec; local
1087 struct snd_soc_codec *codec; local
[all...]
H A Dwm8750.c52 /* codec private data */
55 struct snd_soc_codec codec; member in struct:wm8750_priv
400 static int wm8750_add_widgets(struct snd_soc_codec *codec) argument
402 snd_soc_dapm_new_controls(codec, wm8750_dapm_widgets,
405 snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
418 /* codec hifi mclk clock divider coefficients */
485 struct snd_soc_codec *codec = codec_dai->codec; local
486 struct wm8750_priv *wm8750 = snd_soc_codec_get_drvdata(codec);
503 struct snd_soc_codec *codec local
564 struct snd_soc_codec *codec = socdev->card->codec; local
596 struct snd_soc_codec *codec = dai->codec; local
606 wm8750_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
673 struct snd_soc_codec *codec = socdev->card->codec; local
682 struct snd_soc_codec *codec = socdev->card->codec; local
706 struct snd_soc_codec *codec; local
760 struct snd_soc_codec *codec = &wm8750->codec; local
862 struct snd_soc_codec *codec; local
906 struct snd_soc_codec *codec; local
[all...]
H A Dwm8753.c13 * The WM8753 is a low power, high quality stereo codec with integrated PCM
14 * codec designed for portable digital telephony applications.
23 * codec or GSM modem and thus cannot be read or written to, although it is
59 static void wm8753_set_dai_mode(struct snd_soc_codec *codec,
86 /* codec private data */
90 struct snd_soc_codec codec; member in struct:wm8753_priv
97 static inline unsigned int wm8753_read_reg_cache(struct snd_soc_codec *codec, argument
100 u16 *cache = codec->reg_cache;
109 static inline void wm8753_write_reg_cache(struct snd_soc_codec *codec, argument
112 u16 *cache = codec
121 wm8753_write(struct snd_soc_codec *codec, unsigned int reg, unsigned int value) argument
219 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local
229 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local
670 wm8753_add_widgets(struct snd_soc_codec *codec) argument
732 struct snd_soc_codec *codec = codec_dai->codec; local
853 struct snd_soc_codec *codec = codec_dai->codec; local
880 struct snd_soc_codec *codec = codec_dai->codec; local
916 struct snd_soc_codec *codec = socdev->card->codec; local
951 struct snd_soc_codec *codec = codec_dai->codec; local
1017 struct snd_soc_codec *codec = codec_dai->codec; local
1045 struct snd_soc_codec *codec = codec_dai->codec; local
1078 struct snd_soc_codec *codec = codec_dai->codec; local
1150 struct snd_soc_codec *codec = socdev->card->codec; local
1187 struct snd_soc_codec *codec = codec_dai->codec; local
1210 struct snd_soc_codec *codec = codec_dai->codec; local
1225 struct snd_soc_codec *codec = codec_dai->codec; local
1241 struct snd_soc_codec *codec = dai->codec; local
1260 wm8753_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
1460 wm8753_set_dai_mode(struct snd_soc_codec *codec, unsigned int mode) argument
1501 struct snd_soc_codec *codec = local
1509 struct snd_soc_codec *codec = socdev->card->codec; local
1518 struct snd_soc_codec *codec = socdev->card->codec; local
1555 struct snd_soc_codec *codec; local
1626 struct snd_soc_codec *codec = &wm8753->codec; local
1729 struct snd_soc_codec *codec; local
1797 struct snd_soc_codec *codec; local
[all...]
H A Dda7210.c2 * DA7210 ALSA Soc codec driver
151 struct snd_soc_codec codec; member in struct:da7210_priv
183 static inline u32 da7210_read_reg_cache(struct snd_soc_codec *codec, u32 reg) argument
185 u8 *cache = codec->reg_cache;
193 static int da7210_write(struct snd_soc_codec *codec, u32 reg, u32 value) argument
195 u8 *cache = codec->reg_cache;
198 BUG_ON(codec->volatile_register);
203 if (reg >= codec->reg_cache_size)
206 if (2 != codec->hw_write(codec
216 da7210_read(struct snd_soc_codec *codec, u32 reg) argument
228 struct snd_soc_codec *codec = dai->codec; local
257 struct snd_soc_codec *codec = socdev->card->codec; local
371 struct snd_soc_codec *codec = codec_dai->codec; local
441 struct snd_soc_codec *codec = &da7210->codec; local
570 struct snd_soc_codec *codec; local
625 struct snd_soc_codec *codec; local
[all...]
H A Dwm8523.c44 /* codec private data */
46 struct snd_soc_codec codec; member in struct:wm8523_priv
77 static int wm8523_reset(struct snd_soc_codec *codec) argument
79 return snd_soc_write(codec, WM8523_DEVICE_ID, 0);
114 static int wm8523_add_widgets(struct snd_soc_codec *codec) argument
116 snd_soc_dapm_new_controls(codec, wm8523_dapm_widgets,
119 snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
140 struct snd_soc_codec *codec = dai->codec; local
141 struct wm8523_priv *wm8523 = snd_soc_codec_get_drvdata(codec);
166 struct snd_soc_codec *codec = socdev->card->codec; local
213 struct snd_soc_codec *codec = codec_dai->codec; local
262 struct snd_soc_codec *codec = codec_dai->codec; local
318 wm8523_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
407 struct snd_soc_codec *codec = socdev->card->codec; local
416 struct snd_soc_codec *codec = socdev->card->codec; local
430 struct snd_soc_codec *codec; local
480 struct snd_soc_codec *codec = &wm8523->codec; local
611 struct snd_soc_codec *codec; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/soc/codecs/
H A Dwm8731.c46 /* codec private data */
48 struct snd_soc_codec codec; member in struct:wm8731_priv
156 static int wm8731_add_widgets(struct snd_soc_codec *codec) argument
158 snd_soc_dapm_new_controls(codec, wm8731_dapm_widgets,
161 snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
175 /* codec mclk clock divider coefficients */
227 struct snd_soc_codec *codec = socdev->card->codec; local
228 struct wm8731_priv *wm8731 = snd_soc_codec_get_drvdata(codec);
229 u16 iface = snd_soc_read(codec, WM8731_IFAC
257 struct snd_soc_codec *codec = socdev->card->codec; local
270 struct snd_soc_codec *codec = socdev->card->codec; local
281 struct snd_soc_codec *codec = dai->codec; local
294 struct snd_soc_codec *codec = codec_dai->codec; local
313 struct snd_soc_codec *codec = codec_dai->codec; local
369 wm8731_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
454 struct snd_soc_codec *codec = socdev->card->codec; local
464 struct snd_soc_codec *codec = socdev->card->codec; local
478 struct snd_soc_codec *codec; local
529 struct snd_soc_codec *codec = &wm8731->codec; local
639 struct snd_soc_codec *codec; local
680 struct snd_soc_codec *codec; local
[all...]
H A Dwm9712.c2 * wm9712.c -- ALSA Soc WM9712 codec support
28 static unsigned int ac97_read(struct snd_soc_codec *codec,
30 static int ac97_write(struct snd_soc_codec *codec,
159 * the codec only has a single control that is shared by both channels.
167 l = ac97_read(w->codec, HPL_MIXER);
168 r = ac97_read(w->codec, HPR_MIXER);
169 beep = ac97_read(w->codec, AC97_PC_BEEP);
170 mic = ac97_read(w->codec, AC97_VIDEO);
171 phone = ac97_read(w->codec, AC97_PHONE);
172 line = ac97_read(w->codec, AC97_LIN
433 wm9712_add_widgets(struct snd_soc_codec *codec) argument
443 ac97_read(struct snd_soc_codec *codec, unsigned int reg) argument
462 ac97_write(struct snd_soc_codec *codec, unsigned int reg, unsigned int val) argument
482 struct snd_soc_codec *codec = socdev->card->codec; local
503 struct snd_soc_codec *codec = socdev->card->codec; local
560 wm9712_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
580 wm9712_reset(struct snd_soc_codec *codec, int try_warm) argument
604 struct snd_soc_codec *codec = socdev->card->codec; local
613 struct snd_soc_codec *codec = socdev->card->codec; local
641 struct snd_soc_codec *codec; local
716 struct snd_soc_codec *codec = socdev->card->codec; local
[all...]
H A Dak4671.c28 /* codec private data */
30 struct snd_soc_codec codec; member in struct:ak4671_priv
173 struct snd_soc_codec *codec = w->codec; local
178 reg = snd_soc_read(codec, AK4671_LOUT2_POWER_MANAGERMENT);
180 snd_soc_write(codec, AK4671_LOUT2_POWER_MANAGERMENT, reg);
183 reg = snd_soc_read(codec, AK4671_LOUT2_POWER_MANAGERMENT);
185 snd_soc_write(codec, AK4671_LOUT2_POWER_MANAGERMENT, reg);
438 static int ak4671_add_widgets(struct snd_soc_codec *codec) argument
440 snd_soc_dapm_new_controls(codec, ak4671_dapm_widget
452 struct snd_soc_codec *codec = dai->codec; local
498 struct snd_soc_codec *codec = dai->codec; local
543 struct snd_soc_codec *codec = dai->codec; local
588 ak4671_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
643 struct snd_soc_codec *codec; local
693 struct snd_soc_codec *codec = &ak4671->codec; local
760 struct snd_soc_codec *codec; local
[all...]
H A Dtwl6040.c2 * ALSA SoC TWL6040 codec driver
46 /* codec private data */
48 struct snd_soc_codec codec; member in struct:twl6040_data
170 static inline unsigned int twl6040_read_reg_cache(struct snd_soc_codec *codec, argument
173 u8 *cache = codec->reg_cache;
184 static inline void twl6040_write_reg_cache(struct snd_soc_codec *codec, argument
187 u8 *cache = codec->reg_cache;
197 static int twl6040_read_reg_volatile(struct snd_soc_codec *codec, argument
206 twl6040_write_reg_cache(codec, reg, value);
214 static int twl6040_write(struct snd_soc_codec *codec, argument
224 twl6040_init_vio_regs(struct snd_soc_codec *codec) argument
247 twl6040_init_vdd_regs(struct snd_soc_codec *codec) argument
259 twl6040_power_up(struct snd_soc_codec *codec) argument
303 twl6040_power_down(struct snd_soc_codec *codec) argument
341 headset_power_mode(struct snd_soc_codec *codec, int high_perf) argument
373 struct snd_soc_codec *codec = w->codec; local
389 struct snd_soc_codec *codec = data; local
643 twl6040_add_widgets(struct snd_soc_codec *codec) argument
655 twl6040_power_up_completion(struct snd_soc_codec *codec, int naudint) argument
679 twl6040_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
774 struct snd_soc_codec *codec = socdev->card->codec; local
807 struct snd_soc_codec *codec = socdev->card->codec; local
843 struct snd_soc_codec *codec = socdev->card->codec; local
870 struct snd_soc_codec *codec = codec_dai->codec; local
1005 struct snd_soc_codec *codec = socdev->card->codec; local
1015 struct snd_soc_codec *codec = socdev->card->codec; local
1031 struct snd_soc_codec *codec; local
1066 struct snd_soc_codec *codec = socdev->card->codec; local
1087 struct snd_soc_codec *codec; local
[all...]
H A Dwm8750.c52 /* codec private data */
55 struct snd_soc_codec codec; member in struct:wm8750_priv
400 static int wm8750_add_widgets(struct snd_soc_codec *codec) argument
402 snd_soc_dapm_new_controls(codec, wm8750_dapm_widgets,
405 snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
418 /* codec hifi mclk clock divider coefficients */
485 struct snd_soc_codec *codec = codec_dai->codec; local
486 struct wm8750_priv *wm8750 = snd_soc_codec_get_drvdata(codec);
503 struct snd_soc_codec *codec local
564 struct snd_soc_codec *codec = socdev->card->codec; local
596 struct snd_soc_codec *codec = dai->codec; local
606 wm8750_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
673 struct snd_soc_codec *codec = socdev->card->codec; local
682 struct snd_soc_codec *codec = socdev->card->codec; local
706 struct snd_soc_codec *codec; local
760 struct snd_soc_codec *codec = &wm8750->codec; local
862 struct snd_soc_codec *codec; local
906 struct snd_soc_codec *codec; local
[all...]
H A Dwm8753.c13 * The WM8753 is a low power, high quality stereo codec with integrated PCM
14 * codec designed for portable digital telephony applications.
23 * codec or GSM modem and thus cannot be read or written to, although it is
59 static void wm8753_set_dai_mode(struct snd_soc_codec *codec,
86 /* codec private data */
90 struct snd_soc_codec codec; member in struct:wm8753_priv
97 static inline unsigned int wm8753_read_reg_cache(struct snd_soc_codec *codec, argument
100 u16 *cache = codec->reg_cache;
109 static inline void wm8753_write_reg_cache(struct snd_soc_codec *codec, argument
112 u16 *cache = codec
121 wm8753_write(struct snd_soc_codec *codec, unsigned int reg, unsigned int value) argument
219 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local
229 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local
670 wm8753_add_widgets(struct snd_soc_codec *codec) argument
732 struct snd_soc_codec *codec = codec_dai->codec; local
853 struct snd_soc_codec *codec = codec_dai->codec; local
880 struct snd_soc_codec *codec = codec_dai->codec; local
916 struct snd_soc_codec *codec = socdev->card->codec; local
951 struct snd_soc_codec *codec = codec_dai->codec; local
1017 struct snd_soc_codec *codec = codec_dai->codec; local
1045 struct snd_soc_codec *codec = codec_dai->codec; local
1078 struct snd_soc_codec *codec = codec_dai->codec; local
1150 struct snd_soc_codec *codec = socdev->card->codec; local
1187 struct snd_soc_codec *codec = codec_dai->codec; local
1210 struct snd_soc_codec *codec = codec_dai->codec; local
1225 struct snd_soc_codec *codec = codec_dai->codec; local
1241 struct snd_soc_codec *codec = dai->codec; local
1260 wm8753_set_bias_level(struct snd_soc_codec *codec, enum snd_soc_bias_level level) argument
1460 wm8753_set_dai_mode(struct snd_soc_codec *codec, unsigned int mode) argument
1501 struct snd_soc_codec *codec = local
1509 struct snd_soc_codec *codec = socdev->card->codec; local
1518 struct snd_soc_codec *codec = socdev->card->codec; local
1555 struct snd_soc_codec *codec; local
1626 struct snd_soc_codec *codec = &wm8753->codec; local
1729 struct snd_soc_codec *codec; local
1797 struct snd_soc_codec *codec; local
[all...]
H A Dda7210.c2 * DA7210 ALSA Soc codec driver
151 struct snd_soc_codec codec; member in struct:da7210_priv
183 static inline u32 da7210_read_reg_cache(struct snd_soc_codec *codec, u32 reg) argument
185 u8 *cache = codec->reg_cache;
193 static int da7210_write(struct snd_soc_codec *codec, u32 reg, u32 value) argument
195 u8 *cache = codec->reg_cache;
198 BUG_ON(codec->volatile_register);
203 if (reg >= codec->reg_cache_size)
206 if (2 != codec->hw_write(codec
216 da7210_read(struct snd_soc_codec *codec, u32 reg) argument
228 struct snd_soc_codec *codec = dai->codec; local
257 struct snd_soc_codec *codec = socdev->card->codec; local
371 struct snd_soc_codec *codec = codec_dai->codec; local
441 struct snd_soc_codec *codec = &da7210->codec; local
570 struct snd_soc_codec *codec; local
625 struct snd_soc_codec *codec; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/pci/ali5451/
H A Dali5451.c168 #define ALI_REG(codec, x) ((codec)->port + x)
207 struct snd_ali *codec; member in struct:snd_ali_voice
293 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, argument
296 return (unsigned int)inl(ALI_REG(codec, port));
299 static inline void snd_ali_5451_poke(struct snd_ali *codec, argument
303 outl((unsigned int)val, ALI_REG(codec, port));
306 static int snd_ali_codec_ready(struct snd_ali *codec, argument
315 res = snd_ali_5451_peek(codec,port);
323 snd_ali_5451_poke(codec, por
328 snd_ali_stimer_ready(struct snd_ali *codec) argument
349 snd_ali_codec_poke(struct snd_ali *codec,int secondary, unsigned short reg, unsigned short val) argument
380 snd_ali_codec_peek(struct snd_ali *codec, int secondary, unsigned short reg) argument
418 struct snd_ali *codec = ac97->private_data; local
434 struct snd_ali *codec = ac97->private_data; local
444 snd_ali_reset_5451(struct snd_ali *codec) argument
485 snd_ali_enable_special_channel(struct snd_ali *codec, unsigned int channel) argument
495 snd_ali_disable_special_channel(struct snd_ali *codec, unsigned int channel) argument
505 snd_ali_enable_address_interrupt(struct snd_ali *codec) argument
515 snd_ali_disable_address_interrupt(struct snd_ali *codec) argument
525 snd_ali_disable_voice_irq(struct snd_ali *codec, unsigned int channel) argument
539 snd_ali_alloc_pcm_channel(struct snd_ali *codec, int channel) argument
558 snd_ali_find_free_channel(struct snd_ali * codec, int rec) argument
606 snd_ali_free_channel_pcm(struct snd_ali *codec, int channel) argument
625 snd_ali_stop_voice(struct snd_ali *codec, unsigned int channel) argument
637 snd_ali_delay(struct snd_ali *codec,int interval) argument
652 snd_ali_detect_spdif_rate(struct snd_ali *codec) argument
708 snd_ali_get_spdif_in_rate(struct snd_ali *codec) argument
733 snd_ali_enable_spdif_in(struct snd_ali *codec) argument
748 snd_ali_disable_spdif_in(struct snd_ali *codec) argument
760 snd_ali_set_spdif_out_rate(struct snd_ali *codec, unsigned int rate) argument
783 snd_ali_enable_spdif_out(struct snd_ali *codec) argument
816 snd_ali_enable_spdif_chnout(struct snd_ali *codec) argument
834 snd_ali_disable_spdif_chnout(struct snd_ali *codec) argument
845 snd_ali_disable_spdif_out(struct snd_ali *codec) argument
855 snd_ali_update_ptr(struct snd_ali *codec, int channel) argument
913 struct snd_ali *codec = dev_id; local
939 snd_ali_alloc_voice(struct snd_ali * codec, int type, int rec, int channel) argument
969 snd_ali_free_voice(struct snd_ali * codec, struct snd_ali_voice *pvoice) argument
994 snd_ali_clear_voices(struct snd_ali *codec, unsigned int v_min, unsigned int v_max) argument
1006 snd_ali_write_voice_regs(struct snd_ali *codec, unsigned int Channel, unsigned int LBA, unsigned int CSO, unsigned int ESO, unsigned int DELTA, unsigned int ALPHA_FMS, unsigned int GVSEL, unsigned int PAN, unsigned int VOL, unsigned int CTRL, unsigned int EC) argument
1101 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1167 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1203 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1230 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1322 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1410 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1431 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1499 struct snd_ali *codec; local
1510 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1547 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1676 struct snd_ali *codec = pcm->private_data; local
1681 snd_ali_pcm(struct snd_ali * codec, int device, struct ali_pcm_description *desc) argument
1730 snd_ali_build_pcms(struct snd_ali *codec) argument
1752 struct snd_ali *codec = kcontrol->private_data; local
1780 struct snd_ali *codec = kcontrol->private_data; local
1844 snd_ali_mixer(struct snd_ali * codec) argument
1986 snd_ali_free(struct snd_ali * codec) argument
2004 snd_ali_chip_init(struct snd_ali *codec) argument
2068 struct snd_ali *codec = entry->private_data; local
2074 snd_ali_proc_init(struct snd_ali *codec) argument
2081 snd_ali_resources(struct snd_ali *codec) argument
2102 struct snd_ali *codec = device->device_data; local
2113 struct snd_ali *codec; local
2245 struct snd_ali *codec; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/pci/ali5451/
H A Dali5451.c168 #define ALI_REG(codec, x) ((codec)->port + x)
207 struct snd_ali *codec; member in struct:snd_ali_voice
293 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, argument
296 return (unsigned int)inl(ALI_REG(codec, port));
299 static inline void snd_ali_5451_poke(struct snd_ali *codec, argument
303 outl((unsigned int)val, ALI_REG(codec, port));
306 static int snd_ali_codec_ready(struct snd_ali *codec, argument
315 res = snd_ali_5451_peek(codec,port);
323 snd_ali_5451_poke(codec, por
328 snd_ali_stimer_ready(struct snd_ali *codec) argument
349 snd_ali_codec_poke(struct snd_ali *codec,int secondary, unsigned short reg, unsigned short val) argument
380 snd_ali_codec_peek(struct snd_ali *codec, int secondary, unsigned short reg) argument
418 struct snd_ali *codec = ac97->private_data; local
434 struct snd_ali *codec = ac97->private_data; local
444 snd_ali_reset_5451(struct snd_ali *codec) argument
485 snd_ali_enable_special_channel(struct snd_ali *codec, unsigned int channel) argument
495 snd_ali_disable_special_channel(struct snd_ali *codec, unsigned int channel) argument
505 snd_ali_enable_address_interrupt(struct snd_ali *codec) argument
515 snd_ali_disable_address_interrupt(struct snd_ali *codec) argument
525 snd_ali_disable_voice_irq(struct snd_ali *codec, unsigned int channel) argument
539 snd_ali_alloc_pcm_channel(struct snd_ali *codec, int channel) argument
558 snd_ali_find_free_channel(struct snd_ali * codec, int rec) argument
606 snd_ali_free_channel_pcm(struct snd_ali *codec, int channel) argument
625 snd_ali_stop_voice(struct snd_ali *codec, unsigned int channel) argument
637 snd_ali_delay(struct snd_ali *codec,int interval) argument
652 snd_ali_detect_spdif_rate(struct snd_ali *codec) argument
708 snd_ali_get_spdif_in_rate(struct snd_ali *codec) argument
733 snd_ali_enable_spdif_in(struct snd_ali *codec) argument
748 snd_ali_disable_spdif_in(struct snd_ali *codec) argument
760 snd_ali_set_spdif_out_rate(struct snd_ali *codec, unsigned int rate) argument
783 snd_ali_enable_spdif_out(struct snd_ali *codec) argument
816 snd_ali_enable_spdif_chnout(struct snd_ali *codec) argument
834 snd_ali_disable_spdif_chnout(struct snd_ali *codec) argument
845 snd_ali_disable_spdif_out(struct snd_ali *codec) argument
855 snd_ali_update_ptr(struct snd_ali *codec, int channel) argument
913 struct snd_ali *codec = dev_id; local
939 snd_ali_alloc_voice(struct snd_ali * codec, int type, int rec, int channel) argument
969 snd_ali_free_voice(struct snd_ali * codec, struct snd_ali_voice *pvoice) argument
994 snd_ali_clear_voices(struct snd_ali *codec, unsigned int v_min, unsigned int v_max) argument
1006 snd_ali_write_voice_regs(struct snd_ali *codec, unsigned int Channel, unsigned int LBA, unsigned int CSO, unsigned int ESO, unsigned int DELTA, unsigned int ALPHA_FMS, unsigned int GVSEL, unsigned int PAN, unsigned int VOL, unsigned int CTRL, unsigned int EC) argument
1101 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1167 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1203 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1230 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1322 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1410 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1431 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1499 struct snd_ali *codec; local
1510 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1547 struct snd_ali *codec = snd_pcm_substream_chip(substream); local
1676 struct snd_ali *codec = pcm->private_data; local
1681 snd_ali_pcm(struct snd_ali * codec, int device, struct ali_pcm_description *desc) argument
1730 snd_ali_build_pcms(struct snd_ali *codec) argument
1752 struct snd_ali *codec = kcontrol->private_data; local
1780 struct snd_ali *codec = kcontrol->private_data; local
1844 snd_ali_mixer(struct snd_ali * codec) argument
1986 snd_ali_free(struct snd_ali * codec) argument
2004 snd_ali_chip_init(struct snd_ali *codec) argument
2068 struct snd_ali *codec = entry->private_data; local
2074 snd_ali_proc_init(struct snd_ali *codec) argument
2081 snd_ali_resources(struct snd_ali *codec) argument
2102 struct snd_ali *codec = device->device_data; local
2113 struct snd_ali *codec; local
2245 struct snd_ali *codec; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/
H A Dsoxdec.c56 st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
59 st->codec->codec_id = CODEC_ID_PCM_S32LE;
63 st->codec->channels = get_le32(pb);
66 st->codec->codec_id = CODEC_ID_PCM_S32BE;
70 st->codec->channels = get_be32(pb);
91 || st->codec->channels > 65535) /* Reserve top 16 bits */ {
110 st->codec->sample_rate = sample_rate;
111 st->codec->bits_per_coded_sample = 32;
112 st->codec->bit_rate = st->codec
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavformat/
H A Dsoxdec.c56 st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
59 st->codec->codec_id = CODEC_ID_PCM_S32LE;
63 st->codec->channels = get_le32(pb);
66 st->codec->codec_id = CODEC_ID_PCM_S32BE;
70 st->codec->channels = get_be32(pb);
91 || st->codec->channels > 65535) /* Reserve top 16 bits */ {
110 st->codec->sample_rate = sample_rate;
111 st->codec->bits_per_coded_sample = 32;
112 st->codec->bit_rate = st->codec
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavformat/
H A Dsoxdec.c56 st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
59 st->codec->codec_id = CODEC_ID_PCM_S32LE;
63 st->codec->channels = get_le32(pb);
66 st->codec->codec_id = CODEC_ID_PCM_S32BE;
70 st->codec->channels = get_be32(pb);
91 || st->codec->channels > 65535) /* Reserve top 16 bits */ {
110 st->codec->sample_rate = sample_rate;
111 st->codec->bits_per_coded_sample = 32;
112 st->codec->bit_rate = st->codec
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mfd/
H A Dtwl4030-codec.c2 * MFD driver for twl4030 codec submodule
32 #include <linux/mfd/twl4030-codec.h>
57 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
61 codec->resource[id].reg);
64 val |= codec->resource[id].mask;
66 val &= ~codec->resource[id].mask;
69 val, codec->resource[id].reg);
76 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
80 codec->resource[id].reg);
91 struct twl4030_codec *codec local
120 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
152 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
160 struct twl4030_codec *codec; local
242 struct twl4030_codec *codec = platform_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mfd/
H A Dtwl4030-codec.c2 * MFD driver for twl4030 codec submodule
32 #include <linux/mfd/twl4030-codec.h>
57 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
61 codec->resource[id].reg);
64 val |= codec->resource[id].mask;
66 val &= ~codec->resource[id].mask;
69 val, codec->resource[id].reg);
76 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
80 codec->resource[id].reg);
91 struct twl4030_codec *codec local
120 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
152 struct twl4030_codec *codec = platform_get_drvdata(twl4030_codec_dev); local
160 struct twl4030_codec *codec; local
242 struct twl4030_codec *codec = platform_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/soc/s3c24xx/
H A Dneo1973_wm8753.c101 /* set codec DAI configuration */
115 /* set the codec system clock for DAC and ADC */
127 /* set codec BCLK division for sample rate */
138 /* codec PLL input is PCLK/4 */
187 /* set codec DAI configuration */
193 /* set the codec system clock for DAC and ADC */
199 /* set codec PCM division for sample rate */
238 static int set_scenario_endpoints(struct snd_soc_codec *codec, int scenario) argument
244 snd_soc_dapm_disable_pin(codec, "Audio Out");
245 snd_soc_dapm_disable_pin(codec, "GS
322 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local
502 neo1973_wm8753_init(struct snd_soc_codec *codec) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/soc/s3c24xx/
H A Dneo1973_wm8753.c101 /* set codec DAI configuration */
115 /* set the codec system clock for DAC and ADC */
127 /* set codec BCLK division for sample rate */
138 /* codec PLL input is PCLK/4 */
187 /* set codec DAI configuration */
193 /* set the codec system clock for DAC and ADC */
199 /* set codec PCM division for sample rate */
238 static int set_scenario_endpoints(struct snd_soc_codec *codec, int scenario) argument
244 snd_soc_dapm_disable_pin(codec, "Audio Out");
245 snd_soc_dapm_disable_pin(codec, "GS
322 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local
502 neo1973_wm8753_init(struct snd_soc_codec *codec) argument
[all...]

Completed in 320 milliseconds

1234567891011>>