| /linux/include/sound/ |
| A D | hda_codec.h | 30 struct hda_codec; 105 int (*build_controls)(struct hda_codec *codec); 106 int (*build_pcms)(struct hda_codec *codec); 107 int (*init)(struct hda_codec *codec); 108 void (*free)(struct hda_codec *codec); 113 int (*suspend)(struct hda_codec *codec); 114 int (*resume)(struct hda_codec *codec); 132 struct hda_codec *codec, 168 struct hda_codec *codec; 174 struct hda_codec { struct [all …]
|
| /linux/sound/pci/hda/ |
| A D | hda_local.h | 137 int snd_hda_codec_reset(struct hda_codec *codec); 150 struct hda_codec *codec; 187 int snd_hda_input_mux_put(struct hda_codec *codec, 191 int snd_hda_add_imux_item(struct hda_codec *codec, 265 int snd_hda_add_new_ctls(struct hda_codec *codec, 290 void (*func)(struct hda_codec *codec, 348 void snd_hda_apply_verbs(struct hda_codec *codec); 352 void snd_hda_pick_fixup(struct hda_codec *codec, 548 void snd_hda_ctls_clear(struct hda_codec *codec); 554 int snd_hda_create_hwdep(struct hda_codec *codec); [all …]
|
| A D | hda_jack.h | 63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 69 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, 72 void snd_hda_jack_tbl_clear(struct hda_codec *codec); 74 void snd_hda_jack_set_dirty_all(struct hda_codec *codec); 129 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() 153 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 158 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid); 177 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl() 185 int snd_hda_jack_add_kctls(struct hda_codec *codec, 188 void snd_hda_jack_report_sync(struct hda_codec *codec); [all …]
|
| A D | hda_generic.h | 274 void (*init_hook)(struct hda_codec *codec); 275 void (*automute_hook)(struct hda_codec *codec); 276 void (*cap_sync_hook)(struct hda_codec *codec, 282 struct hda_codec *codec, 286 struct hda_codec *codec, 291 void (*hp_automute_hook)(struct hda_codec *codec, 293 void (*line_automute_hook)(struct hda_codec *codec, 295 void (*mic_autoswitch_hook)(struct hda_codec *codec, 308 int snd_hda_gen_init(struct hda_codec *codec); 309 void snd_hda_gen_free(struct hda_codec *codec); [all …]
|
| A D | hda_sysfs.c | 34 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() 43 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() 541 struct hda_codec **codecp) in parse_codec_mode() 544 struct hda_codec *codec; in parse_codec_mode() 564 struct hda_codec **codecp) in parse_pincfg_mode() 570 struct hda_codec **codecp) in parse_verb_mode() 576 struct hda_codec **codecp) in parse_hint_mode() 582 struct hda_codec **codecp) in parse_model_mode() 589 struct hda_codec **codecp) in parse_chip_name_mode() 596 struct hda_codec **codecp) \ [all …]
|
| A D | patch_via.c | 94 struct hda_codec *codec, 368 struct hda_codec *codec, in via_playback_pcm_hook() 376 static void via_free(struct hda_codec *codec) in via_free() 383 static int via_suspend(struct hda_codec *codec) in via_suspend() 395 static int via_resume(struct hda_codec *codec) in via_resume() 418 static int via_init(struct hda_codec *codec); 540 static int via_init(struct hda_codec *codec) in via_init() 591 static int patch_vt1708(struct hda_codec *codec) in patch_vt1708() 645 static int patch_vt1709(struct hda_codec *codec) in patch_vt1709() 764 static int patch_vt1702(struct hda_codec *codec) in patch_vt1702() [all …]
|
| A D | hda_codec.c | 40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() 641 struct hda_codec *codec = in hda_jackpoll_work() 876 struct hda_codec *codec; in snd_hda_codec_device_init() 1097 struct hda_codec *c; in snd_hda_codec_setup_stream() 1188 struct hda_codec *c; in purify_inactive_streams() 1745 struct hda_codec *codec; in snd_hda_lock_devices() 1869 struct hda_codec *codec; 3075 struct hda_codec *codec, in hda_pcm_default_prepare() 3085 struct hda_codec *codec, in hda_pcm_default_cleanup() 3385 struct hda_codec *c; in snd_hda_set_power_save() [all …]
|
| A D | patch_hdmi.c | 77 struct hda_codec *codec; 124 struct hda_codec *codec; 1170 struct hda_codec *codec, in hdmi_pcm_open_no_pin() 1218 struct hda_codec *codec, in hdmi_pcm_open() 2032 struct hda_codec *codec, in generic_hdmi_playback_pcm_prepare() 2123 struct hda_codec *codec, in hdmi_pcm_close() 3241 struct hda_codec *codec, in simple_playback_pcm_open() 3274 struct hda_codec *codec, in simple_playback_pcm_close() 3380 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close() 3786 struct hda_codec *codec, in tegra_hdmi_pcm_prepare() [all …]
|
| A D | patch_conexant.c | 74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() 93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() 133 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() 152 static void cxt_init_gpio_led(struct hda_codec *codec) in cxt_init_gpio_led() 167 static int cx_auto_init(struct hda_codec *codec) in cx_auto_init() 180 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown() 189 static void cx_auto_free(struct hda_codec *codec) in cx_auto_free() 196 static int cx_auto_suspend(struct hda_codec *codec) in cx_auto_suspend() 428 static void olpc_xo_automic(struct hda_codec *codec, in olpc_xo_automic() 443 struct hda_codec *codec, in olpc_xo_capture_hook() [all …]
|
| A D | hda_generic.c | 5228 struct hda_codec *codec, in call_pcm_playback_hook() 5238 struct hda_codec *codec, in call_pcm_capture_hook() 5271 struct hda_codec *codec, in playback_pcm_prepare() 5288 struct hda_codec *codec, in playback_pcm_cleanup() 5315 struct hda_codec *codec, in capture_pcm_open() 5353 struct hda_codec *codec, in alt_playback_pcm_open() 5371 struct hda_codec *codec, in alt_playback_pcm_close() 5409 struct hda_codec *codec, in dig_playback_pcm_open() 5436 struct hda_codec *codec, in dig_playback_pcm_close() 5450 struct hda_codec *codec, in alt_capture_pcm_prepare() [all …]
|
| A D | patch_analog.c | 50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 115 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend() 126 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() 196 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec() 382 static int patch_ad1986a(struct hda_codec *codec) in patch_ad1986a() 514 static int patch_ad1983(struct hda_codec *codec) in patch_ad1983() 604 static int patch_ad1981(struct hda_codec *codec) in patch_ad1981() 896 static int patch_ad1988(struct hda_codec *codec) in patch_ad1988() 974 struct hda_codec *codec = private_data; in ad1884_vmaster_hp_gpio_hook() 1076 static int patch_ad1884(struct hda_codec *codec) in patch_ad1884() [all …]
|
| A D | patch_cirrus.c | 157 static void cs_automute(struct hda_codec *codec) in cs_automute() 186 static void init_input_coef(struct hda_codec *codec) in init_input_coef() 278 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef() 292 static int cs_init(struct hda_codec *codec) in cs_init() 323 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls() 586 static int patch_cs420x(struct hda_codec *codec) in patch_cs420x() 768 static int patch_cs4208(struct hda_codec *codec) in patch_cs4208() 1062 static int cs421x_init(struct hda_codec *codec) in cs421x_init() 1135 static int cs421x_suspend(struct hda_codec *codec) in cs421x_suspend() 1168 static int patch_cs4210(struct hda_codec *codec) in patch_cs4210() [all …]
|
| A D | patch_ca0132.c | 1135 struct hda_codec *codec; 3007 struct hda_codec *codec; 3890 struct hda_codec *codec, in ca0132_playback_pcm_prepare() 3903 struct hda_codec *codec, in ca0132_playback_pcm_cleanup() 3922 struct hda_codec *codec, in ca0132_playback_pcm_delay() 3950 struct hda_codec *codec, in ca0132_dig_playback_pcm_open() 3958 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare() 3969 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup() 3988 struct hda_codec *codec, in ca0132_capture_pcm_prepare() 4000 struct hda_codec *codec, in ca0132_capture_pcm_cleanup() [all …]
|
| A D | patch_realtek.c | 107 void (*init_hook)(struct hda_codec *codec); 109 void (*power_hook)(struct hda_codec *codec); 111 void (*shutup)(struct hda_codec *codec); 244 static void alc_write_gpio(struct hda_codec *codec) in alc_write_gpio() 303 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll() 856 static void alc_pre_init(struct hda_codec *codec) in alc_pre_init() 866 static int alc_init(struct hda_codec *codec) in alc_init() 909 static int alc_suspend(struct hda_codec *codec) in alc_suspend() 920 static int alc_resume(struct hda_codec *codec) in alc_resume() 1582 static int patch_alc880(struct hda_codec *codec) in patch_alc880() [all …]
|
| A D | hda_jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 92 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, in snd_hda_jack_tbl_get_from_tag() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 161 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear() 184 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update() 222 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all() 263 int snd_hda_jack_detect_state_mst(struct hda_codec *codec, in snd_hda_jack_detect_state_mst() 458 void snd_hda_jack_report_sync(struct hda_codec *codec) in snd_hda_jack_report_sync() 575 static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, in add_jack_kctl() 616 int snd_hda_jack_add_kctls(struct hda_codec *codec, in snd_hda_jack_add_kctls() [all …]
|
| A D | hda_beep.h | 20 struct hda_codec *codec; 34 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable); 35 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid); 36 void snd_hda_detach_beep_device(struct hda_codec *codec); 38 static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device() 42 static inline void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device()
|
| A D | patch_cs8409.c | 178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page() 199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read() 242 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_read() 287 struct hda_codec *codec = scodec->codec; in cs8409_i2c_write() 328 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_write() 544 struct hda_codec *codec, in cs42l42_playback_pcm_hook() 573 struct hda_codec *codec, in cs42l42_capture_pcm_hook() 726 struct hda_codec *codec = cs42l42->codec; in cs42l42_resume() 764 struct hda_codec *codec = cs42l42->codec; in cs42l42_suspend() 930 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in cs8409_cs42l42_exec_verb() [all …]
|
| A D | hda_bind.c | 23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() 44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() 63 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name() 88 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() 151 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() 194 static inline bool codec_probed(struct hda_codec *codec) in codec_probed() 200 static void request_codec_module(struct hda_codec *codec) in request_codec_module() 229 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module() 240 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec() 262 static int codec_bind_generic(struct hda_codec *codec) in codec_bind_generic() [all …]
|
| A D | patch_sigmatel.c | 241 struct hda_codec *codec, in stac_playback_pcm_hook() 251 struct hda_codec *codec, in stac_capture_pcm_hook() 337 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set() 495 static void stac_vref_event(struct hda_codec *codec, in stac_vref_event() 4345 static int stac_init(struct hda_codec *codec) in stac_init() 4387 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook() 4396 struct hda_codec *codec, in analog_loop_proc_hook() 4405 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook() 4413 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook() 4420 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook() [all …]
|
| A D | patch_si3054.c | 88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() 98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() 125 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls() 136 struct hda_codec *codec, in si3054_pcm_prepare() 155 struct hda_codec *codec, in si3054_pcm_open() 185 static int si3054_build_pcms(struct hda_codec *codec) in si3054_build_pcms() 205 static int si3054_init(struct hda_codec *codec) in si3054_init() 249 static void si3054_free(struct hda_codec *codec) in si3054_free() 265 static int patch_si3054(struct hda_codec *codec) in patch_si3054()
|
| A D | hda_proc.c | 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() 451 struct hda_codec *codec, hda_nid_t nid, in print_audio_io() 574 struct hda_codec *codec, hda_nid_t nid) in print_proc_caps() 599 struct hda_codec *codec, hda_nid_t nid, in print_conn_list() [all …]
|
| A D | hda_auto_parser.c | 129 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic() 172 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg() 536 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need() 780 int snd_hda_add_verbs(struct hda_codec *codec, in snd_hda_add_verbs() 796 void snd_hda_apply_verbs(struct hda_codec *codec) in snd_hda_apply_verbs() 811 void snd_hda_apply_pincfgs(struct hda_codec *codec, in snd_hda_apply_pincfgs() 819 static void set_pin_targets(struct hda_codec *codec, in set_pin_targets() 883 void snd_hda_apply_fixup(struct hda_codec *codec, int action) in snd_hda_apply_fixup() 892 static bool pin_config_match(struct hda_codec *codec, in pin_config_match() 933 void snd_hda_pick_pin_fixup(struct hda_codec *codec, in snd_hda_pick_pin_fixup() [all …]
|
| A D | hda_beep.c | 26 struct hda_codec *codec = beep->codec; in generate_tone() 135 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device() 193 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device() 267 void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device() 276 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ctl_has_mute() 291 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_get_beep() 314 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_put_beep()
|
| A D | thinkpad_helper.c | 11 static bool is_thinkpad(struct hda_codec *codec) in is_thinkpad() 18 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi() 31 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi()
|
| A D | hda_hwdep.c | 21 static int verb_write_ioctl(struct hda_codec *codec, in verb_write_ioctl() 35 static int get_wcap_ioctl(struct hda_codec *codec, in get_wcap_ioctl() 63 struct hda_codec *codec = hw->private_data; in hda_hwdep_ioctl() 94 int snd_hda_create_hwdep(struct hda_codec *codec) in snd_hda_create_hwdep()
|