• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/hda/

Lines Matching refs:hda_codec

28 #include "hda_codec.h"
92 static void hda_keep_power_on(struct hda_codec *codec);
94 static inline void hda_keep_power_on(struct hda_codec *codec) {}
171 make_codec_cmd(struct hda_codec *codec, hda_nid_t nid, int direct,
194 static int codec_exec_verb(struct hda_codec *codec, unsigned int cmd,
215 snd_printd("hda_codec: resetting BUS due to "
239 unsigned int snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid,
262 int snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int direct,
280 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq)
296 int snd_hda_get_sub_nodes(struct hda_codec *codec, hda_nid_t nid,
321 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid,
336 snd_printk(KERN_WARNING "hda_codec: "
383 snd_printk(KERN_WARNING "hda_codec: "
392 snd_printk(KERN_WARNING "hda_codec: "
399 snd_printk(KERN_ERR "hda_codec: "
408 snd_printk(KERN_ERR "hda_codec: "
464 struct hda_codec *codec;
493 snd_printk(KERN_ERR "hda_codec: "
506 static void snd_hda_codec_free(struct hda_codec *codec);
510 struct hda_codec *codec, *n;
540 struct hda_codec *codec;
633 find_codec_preset(struct hda_codec *codec)
646 snd_printk(KERN_ERR "hda_codec: cannot module_get\n");
687 static int get_codec_name(struct hda_codec *codec)
729 static void /*__devinit*/ setup_fg_nodes(struct hda_codec *codec)
758 static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node)
776 static int read_pin_defaults(struct hda_codec *codec)
801 static struct hda_pincfg *look_up_pincfg(struct hda_codec *codec,
815 static void set_pincfg(struct hda_codec *codec, hda_nid_t nid,
830 int snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list,
868 int snd_hda_codec_set_pincfg(struct hda_codec *codec,
884 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid)
904 static void restore_pincfgs(struct hda_codec *codec)
921 void snd_hda_shutup_pins(struct hda_codec *codec)
940 static void restore_shutup_pins(struct hda_codec *codec)
961 static void restore_init_pincfgs(struct hda_codec *codec)
988 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid)
1007 static void snd_hda_codec_free(struct hda_codec *codec)
1032 static void hda_set_power_state(struct hda_codec *codec, hda_nid_t fg,
1045 struct hda_codec **codecp)
1047 struct hda_codec *codec;
1057 snd_printk(KERN_ERR "hda_codec: "
1064 snd_printk(KERN_ERR "can't allocate struct hda_codec\n");
1114 snd_printdd("hda_codec: no AFG or MFG node found\n");
1121 snd_printk(KERN_ERR "hda_codec: cannot malloc\n");
1167 int snd_hda_codec_configure(struct hda_codec *codec)
1212 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid,
1216 struct hda_codec *c;
1270 static void really_cleanup_stream(struct hda_codec *codec,
1279 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid,
1305 static void really_cleanup_stream(struct hda_codec *codec,
1316 static void purify_inactive_streams(struct hda_codec *codec)
1318 struct hda_codec *c;
1332 static void hda_cleanup_all_streams(struct hda_codec *codec)
1407 get_alloc_amp_hash(struct hda_codec *codec, u32 key)
1424 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction)
1458 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir,
1473 query_caps_hash(struct hda_codec *codec, hda_nid_t nid, u32 key,
1474 unsigned int (*func)(struct hda_codec *, hda_nid_t))
1488 static unsigned int read_pin_cap(struct hda_codec *codec, hda_nid_t nid)
1504 u32 snd_hda_query_pin_caps(struct hda_codec *codec, hda_nid_t nid)
1519 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid)
1541 int snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid)
1552 static unsigned int get_vol_mute(struct hda_codec *codec,
1574 static void put_vol_mute(struct hda_codec *codec, struct hda_amp_info *info,
1598 int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch,
1622 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch,
1653 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
1674 void snd_hda_codec_resume_amp(struct hda_codec *codec)
1699 static u32 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir,
1719 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1730 printk(KERN_WARNING "hda_codec: "
1741 read_amp_value(struct hda_codec *codec, hda_nid_t nid,
1755 update_amp_value(struct hda_codec *codec, hda_nid_t nid,
1780 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1805 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1835 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
1872 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir,
1891 _snd_hda_find_mixer_ctl(struct hda_codec *codec,
1911 struct snd_kcontrol *snd_hda_find_mixer_ctl(struct hda_codec *codec,
1937 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid,
1977 int snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl,
2001 void snd_hda_ctls_clear(struct hda_codec *codec)
2043 int snd_hda_codec_reset(struct hda_codec *codec)
2122 int snd_hda_add_vmaster(struct hda_codec *codec, char *name,
2191 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2217 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2255 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2282 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2305 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2335 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2358 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2381 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2410 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2476 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2540 static void set_dig_out(struct hda_codec *codec, hda_nid_t nid,
2553 static inline void set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid,
2565 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2592 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2601 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2668 int snd_hda_create_spdif_out_ctls(struct hda_codec *codec, hda_nid_t nid)
2681 printk(KERN_ERR "hda_codec: too many IEC958 outputs\n");
2734 int snd_hda_create_spdif_share_sw(struct hda_codec *codec,
2754 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2763 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2782 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2824 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid)
2837 printk(KERN_ERR "hda_codec: too many IEC958 inputs\n");
2879 int snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid,
2915 int snd_hda_codec_update_cache(struct hda_codec *codec, hda_nid_t nid,
2942 void snd_hda_codec_resume_cache(struct hda_codec *codec)
2966 void snd_hda_sequence_write_cache(struct hda_codec *codec,
2979 static void hda_set_power_state(struct hda_codec *codec, hda_nid_t fg,
3039 static void hda_exec_init_verbs(struct hda_codec *codec)
3045 static inline void hda_exec_init_verbs(struct hda_codec *codec) {}
3052 static void hda_call_codec_suspend(struct hda_codec *codec)
3072 static void hda_call_codec_resume(struct hda_codec *codec)
3102 struct hda_codec *codec;
3107 printk(KERN_ERR "hda_codec: cannot build controls "
3112 "hda_codec: cannot revert codec\n");
3121 int snd_hda_codec_build_controls(struct hda_codec *codec)
3239 static unsigned int get_pcm_param(struct hda_codec *codec, hda_nid_t nid)
3252 static unsigned int query_pcm_param(struct hda_codec *codec, hda_nid_t nid)
3258 static unsigned int get_stream_param(struct hda_codec *codec, hda_nid_t nid)
3268 static unsigned int query_stream_param(struct hda_codec *codec, hda_nid_t nid)
3287 static int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid,
3302 snd_printk(KERN_ERR "hda_codec: rates == 0 "
3363 snd_printk(KERN_ERR "hda_codec: formats == 0 "
3390 int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid,
3450 struct hda_codec *codec,
3457 struct hda_codec *codec,
3467 struct hda_codec *codec,
3474 static int set_pcm_default_values(struct hda_codec *codec,
3508 int snd_hda_codec_prepare(struct hda_codec *codec,
3524 void snd_hda_codec_cleanup(struct hda_codec *codec,
3572 static int snd_hda_attach_pcm(struct hda_codec *codec, struct hda_pcm *pcm)
3592 int snd_hda_codec_build_pcms(struct hda_codec *codec)
3602 printk(KERN_ERR "hda_codec: cannot build PCMs"
3607 "hda_codec: cannot revert codec\n");
3626 printk(KERN_ERR "hda_codec: cannot attach "
3664 struct hda_codec *codec;
3688 int snd_hda_check_board_config(struct hda_codec *codec,
3697 snd_printd(KERN_INFO "hda_codec: model '%s' is "
3720 snd_printdd(KERN_INFO "hda_codec: model '%s' is selected "
3752 int snd_hda_check_board_codec_sid_config(struct hda_codec *codec,
3781 snd_printdd(KERN_INFO "hda_codec: model '%s' is selected "
3802 int snd_hda_add_new_ctls(struct hda_codec *codec, struct snd_kcontrol_new *knew)
3831 static void hda_set_power_state(struct hda_codec *codec, hda_nid_t fg,
3836 struct hda_codec *codec =
3837 container_of(work, struct hda_codec, power_work.work);
3850 static void hda_keep_power_on(struct hda_codec *codec)
3858 void snd_hda_update_power_acct(struct hda_codec *codec)
3875 void snd_hda_power_up(struct hda_codec *codec)
3904 void snd_hda_power_down(struct hda_codec *codec)
3930 int snd_hda_check_amp_list_power(struct hda_codec *codec,
3975 int snd_hda_ch_mode_info(struct hda_codec *codec,
3994 int snd_hda_ch_mode_get(struct hda_codec *codec,
4015 int snd_hda_ch_mode_put(struct hda_codec *codec,
4064 int snd_hda_input_mux_put(struct hda_codec *codec,
4092 static void setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid,
4113 static void cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid)
4129 struct hda_codec *codec;
4147 int snd_hda_multi_out_dig_open(struct hda_codec *codec,
4163 int snd_hda_multi_out_dig_prepare(struct hda_codec *codec,
4179 int snd_hda_multi_out_dig_cleanup(struct hda_codec *codec,
4192 int snd_hda_multi_out_dig_close(struct hda_codec *codec,
4209 int snd_hda_multi_out_analog_open(struct hda_codec *codec,
4257 int snd_hda_multi_out_analog_prepare(struct hda_codec *codec,
4315 int snd_hda_multi_out_analog_cleanup(struct hda_codec *codec,
4394 int snd_hda_parse_pin_def_config(struct hda_codec *codec,
4661 struct hda_codec *codec;
4685 struct hda_codec *codec;