Home
last modified time | relevance | path

Searched refs:hda_codec (Results 1 – 25 of 54) sorted by relevance

123

/linux/include/sound/
A Dhda_codec.h27 struct hda_codec;
106 int (*build_pcms)(struct hda_codec *codec);
107 int (*init)(struct hda_codec *codec);
108 void (*free)(struct hda_codec *codec);
112 int (*suspend)(struct hda_codec *codec);
113 int (*resume)(struct hda_codec *codec);
130 struct hda_codec *codec,
167 struct hda_codec *codec;
173 struct hda_codec { struct
270 struct hda_codec *codec, hda_nid_t nid); argument
[all …]
/linux/sound/pci/hda/
A Dhda_jack.h63 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_disconnect(struct hda_codec *codec);
73 void snd_hda_jack_tbl_clear(struct hda_codec *codec);
75 void snd_hda_jack_set_dirty_all(struct hda_codec *codec);
154 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect()
159 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid);
178 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
186 int snd_hda_jack_add_kctls(struct hda_codec *codec,
189 void snd_hda_jack_report_sync(struct hda_codec *codec);
[all …]
A Dhda_local.h137 int snd_hda_codec_reset(struct hda_codec *codec);
149 struct hda_codec *codec;
186 int snd_hda_input_mux_put(struct hda_codec *codec,
190 int snd_hda_add_imux_item(struct hda_codec *codec,
264 int snd_hda_add_new_ctls(struct hda_codec *codec,
289 void (*func)(struct hda_codec *codec,
347 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 Dhda_generic.h276 void (*init_hook)(struct hda_codec *codec);
277 void (*automute_hook)(struct hda_codec *codec);
278 void (*cap_sync_hook)(struct hda_codec *codec,
284 struct hda_codec *codec,
288 struct hda_codec *codec,
293 void (*hp_automute_hook)(struct hda_codec *codec,
295 void (*line_automute_hook)(struct hda_codec *codec,
297 void (*mic_autoswitch_hook)(struct hda_codec *codec,
313 int snd_hda_gen_init(struct hda_codec *codec);
314 void snd_hda_gen_free(struct hda_codec *codec);
[all …]
A Dhda_sysfs.c33 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show()
42 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show()
536 struct hda_codec **codecp) in parse_codec_mode()
539 struct hda_codec *codec; in parse_codec_mode()
559 struct hda_codec **codecp) in parse_pincfg_mode()
565 struct hda_codec **codecp) in parse_verb_mode()
571 struct hda_codec **codecp) in parse_hint_mode()
577 struct hda_codec **codecp) in parse_model_mode()
584 struct hda_codec **codecp) in parse_chip_name_mode()
591 struct hda_codec **codecp) \
[all …]
A Dpatch_via.c94 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()
382 static int via_suspend(struct hda_codec *codec) in via_suspend()
394 static int via_resume(struct hda_codec *codec) in via_resume()
414 static int via_init(struct hda_codec *codec);
532 static int via_init(struct hda_codec *codec) in via_init()
583 static int patch_vt1708(struct hda_codec *codec) in patch_vt1708()
637 static int patch_vt1709(struct hda_codec *codec) in patch_vt1709()
756 static int patch_vt1702(struct hda_codec *codec) in patch_vt1702()
[all …]
A Dhda_codec.c40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb()
639 struct hda_codec *codec = in hda_jackpoll_work()
896 struct hda_codec *
902 struct hda_codec *codec; in snd_hda_codec_device_init()
962 struct hda_codec *codec; in snd_hda_codec_new()
1134 struct hda_codec *c; in snd_hda_codec_setup_stream()
1225 struct hda_codec *c; in purify_inactive_streams()
1789 struct hda_codec *codec; in snd_hda_lock_devices()
1913 struct hda_codec *codec;
3462 struct hda_codec *c; in snd_hda_set_power_save()
[all …]
A Dpatch_conexant.c74 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()
188 static int cx_auto_init(struct hda_codec *codec) in cx_auto_init()
204 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown()
213 static void cx_auto_free(struct hda_codec *codec) in cx_auto_free()
261 static int cx_auto_suspend(struct hda_codec *codec) in cx_auto_suspend()
507 static void olpc_xo_automic(struct hda_codec *codec, in olpc_xo_automic()
522 struct hda_codec *codec, in olpc_xo_capture_hook()
[all …]
A Dhda_beep.h20 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 Dhda_component.h33 struct hda_codec *codec;
40 int hda_component_manager_bind_acpi_notifications(struct hda_codec *cdc,
43 void hda_component_manager_unbind_acpi_notifications(struct hda_codec *cdc,
54 static inline int hda_component_manager_bind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_bind_acpi_notifications()
63 static inline void hda_component_manager_unbind_acpi_notifications(struct hda_codec *cdc, in hda_component_manager_unbind_acpi_notifications()
72 int hda_component_manager_init(struct hda_codec *cdc,
81 int hda_component_manager_bind(struct hda_codec *cdc, struct hda_component_parent *parent);
95 static inline void hda_component_manager_unbind(struct hda_codec *cdc, in hda_component_manager_unbind()
A Dpatch_hdmi.c78 struct hda_codec *codec;
132 struct hda_codec *codec;
1193 struct hda_codec *codec, in hdmi_pcm_open_no_pin()
1241 struct hda_codec *codec, in hdmi_pcm_open()
2086 struct hda_codec *codec, in generic_hdmi_playback_pcm_prepare()
2172 struct hda_codec *codec, in hdmi_pcm_close()
3377 struct hda_codec *codec, in simple_playback_pcm_open()
3410 struct hda_codec *codec, in simple_playback_pcm_close()
3516 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
3953 struct hda_codec *codec, in tegra_hdmi_pcm_prepare()
[all …]
A Dpatch_analog.c50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls()
114 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend()
124 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook()
192 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec()
378 static int patch_ad1986a(struct hda_codec *codec) in patch_ad1986a()
510 static int patch_ad1983(struct hda_codec *codec) in patch_ad1983()
600 static int patch_ad1981(struct hda_codec *codec) in patch_ad1981()
892 static int patch_ad1988(struct hda_codec *codec) in patch_ad1988()
970 struct hda_codec *codec = private_data; in ad1884_vmaster_hp_gpio_hook()
1072 static int patch_ad1884(struct hda_codec *codec) in patch_ad1884()
[all …]
A Dpatch_cirrus.c157 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()
587 static int patch_cs420x(struct hda_codec *codec) in patch_cs420x()
769 static int patch_cs4208(struct hda_codec *codec) in patch_cs4208()
1063 static int cs421x_init(struct hda_codec *codec) in cs421x_init()
1135 static int cs421x_suspend(struct hda_codec *codec) in cs421x_suspend()
1165 static int patch_cs4210(struct hda_codec *codec) in patch_cs4210()
[all …]
A Dhda_generic.c5308 struct hda_codec *codec, in call_pcm_playback_hook()
5318 struct hda_codec *codec, in call_pcm_capture_hook()
5351 struct hda_codec *codec, in playback_pcm_prepare()
5368 struct hda_codec *codec, in playback_pcm_cleanup()
5395 struct hda_codec *codec, in capture_pcm_open()
5433 struct hda_codec *codec, in alt_playback_pcm_open()
5451 struct hda_codec *codec, in alt_playback_pcm_close()
5489 struct hda_codec *codec, in dig_playback_pcm_open()
5516 struct hda_codec *codec, in dig_playback_pcm_close()
5530 struct hda_codec *codec, in alt_capture_pcm_prepare()
[all …]
A Dpatch_ca0132.c1135 struct hda_codec *codec;
3006 struct hda_codec *codec;
3888 struct hda_codec *codec, in ca0132_playback_pcm_prepare()
3901 struct hda_codec *codec, in ca0132_playback_pcm_cleanup()
3920 struct hda_codec *codec, in ca0132_playback_pcm_delay()
3948 struct hda_codec *codec, in ca0132_dig_playback_pcm_open()
3956 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare()
3967 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup()
3986 struct hda_codec *codec, in ca0132_capture_pcm_prepare()
3998 struct hda_codec *codec, in ca0132_capture_pcm_cleanup()
[all …]
A Dhda_jack.c29 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_disconnect(struct hda_codec *codec) in snd_hda_jack_tbl_disconnect()
172 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear()
195 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update()
233 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all()
274 int snd_hda_jack_detect_state_mst(struct hda_codec *codec, in snd_hda_jack_detect_state_mst()
469 void snd_hda_jack_report_sync(struct hda_codec *codec) in snd_hda_jack_report_sync()
627 int snd_hda_jack_add_kctls(struct hda_codec *codec, in snd_hda_jack_add_kctls()
[all …]
A Dpatch_realtek.c114 void (*init_hook)(struct hda_codec *codec);
115 void (*power_hook)(struct hda_codec *codec);
116 void (*shutup)(struct hda_codec *codec);
359 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll()
932 static int alc_init(struct hda_codec *codec) in alc_init()
957 static void alc_free(struct hda_codec *codec) in alc_free()
994 static int alc_resume(struct hda_codec *codec) in alc_resume()
4569 struct hda_codec *codec, in alc274_hp_envy_pcm_hook()
4889 struct hda_codec *codec, in alc298_samsung_v2_playback_hook()
6954 struct hda_codec *cdc = data; in comp_acpi_device_notify()
[all …]
A Dpatch_senarytech.c63 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep()
79 static void senary_auto_parse_eapd(struct hda_codec *codec) in senary_auto_parse_eapd()
95 static void senary_auto_turn_eapd(struct hda_codec *codec, int num_pins, in senary_auto_turn_eapd()
111 struct hda_codec *codec = private_data; in senary_auto_vmaster_hook()
117 static void senary_init_gpio_led(struct hda_codec *codec) in senary_init_gpio_led()
132 static int senary_auto_init(struct hda_codec *codec) in senary_auto_init()
141 static void senary_auto_shutdown(struct hda_codec *codec) in senary_auto_shutdown()
151 static void senary_auto_free(struct hda_codec *codec) in senary_auto_free()
157 static int senary_auto_suspend(struct hda_codec *codec) in senary_auto_suspend()
173 static int patch_senary_auto(struct hda_codec *codec) in patch_senary_auto()
A Dhda_bind.c23 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()
152 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove()
202 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
208 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
237 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
248 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
277 static int codec_bind_generic(struct hda_codec *codec) in codec_bind_generic()
[all …]
A Dpatch_sigmatel.c242 struct hda_codec *codec, in stac_playback_pcm_hook()
252 struct hda_codec *codec, in stac_capture_pcm_hook()
338 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set()
496 static void stac_vref_event(struct hda_codec *codec, in stac_vref_event()
4356 static int stac_init(struct hda_codec *codec) in stac_init()
4398 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
4407 struct hda_codec *codec, in analog_loop_proc_hook()
4416 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
4424 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
4431 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook()
[all …]
A Dpatch_cs8409.c178 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()
577 struct hda_codec *codec, in cs42l42_playback_pcm_hook()
606 struct hda_codec *codec, in cs42l42_capture_pcm_hook()
871 struct hda_codec *codec = cs42l42->codec; in cs42l42_resume()
914 struct hda_codec *codec = cs42l42->codec; in cs42l42_suspend()
1085 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in cs8409_cs42l42_exec_verb()
[all …]
A Dpatch_si3054.c88 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 Dpatch_cmedia.c48 struct hda_codec *codec;
152 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback()
169 static void cm9825_setup_unsol(struct hda_codec *codec) in cm9825_setup_unsol()
178 static int cm9825_init(struct hda_codec *codec) in cm9825_init()
186 static void cm9825_free(struct hda_codec *codec) in cm9825_free()
194 static int cm9825_suspend(struct hda_codec *codec) in cm9825_suspend()
205 static int cm9825_resume(struct hda_codec *codec) in cm9825_resume()
256 static int patch_cm9825(struct hda_codec *codec) in patch_cm9825()
303 static int patch_cmi9880(struct hda_codec *codec) in patch_cmi9880()
332 static int patch_cmi8888(struct hda_codec *codec) in patch_cmi8888()
A Dhda_proc.c48 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 Dthinkpad_helper.c11 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()

Completed in 128 milliseconds

123