Home
last modified time | relevance | path

Searched defs:codec (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/openbmc/linux/sound/pci/hda/
H A Dhda_codec.c27 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core) argument
28 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core) argument
29 #define codec_has_epss(codec) \ argument
31 #define codec_has_clkstop(codec) \ argument
40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local
79 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) in snd_hda_sequence_write()
96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
106 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
121 static void remove_conn_list(struct hda_codec *codec) in remove_conn_list()
132 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
[all …]
H A Dhda_generic.c105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints()
205 #define update_pin_ctl(codec, pin, val) \ argument
210 static inline void restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) in restore_pin_ctl()
216 static void set_pin_target(struct hda_codec *codec, hda_nid_t pin, in set_pin_target()
228 static void set_pin_targets(struct hda_codec *codec, int num_pins, in set_pin_targets()
256 static struct nid_path *get_nid_path(struct hda_codec *codec, in get_nid_path()
287 int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) in snd_hda_get_path_idx()
308 struct nid_path *snd_hda_get_path_from_idx(struct hda_codec *codec, int idx) in snd_hda_get_path_from_idx()
319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used()
333 static bool is_reachable_path(struct hda_codec *codec, in is_reachable_path()
[all …]
H A Dpatch_via.c100 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec()
125 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type()
180 #define hp_detect_with_aa(codec) \ argument
184 static void vt1708_stop_hp_work(struct hda_codec *codec) in vt1708_stop_hp_work()
197 static void vt1708_update_hp_work(struct hda_codec *codec) in vt1708_update_hp_work()
222 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_get() local
232 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_put() local
277 static int auto_parse_beep(struct hda_codec *codec) in auto_parse_beep()
288 #define auto_parse_beep(codec) 0 argument
292 static bool is_aa_path_mute(struct hda_codec *codec) in is_aa_path_mute()
[all …]
H A Dhda_bind.c23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
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() local
152 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
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()
274 #define is_likely_hdmi_codec(codec) false argument
[all …]
H A Dpatch_realtek.c143 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock() argument
151 static void coef_mutex_unlock(struct hda_codec *codec) in coef_mutex_unlock() argument
159 __alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) __alc_read_coefex_idx() argument
169 alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) alc_read_coefex_idx() argument
180 alc_read_coef_idx(codec,coef_idx) global() argument
183 __alc_write_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_val) __alc_write_coefex_idx() argument
190 alc_write_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_val) alc_write_coefex_idx() argument
198 alc_write_coef_idx(codec,coef_idx,coef_val) global() argument
201 __alc_update_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int mask,unsigned int bits_set) __alc_update_coefex_idx() argument
212 alc_update_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int mask,unsigned int bits_set) alc_update_coefex_idx() argument
221 alc_update_coef_idx(codec,coef_idx,mask,bits_set) global() argument
225 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument
248 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument
267 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument
276 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument
284 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument
298 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument
314 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument
321 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument
327 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument
333 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument
339 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument
345 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument
357 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument
366 alc_fix_pll_init(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx,unsigned int coef_bit) alc_fix_pll_init() argument
377 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument
399 alc880_unsol_event(struct hda_codec * codec,unsigned int res) alc880_unsol_event() argument
407 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument
525 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument
538 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument
548 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument
561 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument
583 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument
611 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument
622 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument
665 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument
675 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument
686 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument
777 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument
879 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument
894 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument
903 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument
920 alc_pre_init(struct hda_codec * codec) alc_pre_init() argument
925 is_s3_resume(codec) global() argument
927 is_s4_resume(codec) global() argument
930 alc_init(struct hda_codec * codec) alc_init() argument
955 alc_shutup(struct hda_codec * codec) alc_shutup() argument
968 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument
973 alc_suspend(struct hda_codec * codec) alc_suspend() argument
982 alc_resume(struct hda_codec * codec) alc_resume() argument
1011 alc_codec_rename(codec,name) global() argument
1082 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument
1155 has_cdefine_beep(struct hda_codec * codec) has_cdefine_beep() argument
1166 has_cdefine_beep(codec) global() argument
1173 alc_parse_auto_config(struct hda_codec * codec,const hda_nid_t * ignore_nids,const hda_nid_t * ssid_nids) alc_parse_auto_config() argument
1197 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument
1223 alc880_parse_auto_config(struct hda_codec * codec) alc880_parse_auto_config() argument
1262 alc880_fixup_vol_knob(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc880_fixup_vol_knob() argument
1645 patch_alc880(struct hda_codec * codec) patch_alc880() argument
1690 alc260_parse_auto_config(struct hda_codec * codec) alc260_parse_auto_config() argument
1714 alc260_gpio1_automute(struct hda_codec * codec) alc260_gpio1_automute() argument
1721 alc260_fixup_gpio1_toggle(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_gpio1_toggle() argument
1739 alc260_fixup_kn1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_kn1() argument
1767 alc260_fixup_fsc_s7020(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020() argument
1775 alc260_fixup_fsc_s7020_jwse(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020_jwse() argument
1894 patch_alc260(struct hda_codec * codec) patch_alc260() argument
2000 alc889_fixup_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_coef() argument
2009 alc885_fixup_macpro_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc885_fixup_macpro_gpio() argument
2022 alc889_fixup_dac_route(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_dac_route() argument
2044 alc889_fixup_mbp_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mbp_vref() argument
2065 alc889_fixup_mac_pins(struct hda_codec * codec,const hda_nid_t * nids,int num_nids) alc889_fixup_mac_pins() argument
2081 alc889_fixup_imac91_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_imac91_vref() argument
2091 alc889_fixup_mba11_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba11_vref() argument
2101 alc889_fixup_mba21_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba21_vref() argument
2114 alc882_fixup_no_primary_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc882_fixup_no_primary_hp() argument
2130 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument
2148 rename_ctl(struct hda_codec * codec,const char * oldname,const char * newname) rename_ctl() argument
2158 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument
2182 alc1220_fixup_gb_x570(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_x570() argument
2206 alc1220_fixup_clevo_p950(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_p950() argument
2226 alc1220_fixup_clevo_pb51ed(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_pb51ed() argument
2234 alc887_asus_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc887_asus_hp_automute_hook() argument
2249 alc887_fixup_asus_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc887_fixup_asus_jack() argument
2745 alc882_parse_auto_config(struct hda_codec * codec) alc882_parse_auto_config() argument
2754 patch_alc882(struct hda_codec * codec) patch_alc882() argument
2814 alc262_parse_auto_config(struct hda_codec * codec) alc262_parse_auto_config() argument
2933 patch_alc262(struct hda_codec * codec) patch_alc262() argument
2993 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); alc268_beep_switch_put() local
3078 alc268_parse_auto_config(struct hda_codec * codec) alc268_parse_auto_config() argument
3086 patch_alc268(struct hda_codec * codec) patch_alc268() argument
3181 alc269_parse_auto_config(struct hda_codec * codec) alc269_parse_auto_config() argument
3232 alc_headset_btn_callback(struct hda_codec * codec,struct hda_jack_callback * jack) alc_headset_btn_callback() argument
3254 alc_disable_headset_jack_key(struct hda_codec * codec) alc_disable_headset_jack_key() argument
3284 alc_enable_headset_jack_key(struct hda_codec * codec) alc_enable_headset_jack_key() argument
3314 alc_fixup_headset_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_jack() argument
3340 alc269vb_toggle_power_output(struct hda_codec * codec,int power_up) alc269vb_toggle_power_output() argument
3345 alc269_shutup(struct hda_codec * codec) alc269_shutup() argument
3391 alc282_restore_default_value(struct hda_codec * codec) alc282_restore_default_value() argument
3396 alc282_init(struct hda_codec * codec) alc282_init() argument
3433 alc282_shutup(struct hda_codec * codec) alc282_shutup() argument
3507 alc283_restore_default_value(struct hda_codec * codec) alc283_restore_default_value() argument
3512 alc283_init(struct hda_codec * codec) alc283_init() argument
3548 alc283_shutup(struct hda_codec * codec) alc283_shutup() argument
3585 alc256_init(struct hda_codec * codec) alc256_init() argument
3634 alc256_shutup(struct hda_codec * codec) alc256_shutup() argument
3682 alc285_hp_init(struct hda_codec * codec) alc285_hp_init() argument
3732 alc225_init(struct hda_codec * codec) alc225_init() argument
3786 alc225_shutup(struct hda_codec * codec) alc225_shutup() argument
3836 alc_default_init(struct hda_codec * codec) alc_default_init() argument
3863 alc_default_shutup(struct hda_codec * codec) alc_default_shutup() argument
3894 alc294_hp_init(struct hda_codec * codec) alc294_hp_init() argument
3926 alc294_init(struct hda_codec * codec) alc294_init() argument
3939 alc5505_coef_set(struct hda_codec * codec,unsigned int index_reg,unsigned int val) alc5505_coef_set() argument
3947 alc5505_coef_get(struct hda_codec * codec,unsigned int index_reg) alc5505_coef_get() argument
3959 alc5505_dsp_halt(struct hda_codec * codec) alc5505_dsp_halt() argument
3974 alc5505_dsp_back_from_halt(struct hda_codec * codec) alc5505_dsp_back_from_halt() argument
3984 alc5505_dsp_init(struct hda_codec * codec) alc5505_dsp_init() argument
4024 alc5505_dsp_suspend(codec) global() argument
4025 alc5505_dsp_resume(codec) global() argument
4027 alc5505_dsp_suspend(codec) global() argument
4028 alc5505_dsp_resume(codec) global() argument
4032 alc269_suspend(struct hda_codec * codec) alc269_suspend() argument
4042 alc269_resume(struct hda_codec * codec) alc269_resume() argument
4079 alc269_fixup_pincfg_no_hp_to_lineout(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_no_hp_to_lineout() argument
4088 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_U7x7_headset_mic() argument
4101 alc269_fixup_hweq(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hweq() argument
4108 alc269_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_headset_mic() argument
4117 alc271_fixup_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_fixup_dmic() argument
4136 alc269vb_fixup_aspire_e1_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269vb_fixup_aspire_e1_coef() argument
4144 alc269_fixup_pcm_44k(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pcm_44k() argument
4159 alc269_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_stereo_dmic() argument
4171 alc269_quanta_automute(struct hda_codec * codec) alc269_quanta_automute() argument
4179 alc269_fixup_quanta_mute(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_quanta_mute() argument
4188 alc269_x101_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc269_x101_hp_automute_hook() argument
4213 alc298_huawei_mbx_stereo_seq(struct hda_codec * codec,const struct hda_alc298_mbxinit * initval,bool first) alc298_huawei_mbx_stereo_seq() argument
4234 alc298_fixup_huawei_mbx_stereo(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_huawei_mbx_stereo() argument
4271 alc269_fixup_x101_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_x101_headset_mic() argument
4281 alc_update_vref_led(struct hda_codec * codec,hda_nid_t pin,bool polarity,bool on) alc_update_vref_led() argument
4303 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_mute_led_set() local
4312 led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) led_power_filter() argument
4329 alc269_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led() argument
4355 alc269_fixup_hp_mute_led_micx(struct hda_codec * codec,const struct hda_fixup * fix,int action,hda_nid_t pin) alc269_fixup_hp_mute_led_micx() argument
4369 alc269_fixup_hp_mute_led_mic1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic1() argument
4375 alc269_fixup_hp_mute_led_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic2() argument
4381 alc269_fixup_hp_mute_led_mic3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic3() argument
4388 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument
4400 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local
4412 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local
4421 alc_fixup_hp_gpio_led(struct hda_codec * codec,int action,unsigned int mute_mask,unsigned int micmute_mask) alc_fixup_hp_gpio_led() argument
4442 alc236_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_gpio_led() argument
4448 alc269_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_led() argument
4454 alc285_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_led() argument
4460 alc286_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc286_fixup_hp_gpio_led() argument
4466 alc287_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_hp_gpio_led() argument
4472 alc245_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_gpio_led() argument
4486 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_micmute_led_set() local
4494 alc269_fixup_hp_gpio_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_mic1_led() argument
4512 alc280_fixup_hp_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio4() argument
4528 alc245_fixup_hp_x360_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_x360_amp() argument
4549 alc274_hp_envy_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc274_hp_envy_pcm_hook() argument
4563 alc274_fixup_hp_envy_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_envy_gpio() argument
4576 alc_update_coef_led(struct hda_codec * codec,struct alc_coef_led * led,bool polarity,bool on) alc_update_coef_led() argument
4591 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_mute_led_set() local
4599 alc285_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led_coefbit() argument
4615 alc236_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit() argument
4631 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit2() argument
4646 alc245_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_coefbit() argument
4666 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_micmute_led_set() local
4674 alc285_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_coef_micmute_led() argument
4688 alc285_fixup_hp_gpio_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_micmute_led() argument
4698 alc236_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_coef_micmute_led() argument
4712 alc285_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led() argument
4719 alc285_fixup_hp_spectre_x360_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_mute_led() argument
4726 alc236_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led() argument
4733 alc236_fixup_hp_micmute_led_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_micmute_led_vref() argument
4745 alc236_fixup_hp_mute_led_micmute_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_micmute_vref() argument
4752 alc298_samsung_write_coef_pack(struct hda_codec * codec,const unsigned short coefs[2]) alc298_samsung_write_coef_pack() argument
4765 alc298_fixup_samsung_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp() argument
4795 gpio2_mic_hotkey_event(struct hda_codec * codec,struct hda_jack_callback * event) gpio2_mic_hotkey_event() argument
4808 alc_register_micmute_input_device(struct hda_codec * codec) alc_register_micmute_input_device() argument
4844 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio2_mic_hotkey() argument
4878 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_line2_mic_hotkey() argument
4908 alc269_fixup_hp_line1_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_line1_mic1_led() argument
4920 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument
4932 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument
4955 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument
5092 alc_headset_mode_mic_in(struct hda_codec * codec,hda_nid_t hp_pin,hda_nid_t mic_pin) alc_headset_mode_mic_in() argument
5231 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument
5352 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument
5476 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument
5578 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument
5772 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument
5832 alc_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) alc_update_headset_mode_hook() argument
5839 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument
5846 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument
5866 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument
5888 alc_fixup_headset_mode_no_hp_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_no_hp_mic() argument
5899 alc255_set_default_jack_type(struct hda_codec * codec) alc255_set_default_jack_type() argument
5932 alc_fixup_headset_mode_alc255(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255() argument
5941 alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255_no_hp_mic() argument
5953 alc288_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc288_update_headset_jack_cb() argument
5963 alc_fixup_headset_mode_dell_alc288(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_dell_alc288() argument
5976 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument
5985 alc_fixup_no_shutup(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_shutup() argument
5994 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument
6005 alc_fixup_tpt440_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt440_dock() argument
6022 alc_fixup_tpt470_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dock() argument
6045 alc_fixup_tpt470_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dacs() argument
6062 alc295_fixup_asus_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_asus_dacs() argument
6074 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument
6085 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument
6112 alc_fixup_headset_mode_alc662(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc662() argument
6129 alc_fixup_headset_mode_alc668(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc668() argument
6141 find_ext_mic_pin(struct hda_codec * codec) find_ext_mic_pin() argument
6162 alc271_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_hp_gate_mic_jack() argument
6178 alc269_fixup_limit_int_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_limit_int_mic_boost() argument
6210 alc283_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc283_hp_automute_hook() argument
6226 alc283_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_chromebook() argument
6247 alc283_fixup_sense_combo_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_sense_combo_jack() argument
6265 asus_tx300_automute(struct hda_codec * codec) asus_tx300_automute() argument
6273 alc282_fixup_asus_tx300(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc282_fixup_asus_tx300() argument
6308 alc290_fixup_mono_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc290_fixup_mono_speakers() argument
6321 alc298_fixup_speaker_volume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_speaker_volume() argument
6338 alc295_fixup_disable_dac3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_disable_dac3() argument
6348 alc285_fixup_speaker2_to_dac1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_speaker2_to_dac1() argument
6358 alc280_hp_gpio4_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc280_hp_gpio4_automute_hook() argument
6375 alc280_fixup_hp_9480m(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_9480m() argument
6390 alc275_fixup_gpio4_off(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc275_fixup_gpio4_off() argument
6409 alc285_fixup_thinkpad_x1_gen7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_thinkpad_x1_gen7() argument
6436 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument
6460 alc225_fixup_s3_pop_noise(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc225_fixup_s3_pop_noise() argument
6470 alc274_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_bind_dacs() argument
6488 alc289_fixup_asus_ga401(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc289_fixup_asus_ga401() argument
6503 alc285_fixup_invalidate_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_invalidate_dacs() argument
6512 alc_combo_jack_hp_jd_restart(struct hda_codec * codec) alc_combo_jack_hp_jd_restart() argument
6536 alc295_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_chromebook() argument
6551 alc_fixup_disable_mic_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_mic_vref() argument
6559 alc294_gx502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gx502_toggle_output() argument
6571 alc294_fixup_gx502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gx502_hp() argument
6592 alc294_gu502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gu502_toggle_output() argument
6604 alc294_fixup_gu502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gu502_hp() argument
6621 alc285_fixup_hp_gpio_amp_init(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_amp_init() argument
6631 alc274_fixup_hp_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_headset_mic() argument
6641 alc_fixup_no_int_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_int_mic() argument
6661 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_eb1() argument
6696 alc285_fixup_hp_spectre_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360() argument
6714 alc285_fixup_hp_envy_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_envy_x360() argument
6771 alc_fixup_thinkpad_acpi(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_thinkpad_acpi() argument
6779 alc287_fixup_legion_15imhg05_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_legion_15imhg05_speakers() argument
6951 cs35l41_fixup_spi_two(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_two() argument
6956 cs35l41_fixup_spi_four(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_four() argument
6992 alc256_fixup_set_coef_defaults(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_set_coef_defaults() argument
7014 alc233_fixup_no_audio_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_no_audio_jack() argument
7028 alc256_fixup_mic_no_presence_and_resume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_mic_no_presence_and_resume() argument
7045 alc_fixup_dell4_mic_no_presence_quiet(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell4_mic_no_presence_quiet() argument
7080 alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_yoga9_14iap7_bass_spk_pin() argument
7117 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_dell_inspiron_top_speakers() argument
7146 alc287_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_bind_dacs() argument
7167 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument
7471 alc298_fixup_lenovo_c940_duet7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_lenovo_c940_duet7() argument
7491 alc287_fixup_lenovo_14irp8_duetitl(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_14irp8_duetitl() argument
11088 alc269_fill_coef(struct hda_codec * codec) alc269_fill_coef() argument
11130 patch_alc269(struct hda_codec * codec) patch_alc269() argument
11343 alc861_parse_auto_config(struct hda_codec * codec) alc861_parse_auto_config() argument
11360 alc861_fixup_asus_amp_vref_0f(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861_fixup_asus_amp_vref_0f() argument
11377 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument
11432 patch_alc861(struct hda_codec * codec) patch_alc861() argument
11481 alc861vd_parse_auto_config(struct hda_codec * codec) alc861vd_parse_auto_config() argument
11494 alc861vd_fixup_dallas(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861vd_fixup_dallas() argument
11504 alc660vd_fixup_asus_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc660vd_fixup_asus_gpio1() argument
11534 patch_alc861vd(struct hda_codec * codec) patch_alc861vd() argument
11590 alc662_parse_auto_config(struct hda_codec * codec) alc662_parse_auto_config() argument
11606 alc272_fixup_mario(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc272_fixup_mario() argument
11629 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument
11639 gpio_led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) gpio_led_power_filter() argument
11649 alc662_fixup_led_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_led_gpio1() argument
11661 alc662_usi_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc662_usi_automute_hook() argument
11675 alc662_fixup_usi_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_usi_headset_mic() argument
11685 alc662_aspire_ethos_mute_speakers(struct hda_codec * codec,struct hda_jack_callback * cb) alc662_aspire_ethos_mute_speakers() argument
11703 alc662_fixup_aspire_ethos_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_aspire_ethos_hp() argument
11726 alc671_fixup_hp_headset_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc671_fixup_hp_headset_mic2() argument
11749 alc897_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc897_hp_automute_hook() argument
11760 alc897_fixup_lenovo_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mic() argument
11773 alc897_fixup_lenovo_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mode() argument
11808 alc668_restore_default_value(struct hda_codec * codec) alc668_restore_default_value() argument
12552 patch_alc662(struct hda_codec * codec) patch_alc662() argument
12633 alc680_parse_auto_config(struct hda_codec * codec) alc680_parse_auto_config() argument
12640 patch_alc680(struct hda_codec * codec) patch_alc680() argument
[all...]
H A Dpatch_conexant.c74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() argument
85 #define cx_auto_parse_beep(codec) 0 argument
93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() argument
118 cx_auto_turn_eapd(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) cx_auto_turn_eapd() argument
133 struct hda_codec *codec = private_data; cx_auto_vmaster_hook() local
143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cx_auto_vmaster_mute_led() local
152 cxt_init_gpio_led(struct hda_codec * codec) cxt_init_gpio_led() argument
167 cx_fixup_headset_recog(struct hda_codec * codec) cx_fixup_headset_recog() argument
188 cx_auto_init(struct hda_codec * codec) cx_auto_init() argument
204 cx_auto_shutdown(struct hda_codec * codec) cx_auto_shutdown() argument
213 cx_auto_free(struct hda_codec * codec) cx_auto_free() argument
219 cx_process_headset_plugin(struct hda_codec * codec) cx_process_headset_plugin() argument
246 cx_update_headset_mic_vref(struct hda_codec * codec,struct hda_jack_callback * event) cx_update_headset_mic_vref() argument
262 cx_auto_suspend(struct hda_codec * codec) cx_auto_suspend() argument
319 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument
327 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument
339 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument
352 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument
379 cxt_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) cxt_update_headset_mode_hook() argument
386 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument
407 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument
428 update_mic_pin(codec,nid,val) global() argument
441 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument
456 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument
511 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument
526 olpc_xo_capture_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) olpc_xo_capture_hook() argument
550 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local
559 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local
575 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local
590 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local
631 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local
639 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument
670 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument
686 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument
700 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument
710 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument
722 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument
746 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local
757 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local
764 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument
781 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument
788 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument
1130 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument
1145 patch_conexant_auto(struct hda_codec * codec) patch_conexant_auto() argument
[all...]
H A Dpatch_cs8409.c22 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config()
55 static struct cs8409_spec *cs8409_alloc_spec(struct hda_codec *codec) in cs8409_alloc_spec()
72 static inline int cs8409_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs8409_vendor_coef_get()
78 static inline void cs8409_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs8409_vendor_coef_set()
91 static void cs8409_disable_i2c_clock(struct hda_codec *codec) in cs8409_disable_i2c_clock()
120 static void cs8409_enable_i2c_clock(struct hda_codec *codec) in cs8409_enable_i2c_clock()
146 static int cs8409_i2c_wait_complete(struct hda_codec *codec) in cs8409_i2c_wait_complete()
159 static void cs8409_set_i2c_dev_addr(struct hda_codec *codec, unsigned int addr) in cs8409_set_i2c_dev_addr()
178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page() local
199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read() local
[all …]
H A Dhda_jack.c29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable()
46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense()
71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst()
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()
128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new()
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()
[all …]
H A Dpatch_analog.c50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls()
72 #define create_beep_ctls(codec) 0 argument
76 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write()
87 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd()
115 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend()
126 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local
142 static int ad198x_auto_build_controls(struct hda_codec *codec) in ad198x_auto_build_controls()
168 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config()
196 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec()
214 static void ad_fixup_inv_jack_detect(struct hda_codec *codec, in ad_fixup_inv_jack_detect()
[all …]
H A Dpatch_hdmi.c78 struct hda_codec *codec; member
132 struct hda_codec *codec; member
197 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp()
203 #define codec_has_acomp(codec) false argument
251 static int pin_id_to_pin_index(struct hda_codec *codec, in pin_id_to_pin_index()
276 static int hinfo_to_pcm_index(struct hda_codec *codec, in hinfo_to_pcm_index()
290 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index()
323 static int cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) in cvt_nid_to_cvt_index()
339 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local
366 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local
[all …]
H A Dpatch_ca0132.c1135 struct hda_codec *codec; member
1515 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
1525 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
1532 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel()
1544 static int chipio_send(struct hda_codec *codec, in chipio_send()
1566 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address()
1593 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data()
1617 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple()
1638 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data()
1669 static int chipio_write(struct hda_codec *codec, in chipio_write()
[all …]
H A Dpatch_sigmatel.c242 struct hda_codec *codec, in stac_playback_pcm_hook()
252 struct hda_codec *codec, in stac_capture_pcm_hook()
289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set()
327 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); in stac_capture_led_update() local
338 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set()
363 static unsigned int stac_vref_led_power_filter(struct hda_codec *codec, in stac_vref_led_power_filter()
373 static void stac_update_led_status(struct hda_codec *codec, bool muted) in stac_update_led_status()
402 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); in stac_vmaster_hook() local
409 static void stac_update_outputs(struct hda_codec *codec) in stac_update_outputs()
434 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map()
[all …]
H A Dpatch_cirrus.c130 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get()
140 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set()
157 static void cs_automute(struct hda_codec *codec) in cs_automute()
178 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin()
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()
344 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config()
494 static void cs420x_fixup_gpio_13(struct hda_codec *codec, in cs420x_fixup_gpio_13()
[all …]
H A Dhda_proc.c22 #define param_read(codec, nid, parm) \ argument
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()
94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps()
112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps()
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()
[all …]
H A Dhda_sysfs.c34 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local
43 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local
80 static ssize_t pin_configs_show(struct hda_codec *codec, in pin_configs_show()
99 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() local
107 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() local
117 static int clear_codec(struct hda_codec *codec) in clear_codec()
130 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec()
220 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_show() local
232 static int parse_init_verbs(struct hda_codec *codec, const char *buf) in parse_init_verbs()
258 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local
[all …]
H A Dpatch_si3054.c64 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) argument
65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) argument
66 #define SET_REG_CACHE(codec,reg,val) \ argument
88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local
98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() local
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()
[all …]
H A Dhda_auto_parser.c56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin()
104 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity()
125 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic()
168 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg()
480 static const char *hda_get_input_pin_label(struct hda_codec *codec, in hda_get_input_pin_label()
532 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need()
569 const char *hda_get_autocfg_input_label(struct hda_codec *codec, in hda_get_autocfg_input_label()
620 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
635 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
652 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
[all …]
/openbmc/linux/sound/hda/
H A Dhdac_regmap.c25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock()
30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock()
40 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
67 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
116 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local
156 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp()
174 static int hda_reg_write_stereo_amp(struct hdac_device *codec, in hda_reg_write_stereo_amp()
204 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef()
222 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef()
242 struct hdac_device *codec = context; in hda_reg_read() local
[all …]
H A Dhdac_device.c40 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init()
127 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit()
142 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register()
165 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister()
184 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name()
207 int snd_hdac_codec_modalias(const struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias()
224 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd()
256 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, in snd_hdac_exec_verb()
275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm()
[all …]
H A Dhdac_sysfs.c114 struct hdac_device *codec; in widget_attr_show() local
130 struct hdac_device *codec; in widget_attr_store() local
161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show()
176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show()
188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap()
201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show()
210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show()
219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show()
228 static ssize_t amp_out_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_out_caps_show()
[all …]
/openbmc/linux/sound/pci/ali5451/
H A Dali5451.c141 #define ALI_REG(codec, x) ((codec)->port + x) argument
180 struct snd_ali *codec; member
266 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek()
272 static inline void snd_ali_5451_poke(struct snd_ali *codec, in snd_ali_5451_poke()
279 static int snd_ali_codec_ready(struct snd_ali *codec, in snd_ali_codec_ready()
301 static int snd_ali_stimer_ready(struct snd_ali *codec) in snd_ali_stimer_ready()
322 static void snd_ali_codec_poke(struct snd_ali *codec,int secondary, in snd_ali_codec_poke()
354 static unsigned short snd_ali_codec_peek(struct snd_ali *codec, in snd_ali_codec_peek()
393 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_write() local
409 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_read() local
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dtas2781-i2c.c62 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_getvol() local
73 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_putvol() local
84 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_getvol() local
95 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_putvol() local
154 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_set_profile_id() local
171 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_programs() local
186 struct snd_soc_component *codec = in tasdevice_info_configurations() local
202 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_profile() local
216 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_get_profile_id() local
264 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_program_get() local
[all …]
H A Dhda.c16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais()
81 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais()
122 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais()
144 int hda_codec_probe_complete(struct hda_codec *codec) in hda_codec_probe_complete()
173 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_probe() local
271 struct hda_codec *codec = dev_to_hda_codec(component->dev); in hda_codec_remove() local
348 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); in hda_hdev_attach() local
375 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); in hda_hdev_detach() local
/openbmc/linux/sound/soc/tegra/
H A Dtegra186_dspk.c31 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_fifo_th() local
42 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_fifo_th() local
57 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_osr_val() local
68 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_osr_val() local
83 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_pol_sel() local
94 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_pol_sel() local
109 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_ch_sel() local
120 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_ch_sel() local
135 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_mono_to_stereo() local
146 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_mono_to_stereo() local
[all …]
/openbmc/linux/include/sound/
H A Dhda_regmap.h79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write()
97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update()
115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read()
136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp()
160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp()
181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo()
205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo()
219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid) in snd_hdac_regmap_sync_node()

12345678910>>...12