/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/hda/ |
H A D | hda_beep.h | 25 #include "hda_codec.h" 34 struct hda_codec *codec; 49 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable); 50 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid); 51 void snd_hda_detach_beep_device(struct hda_codec *codec);
|
H A D | hda_local.h | 123 int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, 125 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, 127 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, 130 void snd_hda_codec_resume_amp(struct hda_codec *codec); 133 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, 135 struct snd_kcontrol *snd_hda_find_mixer_ctl(struct hda_codec *codec, 137 int snd_hda_add_vmaster(struct hda_codec *codec, char *name, 139 int snd_hda_codec_reset(struct hda_codec *codec); 210 int snd_hda_create_spdif_out_ctls(struct hda_codec *codec, hda_nid_t nid); 211 int snd_hda_create_spdif_in_ctls(struct hda_codec *code [all...] |
H A D | hda_codec.h | 593 struct hda_codec; 610 int (*attach_pcm)(struct hda_bus *bus, struct hda_codec *codec, 648 struct hda_codec *caddr_tbl[HDA_MAX_CODEC_ADDRESS + 1]; 687 int (*patch)(struct hda_codec *codec); 702 int (*build_controls)(struct hda_codec *codec); 703 int (*build_pcms)(struct hda_codec *codec); 704 int (*init)(struct hda_codec *codec); 705 void (*free)(struct hda_codec *codec); 706 void (*unsol_event)(struct hda_codec *codec, unsigned int res); 708 int (*suspend)(struct hda_codec *code 779 struct hda_codec { struct [all...] |
H A D | patch_atihdmi.c | 28 #include "hda_codec.h" 49 static int atihdmi_build_controls(struct hda_codec *codec) 61 static int atihdmi_init(struct hda_codec *codec) 76 struct hda_codec *codec, 84 struct hda_codec *codec, 92 struct hda_codec *codec, 127 static int atihdmi_build_pcms(struct hda_codec *codec) 147 static void atihdmi_free(struct hda_codec *codec) 159 static int patch_atihdmi(struct hda_codec *codec)
|
H A D | hda_hwdep.c | 30 #include "hda_codec.h" 44 static int verb_write_ioctl(struct hda_codec *codec, 58 static int get_wcap_ioctl(struct hda_codec *codec, 77 struct hda_codec *codec = hw->private_data; 108 static void clear_hwdep_elements(struct hda_codec *codec) 128 int /*__devinit*/ snd_hda_create_hwdep(struct hda_codec *codec) 164 struct hda_codec *codec = hwdep->private_data; 174 struct hda_codec *codec = hwdep->private_data; 184 int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec) 202 static int clear_codec(struct hda_codec *code [all...] |
H A D | patch_intelhdmi.c | 33 #include "hda_codec.h" 59 struct hda_codec *codec, 81 static int intel_hdmi_build_pcms(struct hda_codec *codec) 107 static int intel_hdmi_build_controls(struct hda_codec *codec) 122 static int intel_hdmi_init(struct hda_codec *codec) 136 static void intel_hdmi_free(struct hda_codec *codec) 155 static int patch_intel_hdmi(struct hda_codec *codec)
|
H A D | hda_codec.c | 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 *code [all...] |
H A D | patch_cirrus.c | 26 #include "hda_codec.h" 114 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) 122 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, 139 struct hda_codec *codec, 148 struct hda_codec *codec, 159 struct hda_codec *codec, 170 struct hda_codec *codec, 178 struct hda_codec *codec, 186 struct hda_codec *codec, 197 struct hda_codec *code [all...] |
H A D | patch_ca0110.c | 26 #include "hda_codec.h" 51 struct hda_codec *codec, 60 struct hda_codec *codec, 71 struct hda_codec *codec, 82 struct hda_codec *codec, 90 struct hda_codec *codec, 98 struct hda_codec *codec, 112 struct hda_codec *codec, 125 struct hda_codec *codec, 139 static int _add_switch(struct hda_codec *code [all...] |
H A D | patch_cmedia.c | 29 #include "hda_codec.h" 83 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 90 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 100 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 153 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 161 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 169 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 315 static int cmi9880_build_controls(struct hda_codec *codec) 357 static int cmi9880_fill_multi_dac_nids(struct hda_codec *codec, const struct auto_pin_cfg *cfg) 395 static int cmi9880_fill_multi_init(struct hda_codec *code [all...] |
H A D | patch_conexant.c | 30 #include "hda_codec.h" 123 void (*capture_prepare)(struct hda_codec *codec); 124 void (*capture_cleanup)(struct hda_codec *codec); 140 struct hda_codec *codec, 149 struct hda_codec *codec, 161 struct hda_codec *codec, 172 struct hda_codec *codec, 180 struct hda_codec *codec, 188 struct hda_codec *codec, 203 struct hda_codec *code [all...] |
H A D | hda_generic.c | 26 #include "hda_codec.h" 94 static void snd_hda_generic_free(struct hda_codec *codec) 114 static int add_new_node(struct hda_codec *codec, struct hda_gspec *spec, hda_nid_t nid) 175 static int build_afg_tree(struct hda_codec *codec) 220 static int unmute_output(struct hda_codec *codec, struct hda_gnode *node) 235 static int unmute_input(struct hda_codec *codec, struct hda_gnode *node, unsigned int index) 250 static int select_input_connection(struct hda_codec *codec, struct hda_gnode *node, 275 static int parse_output_path(struct hda_codec *codec, struct hda_gspec *spec, 344 static struct hda_gnode *parse_output_jack(struct hda_codec *codec, 397 static int parse_output(struct hda_codec *code [all...] |
H A D | patch_hdmi.c | 260 static void hdmi_get_show_eld(struct hda_codec *codec, hda_nid_t pin_nid, 268 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, 281 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, 291 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, 297 static void hdmi_enable_output(struct hda_codec *codec, hda_nid_t pin_nid) 308 static int hdmi_get_channel_count(struct hda_codec *codec, hda_nid_t nid) 314 static void hdmi_set_channel_count(struct hda_codec *codec, 355 static int hdmi_setup_channel_allocation(struct hda_codec *codec, hda_nid_t nid, 412 static void hdmi_debug_channel_mapping(struct hda_codec *codec, 429 static void hdmi_setup_channel_mapping(struct hda_codec *code [all...] |
H A D | patch_si3054.c | 29 #include "hda_codec.h" 102 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 112 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 139 static int si3054_build_controls(struct hda_codec *codec) 150 struct hda_codec *codec, 169 struct hda_codec *codec, 199 static int si3054_build_pcms(struct hda_codec *codec) 218 static int si3054_init(struct hda_codec *codec) 257 static void si3054_free(struct hda_codec *codec) 273 static int patch_si3054(struct hda_codec *code [all...] |
H A D | hda_proc.c | 26 #include "hda_codec.h" 65 struct hda_codec *codec, hda_nid_t nid, 92 struct hda_codec *codec, hda_nid_t nid) 111 struct hda_codec *codec, hda_nid_t nid, int dir) 130 struct hda_codec *codec, hda_nid_t nid, 186 struct hda_codec *codec, hda_nid_t nid) 230 struct hda_codec *codec, hda_nid_t nid, 324 struct hda_codec *codec, hda_nid_t nid, 362 struct hda_codec *codec, hda_nid_t nid) 375 struct hda_codec *code [all...] |
H A D | patch_sigmatel.c | 35 #include "hda_codec.h" 607 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 615 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 626 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 637 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 645 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 656 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 684 static unsigned int stac92xx_vref_set(struct hda_codec *codec, 709 static unsigned int stac92xx_vref_get(struct hda_codec *codec, hda_nid_t nid) 720 struct hda_codec *code [all...] |
H A D | patch_nvhdmi.c | 29 #include "hda_codec.h" 98 static int nvhdmi_build_controls(struct hda_codec *codec) 122 static int nvhdmi_init(struct hda_codec *codec) 140 static void nvhdmi_free(struct hda_codec *codec) 158 struct hda_codec *codec, 166 struct hda_codec *codec, 187 struct hda_codec *codec, 195 struct hda_codec *codec, 209 struct hda_codec *codec, 330 struct hda_codec *code [all...] |
H A D | patch_analog.c | 28 #include "hda_codec.h" 93 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 101 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 111 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 123 static int ad198x_init(struct hda_codec *codec) 159 static void ad198x_free_kctls(struct hda_codec *codec); 181 static int ad198x_build_controls(struct hda_codec *codec) 274 static int ad198x_check_power_status(struct hda_codec *codec, hda_nid_t nid) 285 struct hda_codec *codec, 294 struct hda_codec *code [all...] |
H A D | hda_beep.c | 40 struct hda_codec *codec = beep->codec; 130 struct hda_codec *codec = beep->codec; 186 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) 214 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) 255 void snd_hda_detach_beep_device(struct hda_codec *codec)
|
H A D | patch_realtek.c | 31 #include "hda_codec.h" 370 void (*init_hook)(struct hda_codec *codec); 371 void (*unsol_event)(struct hda_codec *codec, unsigned int res); 373 void (*power_hook)(struct hda_codec *codec); 422 void (*unsol_event)(struct hda_codec *, unsigned int); 423 void (*setup)(struct hda_codec *); 424 void (*init_hook)(struct hda_codec *); 427 void (*power_hook)(struct hda_codec *codec); 438 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 451 struct hda_codec *code [all...] |
H A D | patch_via.c | 53 #include "hda_codec.h" 152 struct hda_codec *codec; 161 static struct via_spec * via_new_spec(struct hda_codec *codec) 174 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) 241 static void analog_low_current_mode(struct hda_codec *codec, int stream_idle); 242 static void set_jack_power_state(struct hda_codec *codec); 243 static int is_aa_path_mute(struct hda_codec *codec); 274 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 297 static void via_hp_bind_automute(struct hda_codec *codec); 302 struct hda_codec *code [all...] |
H A D | hda_eld.c | 28 #include "hda_codec.h" 147 static unsigned char hdmi_get_eld_byte(struct hda_codec *codec, hda_nid_t nid, 313 static int hdmi_eld_valid(struct hda_codec *codec, hda_nid_t nid) 330 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) 338 struct hda_codec *codec, hda_nid_t nid) 568 int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld, 589 void snd_hda_eld_proc_free(struct hda_codec *codec, struct hdmi_eld *eld)
|
H A D | Makefile | 3 snd-hda-codec-y := hda_codec.o
|
H A D | hda_intel.c | 51 #include "hda_codec.h" 832 * The below are the main callbacks from hda_codec. 1353 static int azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec, 1445 struct hda_codec *codec; 1463 struct hda_codec *codec; 1533 struct hda_codec *codec; 2010 azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec, 2134 struct hda_codec *c; 2158 struct hda_codec *codec; 2655 struct hda_codec *code [all...] |