Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 948) sorted by relevance

12345678910>>...38

/linux/sound/pci/hda/
H A Dhda_bind.c23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
34 codec->preset = list; in hda_codec_match()
44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
47 if (codec->bus->shutdown) in hda_codec_unsol_event()
51 if (codec->core.dev.power.power_state.event != PM_EVENT_ON) in hda_codec_unsol_event()
54 if (codec->patch_ops.unsol_event) in hda_codec_unsol_event()
55 codec->patch_ops.unsol_event(codec, ev); 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() argument
[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() argument
1519 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
1525 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() argument
1528 return codec_send_command(codec, nid, VENDOR_CHIPIO_STREAM_FORMAT, in codec_set_converter_format()
1532 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel() argument
1539 return codec_send_command(codec, nid, AC_VERB_SET_CHANNEL_STREAMID, in codec_set_converter_stream_channel()
1544 static int chipio_send(struct hda_codec *codec, in chipio_send() argument
1553 res = snd_hda_codec_read(codec, WIDGET_CHIP_CTRL, 0, in chipio_send()
1566 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address() argument
[all …]
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
30 ((codec)->core.power_caps & AC_PWRST_EPSS)
31 #define codec_has_clkstop(codec) \ argument
32 ((codec)->core.power_caps & AC_PWRST_CLKSTOP)
40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local
41 struct hda_bus *bus = codec->bus; in codec_exec_verb()
48 snd_hda_power_up_pm(codec); in codec_exec_verb()
52 err = snd_hdac_bus_exec_verb_unlocked(&bus->core, codec->core.addr, in codec_exec_verb()
[all …]
H A Dpatch_via.c92 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec);
94 struct hda_codec *codec,
100 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec() argument
108 codec->spec = spec; in via_new_spec()
110 spec->codec_type = get_codec_type(codec); in via_new_spec()
119 codec->power_save_node = 1; in via_new_spec()
121 codec->patch_ops = via_patch_ops; in via_new_spec()
125 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type() argument
127 u32 vendor_id = codec->core.vendor_id; in get_codec_type()
143 if (snd_hda_param_read(codec, 0x16, AC_PAR_CONNLIST_LEN) == 0x7) in get_codec_type()
[all …]
H A Dpatch_hdmi.c78 struct hda_codec *codec; member
99 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid,
102 void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid,
107 int (*pin_hbr_setup)(struct hda_codec *codec, hda_nid_t pin_nid,
110 int (*setup_stream)(struct hda_codec *codec, hda_nid_t cvt_nid,
114 void (*pin_cvt_fixup)(struct hda_codec *codec,
132 struct hda_codec *codec; member
197 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp() argument
199 struct hdmi_spec *spec = codec->spec; in codec_has_acomp()
203 #define codec_has_acomp(codec) false argument
[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() argument
132 struct cs_spec *spec = codec->spec; in cs_vendor_coef_get()
134 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_get()
136 return snd_hda_codec_read(codec, spec->vendor_nid, 0, 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() argument
143 struct cs_spec *spec = codec->spec; in cs_vendor_coef_set()
145 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
147 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set()
157 static void cs_automute(struct hda_codec *codec) in cs_automute() argument
159 struct cs_spec *spec = codec->spec; in cs_automute()
[all …]
H A Dhda_generic.c105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() argument
107 struct hda_gen_spec *spec = codec->spec; in parse_user_hints()
110 val = snd_hda_get_bool_hint(codec, "jack_detect"); in parse_user_hints()
112 codec->no_jack_detect = !val; in parse_user_hints()
113 val = snd_hda_get_bool_hint(codec, "inv_jack_detect"); in parse_user_hints()
115 codec->inv_jack_detect = !!val; in parse_user_hints()
116 val = snd_hda_get_bool_hint(codec, "trigger_sense"); in parse_user_hints()
118 codec->no_trigger_sense = !val; in parse_user_hints()
119 val = snd_hda_get_bool_hint(codec, "inv_eapd"); in parse_user_hints()
121 codec->inv_eapd = !!val; in parse_user_hints()
[all …]
H A Dpatch_conexant.c74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() argument
76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep()
79 for_each_hda_codec_node(nid, codec) in cx_auto_parse_beep()
80 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in cx_auto_parse_beep()
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
95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd()
98 for_each_hda_codec_node(nid, codec) { in cx_auto_parse_eapd()
99 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in cx_auto_parse_eapd()
101 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_EAPD)) in cx_auto_parse_eapd()
[all …]
H A Dpatch_analog.c50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() argument
52 struct ad198x_spec *spec = codec->spec; in create_beep_ctls()
61 kctl = snd_ctl_new1(knew, codec); in create_beep_ctls()
65 err = snd_hda_ctl_add(codec, 0, kctl); in create_beep_ctls()
72 #define create_beep_ctls(codec) 0 argument
75 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() argument
78 if (snd_hda_query_pin_caps(codec, front) & AC_PINCAP_EAPD) in ad198x_power_eapd_write()
79 snd_hda_codec_write(codec, front, 0, AC_VERB_SET_EAPD_BTLENABLE, in ad198x_power_eapd_write()
80 !codec->inv_eapd ? 0x00 : 0x02); in ad198x_power_eapd_write()
81 if (snd_hda_query_pin_caps(codec, hp) & AC_PINCAP_EAPD) in ad198x_power_eapd_write()
[all …]
H A Dpatch_realtek.c86 /* codec parameterization */
114 void (*init_hook)(struct hda_codec *codec);
115 void (*power_hook)(struct hda_codec *codec);
116 void (*shutup)(struct hda_codec *codec);
145 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock()
147 struct alc_spec *spec = codec->spec; in coef_mutex_lock()
149 snd_hda_power_up_pm(codec); in coef_mutex_lock()
153 static void coef_mutex_unlock(struct hda_codec *codec) in coef_mutex_unlock()
155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock()
158 snd_hda_power_down_pm(codec); in coef_mutex_unlock()
144 coef_mutex_lock(struct hda_codec * codec) coef_mutex_lock() argument
152 coef_mutex_unlock(struct hda_codec * codec) coef_mutex_unlock() argument
160 __alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) __alc_read_coefex_idx() argument
170 alc_read_coefex_idx(struct hda_codec * codec,hda_nid_t nid,unsigned int coef_idx) alc_read_coefex_idx() argument
181 alc_read_coef_idx(codec,coef_idx) global() argument
184 __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
191 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
199 alc_write_coef_idx(codec,coef_idx,coef_val) global() argument
202 __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
213 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
222 alc_update_coef_idx(codec,coef_idx,mask,bits_set) global() argument
226 alc_get_coef0(struct hda_codec * codec) alc_get_coef0() argument
249 alc_process_coef_fw(struct hda_codec * codec,const struct coef_fw * fw) alc_process_coef_fw() argument
268 alc_setup_gpio(struct hda_codec * codec,unsigned int mask) alc_setup_gpio() argument
277 alc_write_gpio_data(struct hda_codec * codec) alc_write_gpio_data() argument
285 alc_update_gpio_data(struct hda_codec * codec,unsigned int mask,bool on) alc_update_gpio_data() argument
299 alc_write_gpio(struct hda_codec * codec) alc_write_gpio() argument
315 alc_fixup_gpio(struct hda_codec * codec,int action,unsigned int mask) alc_fixup_gpio() argument
322 alc_fixup_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio1() argument
328 alc_fixup_gpio2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio2() argument
334 alc_fixup_gpio3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio3() argument
340 alc_fixup_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_gpio4() argument
346 alc_fixup_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_micmute_led() argument
358 alc_fix_pll(struct hda_codec * codec) alc_fix_pll() argument
367 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
378 alc_update_knob_master(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_knob_master() argument
400 alc880_unsol_event(struct hda_codec * codec,unsigned int res) alc880_unsol_event() argument
408 alc_fill_eapd_coef(struct hda_codec * codec) alc_fill_eapd_coef() argument
524 alc888_coef_init(struct hda_codec * codec) alc888_coef_init() argument
537 set_eapd(struct hda_codec * codec,hda_nid_t nid,int on) set_eapd() argument
547 alc_auto_setup_eapd(struct hda_codec * codec,bool on) alc_auto_setup_eapd() argument
560 alc_headset_mic_no_shutup(struct hda_codec * codec) alc_headset_mic_no_shutup() argument
582 alc_shutup_pins(struct hda_codec * codec) alc_shutup_pins() argument
609 alc_eapd_shutup(struct hda_codec * codec) alc_eapd_shutup() argument
620 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument
663 alc_fixup_sku_ignore(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_sku_ignore() argument
673 alc_fixup_no_depop_delay(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_depop_delay() argument
684 alc_auto_parse_customize_define(struct hda_codec * codec) alc_auto_parse_customize_define() argument
775 alc_subsystem_id(struct hda_codec * codec,const hda_nid_t * ports) alc_subsystem_id() argument
877 alc_ssid_check(struct hda_codec * codec,const hda_nid_t * ports) alc_ssid_check() argument
892 alc_fixup_inv_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_inv_dmic() argument
901 alc_build_controls(struct hda_codec * codec) alc_build_controls() argument
918 alc_pre_init(struct hda_codec * codec) alc_pre_init() argument
923 is_s3_resume(codec) global() argument
925 is_s4_resume(codec) global() argument
927 is_s4_suspend(codec) global() argument
930 alc_init(struct hda_codec * codec) alc_init() argument
954 alc_shutup(struct hda_codec * codec) alc_shutup() argument
967 alc_power_eapd(struct hda_codec * codec) alc_power_eapd() argument
972 alc_suspend(struct hda_codec * codec) alc_suspend() argument
981 alc_resume(struct hda_codec * codec) alc_resume() argument
1007 alc_codec_rename(codec,name) global() argument
1078 alc_codec_rename_from_preset(struct hda_codec * codec) alc_codec_rename_from_preset() argument
1151 has_cdefine_beep(struct hda_codec * codec) has_cdefine_beep() argument
1162 has_cdefine_beep(codec) global() argument
1169 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
1193 alc_alloc_spec(struct hda_codec * codec,hda_nid_t mixer_nid) alc_alloc_spec() argument
1219 alc880_parse_auto_config(struct hda_codec * codec) alc880_parse_auto_config() argument
1258 alc880_fixup_vol_knob(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc880_fixup_vol_knob() argument
1641 patch_alc880(struct hda_codec * codec) patch_alc880() argument
1686 alc260_parse_auto_config(struct hda_codec * codec) alc260_parse_auto_config() argument
1710 alc260_gpio1_automute(struct hda_codec * codec) alc260_gpio1_automute() argument
1717 alc260_fixup_gpio1_toggle(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_gpio1_toggle() argument
1735 alc260_fixup_kn1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_kn1() argument
1763 alc260_fixup_fsc_s7020(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020() argument
1771 alc260_fixup_fsc_s7020_jwse(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc260_fixup_fsc_s7020_jwse() argument
1890 patch_alc260(struct hda_codec * codec) patch_alc260() argument
1996 alc889_fixup_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_coef() argument
2005 alc885_fixup_macpro_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc885_fixup_macpro_gpio() argument
2018 alc889_fixup_dac_route(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_dac_route() argument
2040 alc889_fixup_mbp_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mbp_vref() argument
2061 alc889_fixup_mac_pins(struct hda_codec * codec,const hda_nid_t * nids,int num_nids) alc889_fixup_mac_pins() argument
2077 alc889_fixup_imac91_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_imac91_vref() argument
2087 alc889_fixup_mba11_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba11_vref() argument
2097 alc889_fixup_mba21_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc889_fixup_mba21_vref() argument
2110 alc882_fixup_no_primary_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc882_fixup_no_primary_hp() argument
2126 alc_fixup_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dual_codecs() argument
2144 rename_ctl(struct hda_codec * codec,const char * oldname,const char * newname) rename_ctl() argument
2154 alc1220_fixup_gb_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_dual_codecs() argument
2178 alc1220_fixup_gb_x570(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_gb_x570() argument
2202 alc1220_fixup_clevo_p950(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_p950() argument
2222 alc1220_fixup_clevo_pb51ed(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc1220_fixup_clevo_pb51ed() argument
2230 alc887_asus_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc887_asus_hp_automute_hook() argument
2245 alc887_fixup_asus_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc887_fixup_asus_jack() argument
2741 alc882_parse_auto_config(struct hda_codec * codec) alc882_parse_auto_config() argument
2750 patch_alc882(struct hda_codec * codec) patch_alc882() argument
2810 alc262_parse_auto_config(struct hda_codec * codec) alc262_parse_auto_config() argument
2929 patch_alc262(struct hda_codec * codec) patch_alc262() argument
2989 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); alc268_beep_switch_put() local
3074 alc268_parse_auto_config(struct hda_codec * codec) alc268_parse_auto_config() argument
3082 patch_alc268(struct hda_codec * codec) patch_alc268() argument
3177 alc269_parse_auto_config(struct hda_codec * codec) alc269_parse_auto_config() argument
3228 alc_headset_btn_callback(struct hda_codec * codec,struct hda_jack_callback * jack) alc_headset_btn_callback() argument
3250 alc_disable_headset_jack_key(struct hda_codec * codec) alc_disable_headset_jack_key() argument
3280 alc_enable_headset_jack_key(struct hda_codec * codec) alc_enable_headset_jack_key() argument
3310 alc_fixup_headset_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_jack() argument
3336 alc269vb_toggle_power_output(struct hda_codec * codec,int power_up) alc269vb_toggle_power_output() argument
3341 alc269_shutup(struct hda_codec * codec) alc269_shutup() argument
3387 alc282_restore_default_value(struct hda_codec * codec) alc282_restore_default_value() argument
3392 alc282_init(struct hda_codec * codec) alc282_init() argument
3429 alc282_shutup(struct hda_codec * codec) alc282_shutup() argument
3503 alc283_restore_default_value(struct hda_codec * codec) alc283_restore_default_value() argument
3508 alc283_init(struct hda_codec * codec) alc283_init() argument
3544 alc283_shutup(struct hda_codec * codec) alc283_shutup() argument
3581 alc256_init(struct hda_codec * codec) alc256_init() argument
3633 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
3791 alc225_shutup(struct hda_codec * codec) alc225_shutup() argument
3845 alc_default_init(struct hda_codec * codec) alc_default_init() argument
3874 alc_default_shutup(struct hda_codec * codec) alc_default_shutup() argument
3907 alc294_hp_init(struct hda_codec * codec) alc294_hp_init() argument
3939 alc294_init(struct hda_codec * codec) alc294_init() argument
3952 alc5505_coef_set(struct hda_codec * codec,unsigned int index_reg,unsigned int val) alc5505_coef_set() argument
3960 alc5505_coef_get(struct hda_codec * codec,unsigned int index_reg) alc5505_coef_get() argument
3972 alc5505_dsp_halt(struct hda_codec * codec) alc5505_dsp_halt() argument
3987 alc5505_dsp_back_from_halt(struct hda_codec * codec) alc5505_dsp_back_from_halt() argument
3997 alc5505_dsp_init(struct hda_codec * codec) alc5505_dsp_init() argument
4037 alc5505_dsp_suspend(codec) global() argument
4038 alc5505_dsp_resume(codec) global() argument
4040 alc5505_dsp_suspend(codec) global() argument
4041 alc5505_dsp_resume(codec) global() argument
4044 alc269_suspend(struct hda_codec * codec) alc269_suspend() argument
4054 alc269_resume(struct hda_codec * codec) alc269_resume() argument
4090 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
4099 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pincfg_U7x7_headset_mic() argument
4112 alc269_fixup_hweq(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hweq() argument
4119 alc269_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_headset_mic() argument
4128 alc271_fixup_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_fixup_dmic() argument
4147 alc269vb_fixup_aspire_e1_coef(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269vb_fixup_aspire_e1_coef() argument
4155 alc269_fixup_pcm_44k(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_pcm_44k() argument
4170 alc269_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_stereo_dmic() argument
4182 alc269_quanta_automute(struct hda_codec * codec) alc269_quanta_automute() argument
4190 alc269_fixup_quanta_mute(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_quanta_mute() argument
4199 alc269_x101_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc269_x101_hp_automute_hook() argument
4224 alc298_huawei_mbx_stereo_seq(struct hda_codec * codec,const struct hda_alc298_mbxinit * initval,bool first) alc298_huawei_mbx_stereo_seq() argument
4245 alc298_fixup_huawei_mbx_stereo(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_huawei_mbx_stereo() argument
4282 alc269_fixup_x101_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_x101_headset_mic() argument
4292 alc_update_vref_led(struct hda_codec * codec,hda_nid_t pin,bool polarity,bool on) alc_update_vref_led() argument
4314 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_mute_led_set() local
4323 led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) led_power_filter() argument
4340 alc269_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led() argument
4366 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
4380 alc269_fixup_hp_mute_led_mic1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic1() argument
4386 alc269_fixup_hp_mute_led_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic2() argument
4392 alc269_fixup_hp_mute_led_mic3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_mute_led_mic3() argument
4399 alc_update_gpio_led(struct hda_codec * codec,unsigned int mask,int polarity,bool enabled) alc_update_gpio_led() argument
4411 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local
4423 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local
4432 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
4453 alc236_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_gpio_led() argument
4459 alc269_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_led() argument
4465 alc285_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_led() argument
4471 alc286_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc286_fixup_hp_gpio_led() argument
4477 alc287_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_hp_gpio_led() argument
4483 alc245_fixup_hp_gpio_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_gpio_led() argument
4497 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_micmute_led_set() local
4505 alc269_fixup_hp_gpio_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_gpio_mic1_led() argument
4523 alc280_fixup_hp_gpio4(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio4() argument
4539 alc245_fixup_hp_x360_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_x360_amp() argument
4560 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
4574 alc274_fixup_hp_envy_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_envy_gpio() argument
4587 alc_update_coef_led(struct hda_codec * codec,struct alc_coef_led * led,bool polarity,bool on) alc_update_coef_led() argument
4602 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_mute_led_set() local
4610 alc285_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led_coefbit() argument
4626 alc236_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit() argument
4642 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led_coefbit2() argument
4657 alc245_fixup_hp_mute_led_coefbit(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_mute_led_coefbit() argument
4677 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_micmute_led_set() local
4685 alc285_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_coef_micmute_led() argument
4699 alc285_fixup_hp_gpio_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_micmute_led() argument
4709 alc236_fixup_hp_coef_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_coef_micmute_led() argument
4723 alc285_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_mute_led() argument
4730 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
4737 alc236_fixup_hp_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_mute_led() argument
4744 alc236_fixup_hp_micmute_led_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc236_fixup_hp_micmute_led_vref() argument
4756 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
4763 alc298_samsung_write_coef_pack(struct hda_codec * codec,const unsigned short coefs[2]) alc298_samsung_write_coef_pack() argument
4776 alc298_fixup_samsung_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_samsung_amp() argument
4808 gpio2_mic_hotkey_event(struct hda_codec * codec,struct hda_jack_callback * event) gpio2_mic_hotkey_event() argument
4821 alc_register_micmute_input_device(struct hda_codec * codec) alc_register_micmute_input_device() argument
4857 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_gpio2_mic_hotkey() argument
4891 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_lenovo_line2_mic_hotkey() argument
4921 alc269_fixup_hp_line1_mic1_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_hp_line1_mic1_led() argument
4933 alc_hp_mute_disable(struct hda_codec * codec,unsigned int delay) alc_hp_mute_disable() argument
4945 alc_hp_enable_unmute(struct hda_codec * codec,unsigned int delay) alc_hp_enable_unmute() argument
4968 alc_headset_mode_unplugged(struct hda_codec * codec) alc_headset_mode_unplugged() argument
5105 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
5244 alc_headset_mode_default(struct hda_codec * codec) alc_headset_mode_default() argument
5365 alc_headset_mode_ctia(struct hda_codec * codec) alc_headset_mode_ctia() argument
5489 alc_headset_mode_omtp(struct hda_codec * codec) alc_headset_mode_omtp() argument
5591 alc_determine_headset_type(struct hda_codec * codec) alc_determine_headset_type() argument
5785 alc_update_headset_mode(struct hda_codec * codec) alc_update_headset_mode() argument
5845 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
5852 alc_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc_update_headset_jack_cb() argument
5859 alc_probe_headset_mode(struct hda_codec * codec) alc_probe_headset_mode() argument
5879 alc_fixup_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode() argument
5901 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
5912 alc255_set_default_jack_type(struct hda_codec * codec) alc255_set_default_jack_type() argument
5945 alc_fixup_headset_mode_alc255(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc255() argument
5954 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
5966 alc288_update_headset_jack_cb(struct hda_codec * codec,struct hda_jack_callback * jack) alc288_update_headset_jack_cb() argument
5976 alc_fixup_headset_mode_dell_alc288(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_dell_alc288() argument
5989 alc_fixup_auto_mute_via_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_auto_mute_via_amp() argument
5998 alc_fixup_no_shutup(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_shutup() argument
6007 alc_fixup_disable_aamix(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_aamix() argument
6018 alc_fixup_tpt440_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt440_dock() argument
6035 alc_fixup_tpt470_dock(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dock() argument
6058 alc_fixup_tpt470_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_tpt470_dacs() argument
6075 alc295_fixup_asus_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_asus_dacs() argument
6087 alc_shutup_dell_xps13(struct hda_codec * codec) alc_shutup_dell_xps13() argument
6098 alc_fixup_dell_xps13(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_dell_xps13() argument
6125 alc_fixup_headset_mode_alc662(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc662() argument
6142 alc_fixup_headset_mode_alc668(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mode_alc668() argument
6154 find_ext_mic_pin(struct hda_codec * codec) find_ext_mic_pin() argument
6175 alc271_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc271_hp_gate_mic_jack() argument
6191 alc269_fixup_limit_int_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc269_fixup_limit_int_mic_boost() argument
6223 alc283_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc283_hp_automute_hook() argument
6239 alc283_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_chromebook() argument
6260 alc283_fixup_sense_combo_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc283_fixup_sense_combo_jack() argument
6278 asus_tx300_automute(struct hda_codec * codec) asus_tx300_automute() argument
6286 alc282_fixup_asus_tx300(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc282_fixup_asus_tx300() argument
6321 alc290_fixup_mono_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc290_fixup_mono_speakers() argument
6334 alc298_fixup_speaker_volume(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_speaker_volume() argument
6351 alc295_fixup_disable_dac3(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_disable_dac3() argument
6361 alc285_fixup_speaker2_to_dac1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_speaker2_to_dac1() argument
6371 alc280_hp_gpio4_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc280_hp_gpio4_automute_hook() argument
6388 alc280_fixup_hp_9480m(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc280_fixup_hp_9480m() argument
6403 alc275_fixup_gpio4_off(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc275_fixup_gpio4_off() argument
6422 alc285_fixup_thinkpad_x1_gen7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_thinkpad_x1_gen7() argument
6449 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_alc662_fixup_lenovo_dual_codecs() argument
6473 alc225_fixup_s3_pop_noise(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc225_fixup_s3_pop_noise() argument
6483 alc274_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_bind_dacs() argument
6501 alc289_fixup_asus_ga401(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc289_fixup_asus_ga401() argument
6516 alc285_fixup_invalidate_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_invalidate_dacs() argument
6525 alc_combo_jack_hp_jd_restart(struct hda_codec * codec) alc_combo_jack_hp_jd_restart() argument
6549 alc295_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_chromebook() argument
6564 alc256_fixup_chromebook(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_chromebook() argument
6578 alc_fixup_disable_mic_vref(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_disable_mic_vref() argument
6586 alc294_gx502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gx502_toggle_output() argument
6598 alc294_fixup_gx502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gx502_hp() argument
6619 alc294_gu502_toggle_output(struct hda_codec * codec,struct hda_jack_callback * cb) alc294_gu502_toggle_output() argument
6631 alc294_fixup_gu502_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc294_fixup_gu502_hp() argument
6648 alc285_fixup_hp_gpio_amp_init(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_gpio_amp_init() argument
6658 alc274_fixup_hp_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc274_fixup_hp_headset_mic() argument
6668 alc_fixup_no_int_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_int_mic() argument
6688 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360_eb1() argument
6723 alc285_fixup_hp_spectre_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_spectre_x360() argument
6741 alc285_fixup_hp_envy_x360(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc285_fixup_hp_envy_x360() argument
6798 alc_fixup_thinkpad_acpi(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_thinkpad_acpi() argument
6806 alc287_fixup_legion_15imhg05_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_legion_15imhg05_speakers() argument
6977 cs35l41_fixup_spi_two(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_two() argument
6982 cs35l41_fixup_spi_four(struct hda_codec * codec,const struct hda_fixup * fix,int action) cs35l41_fixup_spi_four() argument
7043 alc256_fixup_acer_sfg16_micmute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_acer_sfg16_micmute_led() argument
7063 alc256_fixup_set_coef_defaults(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_fixup_set_coef_defaults() argument
7085 alc233_fixup_no_audio_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc233_fixup_no_audio_jack() argument
7099 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
7116 alc256_decrease_headphone_amp_val(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc256_decrease_headphone_amp_val() argument
7135 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
7170 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
7207 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc295_fixup_dell_inspiron_top_speakers() argument
7236 alc287_fixup_bind_dacs(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_bind_dacs() argument
7257 alc_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_headset_mic() argument
7275 alc245_fixup_hp_spectre_x360_eu0xxx(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc245_fixup_hp_spectre_x360_eu0xxx() argument
7311 alc287_alc1318_playback_pcm_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) alc287_alc1318_playback_pcm_hook() argument
7326 alc287_s4_power_gpio3_default(struct hda_codec * codec) alc287_s4_power_gpio3_default() argument
7334 alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_thinkpad_with_alc1318() argument
7648 alc298_fixup_lenovo_c940_duet7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc298_fixup_lenovo_c940_duet7() argument
7668 alc287_fixup_lenovo_14irp8_duetitl(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_14irp8_duetitl() argument
7683 alc287_fixup_lenovo_14arp8_legion_iah7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_14arp8_legion_iah7() argument
7700 alc287_fixup_lenovo_legion_7(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_legion_7() argument
7714 alc287_fixup_lenovo_ssid_17aa3820(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc287_fixup_lenovo_ssid_17aa3820() argument
11476 alc269_fill_coef(struct hda_codec * codec) alc269_fill_coef() argument
11518 patch_alc269(struct hda_codec * codec) patch_alc269() argument
11729 alc861_parse_auto_config(struct hda_codec * codec) alc861_parse_auto_config() argument
11746 alc861_fixup_asus_amp_vref_0f(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861_fixup_asus_amp_vref_0f() argument
11763 alc_fixup_no_jack_detect(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_no_jack_detect() argument
11818 patch_alc861(struct hda_codec * codec) patch_alc861() argument
11865 alc861vd_parse_auto_config(struct hda_codec * codec) alc861vd_parse_auto_config() argument
11878 alc861vd_fixup_dallas(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc861vd_fixup_dallas() argument
11888 alc660vd_fixup_asus_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc660vd_fixup_asus_gpio1() argument
11918 patch_alc861vd(struct hda_codec * codec) patch_alc861vd() argument
11974 alc662_parse_auto_config(struct hda_codec * codec) alc662_parse_auto_config() argument
11990 alc272_fixup_mario(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc272_fixup_mario() argument
12013 alc_fixup_bass_chmap(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc_fixup_bass_chmap() argument
12023 gpio_led_power_filter(struct hda_codec * codec,hda_nid_t nid,unsigned int power_state) gpio_led_power_filter() argument
12033 alc662_fixup_led_gpio1(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_led_gpio1() argument
12045 alc662_usi_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc662_usi_automute_hook() argument
12059 alc662_fixup_usi_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_usi_headset_mic() argument
12069 alc662_aspire_ethos_mute_speakers(struct hda_codec * codec,struct hda_jack_callback * cb) alc662_aspire_ethos_mute_speakers() argument
12087 alc662_fixup_aspire_ethos_hp(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc662_fixup_aspire_ethos_hp() argument
12110 alc671_fixup_hp_headset_mic2(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc671_fixup_hp_headset_mic2() argument
12133 alc897_hp_automute_hook(struct hda_codec * codec,struct hda_jack_callback * jack) alc897_hp_automute_hook() argument
12144 alc897_fixup_lenovo_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mic() argument
12157 alc897_fixup_lenovo_headset_mode(struct hda_codec * codec,const struct hda_fixup * fix,int action) alc897_fixup_lenovo_headset_mode() argument
12192 alc668_restore_default_value(struct hda_codec * codec) alc668_restore_default_value() argument
12936 patch_alc662(struct hda_codec * codec) patch_alc662() argument
13017 alc680_parse_auto_config(struct hda_codec * codec) alc680_parse_auto_config() argument
13024 patch_alc680(struct hda_codec * codec) patch_alc680() argument
[all...]
H A Dhda_jack.c29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() argument
31 if (codec->no_jack_detect) in is_jack_detectable()
33 if (!(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_PRES_DETECT)) in is_jack_detectable()
35 if (get_defcfg_misc(snd_hda_codec_get_pincfg(codec, nid)) & in is_jack_detectable()
38 if (!(get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) && in is_jack_detectable()
39 !codec->jackpoll_interval) 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() argument
51 if (!codec->no_trigger_sense) { in read_pin_sense()
52 pincap = snd_hda_query_pin_caps(codec, nid); in read_pin_sense()
54 snd_hda_codec_read(codec, nid, 0, in read_pin_sense()
[all …]
H A Dpatch_cs8409.c22 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config() argument
24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config()
28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
45 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config()
55 static struct cs8409_spec *cs8409_alloc_spec(struct hda_codec *codec) in cs8409_alloc_spec() argument
62 codec->spec = spec; in cs8409_alloc_spec()
63 spec->codec = codec; in cs8409_alloc_spec()
64 codec->power_save_node = 1; in cs8409_alloc_spec()
72 static inline int cs8409_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs8409_vendor_coef_get() argument
[all …]
H A Dpatch_senarytech.c63 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep() argument
65 struct senary_spec *spec = codec->spec; in senary_auto_parse_beep()
68 for_each_hda_codec_node(nid, codec) in senary_auto_parse_beep()
69 if ((get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) && in senary_auto_parse_beep()
70 (get_wcaps(codec, nid) & (AC_WCAP_OUT_AMP | AC_WCAP_AMP_OVRD))) in senary_auto_parse_beep()
75 #define senary_auto_parse_beep(codec) 0 argument
79 static void senary_auto_parse_eapd(struct hda_codec *codec) in senary_auto_parse_eapd() argument
81 struct senary_spec *spec = codec->spec; in senary_auto_parse_eapd()
84 for_each_hda_codec_node(nid, codec) { in senary_auto_parse_eapd()
85 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in senary_auto_parse_eapd()
[all …]
H A Dhda_local.h117 #define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \ argument
118 snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx)
119 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid,
121 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
123 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
125 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid,
127 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir,
129 struct snd_kcontrol *snd_hda_find_mixer_ctl(struct hda_codec *codec,
131 int __snd_hda_add_vmaster(struct hda_codec *codec, char *name,
135 #define snd_hda_add_vmaster(codec, name, tlv, followers, suffix, access) \ argument
[all …]
H A Dhda_sysfs.c33 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local
34 snd_hda_update_power_acct(codec); in power_on_acct_show()
35 return sysfs_emit(buf, "%u\n", jiffies_to_msecs(codec->power_on_acct)); in power_on_acct_show()
42 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local
43 snd_hda_update_power_acct(codec); in power_off_acct_show()
44 return sysfs_emit(buf, "%u\n", jiffies_to_msecs(codec->power_off_acct)); in power_off_acct_show()
55 struct hda_codec *codec = dev_get_drvdata(dev); \
56 return sysfs_emit(buf, "0x%x\n", codec->field); \
64 struct hda_codec *codec = dev_get_drvdata(dev); \
66 codec->field ? codec->field : ""); \
[all …]
H A Dpatch_sigmatel.c242 struct hda_codec *codec, in stac_playback_pcm_hook() argument
246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook()
252 struct hda_codec *codec, in stac_capture_pcm_hook() argument
256 struct sigmatel_spec *spec = codec->spec; in stac_capture_pcm_hook()
272 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook()
277 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook()
289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() argument
293 hda_nid_t fg = codec->core.afg; in stac_gpio_set()
295 codec_dbg(codec, "%s msk %x dir %x gpio %x\n", __func__, mask, dir_mask, data); in stac_gpio_set()
297 gpiostate = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
[all …]
H A Dhda_proc.c22 #define param_read(codec, nid, parm) \ argument
23 snd_hdac_read_parm_uncached(&(codec)->core, nid, parm)
48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() argument
75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() argument
80 list_for_each_entry(cpcm, &codec->pcm_list_head, list) { in print_nid_pcms()
94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() argument
97 caps = param_read(codec, nid, dir == HDA_OUTPUT ? in print_amp_caps()
112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() argument
126 if (snd_hda_get_raw_connections(codec, nid, &conn, 1) < 0) in is_stereo_amps()
129 wcaps = snd_hda_param_read(codec, conn, AC_PAR_AUDIO_WIDGET_CAP); in is_stereo_amps()
[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
67 snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val)
88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local
91 uvalue->value.integer.value[0] = (GET_REG(codec, reg)) & mask ? 1 : 0 ; in si3054_switch_get()
98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() local
102 SET_REG_CACHE(codec, reg, (GET_REG(codec, reg)) | mask); in si3054_switch_put()
104 SET_REG_CACHE(codec, reg, (GET_REG(codec, reg)) & ~mask); in si3054_switch_put()
125 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls() argument
[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() argument
63 nid_has_volume(codec, nid, HDA_INPUT); in add_auto_cfg_input_pin()
104 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity() argument
107 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in check_pincap_validity()
125 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic() argument
137 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic()
168 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg() argument
180 if (!snd_hda_get_int_hint(codec, "parser_flags", &i)) in snd_hda_parse_pin_defcfg()
190 for_each_hda_codec_node(nid, codec) { in snd_hda_parse_pin_defcfg()
191 unsigned int wid_caps = get_wcaps(codec, nid); in snd_hda_parse_pin_defcfg()
[all …]
/linux/sound/pci/ali5451/
H A Dali5451.c141 #define ALI_REG(codec, x) ((codec)->port + x) argument
180 struct snd_ali *codec; member
264 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() argument
267 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek()
270 static inline void snd_ali_5451_poke(struct snd_ali *codec, in snd_ali_5451_poke() argument
274 outl((unsigned int)val, ALI_REG(codec, port)); in snd_ali_5451_poke()
277 static int snd_ali_codec_ready(struct snd_ali *codec, in snd_ali_codec_ready() argument
286 res = snd_ali_5451_peek(codec,port); in snd_ali_codec_ready()
294 snd_ali_5451_poke(codec, por in snd_ali_codec_ready()
299 snd_ali_stimer_ready(struct snd_ali * codec) snd_ali_stimer_ready() argument
320 snd_ali_codec_poke(struct snd_ali * codec,int secondary,unsigned short reg,unsigned short val) snd_ali_codec_poke() argument
352 snd_ali_codec_peek(struct snd_ali * codec,int secondary,unsigned short reg) snd_ali_codec_peek() argument
391 struct snd_ali *codec = ac97->private_data; snd_ali_codec_write() local
407 struct snd_ali *codec = ac97->private_data; snd_ali_codec_read() local
417 snd_ali_reset_5451(struct snd_ali * codec) snd_ali_reset_5451() argument
458 snd_ali_enable_special_channel(struct snd_ali * codec,unsigned int channel) snd_ali_enable_special_channel() argument
468 snd_ali_disable_special_channel(struct snd_ali * codec,unsigned int channel) snd_ali_disable_special_channel() argument
478 snd_ali_enable_address_interrupt(struct snd_ali * codec) snd_ali_enable_address_interrupt() argument
488 snd_ali_disable_address_interrupt(struct snd_ali * codec) snd_ali_disable_address_interrupt() argument
498 snd_ali_disable_voice_irq(struct snd_ali * codec,unsigned int channel) snd_ali_disable_voice_irq() argument
512 snd_ali_alloc_pcm_channel(struct snd_ali * codec,int channel) snd_ali_alloc_pcm_channel() argument
531 snd_ali_find_free_channel(struct snd_ali * codec,int rec) snd_ali_find_free_channel() argument
580 snd_ali_free_channel_pcm(struct snd_ali * codec,int channel) snd_ali_free_channel_pcm() argument
600 snd_ali_stop_voice(struct snd_ali * codec,unsigned int channel) snd_ali_stop_voice() argument
612 snd_ali_delay(struct snd_ali * codec,int interval) snd_ali_delay() argument
627 snd_ali_detect_spdif_rate(struct snd_ali * codec) snd_ali_detect_spdif_rate() argument
683 snd_ali_get_spdif_in_rate(struct snd_ali * codec) snd_ali_get_spdif_in_rate() argument
708 snd_ali_enable_spdif_in(struct snd_ali * codec) snd_ali_enable_spdif_in() argument
723 snd_ali_disable_spdif_in(struct snd_ali * codec) snd_ali_disable_spdif_in() argument
735 snd_ali_set_spdif_out_rate(struct snd_ali * codec,unsigned int rate) snd_ali_set_spdif_out_rate() argument
758 snd_ali_enable_spdif_out(struct snd_ali * codec) snd_ali_enable_spdif_out() argument
791 snd_ali_enable_spdif_chnout(struct snd_ali * codec) snd_ali_enable_spdif_chnout() argument
809 snd_ali_disable_spdif_chnout(struct snd_ali * codec) snd_ali_disable_spdif_chnout() argument
820 snd_ali_disable_spdif_out(struct snd_ali * codec) snd_ali_disable_spdif_out() argument
830 snd_ali_update_ptr(struct snd_ali * codec,int channel) snd_ali_update_ptr() argument
880 struct snd_ali *codec = dev_id; snd_ali_card_interrupt() local
906 snd_ali_alloc_voice(struct snd_ali * codec,int type,int rec,int channel) snd_ali_alloc_voice() argument
936 snd_ali_free_voice(struct snd_ali * codec,struct snd_ali_voice * pvoice) snd_ali_free_voice() argument
961 snd_ali_clear_voices(struct snd_ali * codec,unsigned int v_min,unsigned int v_max) snd_ali_clear_voices() argument
973 snd_ali_write_voice_regs(struct snd_ali * codec,unsigned int Channel,unsigned int LBA,unsigned int CSO,unsigned int ESO,unsigned int DELTA,unsigned int ALPHA_FMS,unsigned int GVSEL,unsigned int PAN,unsigned int VOL,unsigned int CTRL,unsigned int EC) snd_ali_write_voice_regs() argument
1068 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_trigger() local
1132 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_params() local
1162 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_hw_free() local
1176 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_prepare() local
1269 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_prepare() local
1358 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_playback_pointer() local
1380 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_pointer() local
1457 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_open() local
1494 struct snd_ali *codec = snd_pcm_substream_chip(substream); snd_ali_close() local
1615 struct snd_ali *codec = pcm->private_data; snd_ali_pcm_free() local
1620 snd_ali_pcm(struct snd_ali * codec,int device,struct ali_pcm_description * desc) snd_ali_pcm() argument
1669 snd_ali_build_pcms(struct snd_ali * codec) snd_ali_build_pcms() argument
1691 struct snd_ali *codec = kcontrol->private_data; snd_ali5451_spdif_get() local
1719 struct snd_ali *codec = kcontrol->private_data; snd_ali5451_spdif_put() local
1784 snd_ali_mixer(struct snd_ali * codec) snd_ali_mixer() argument
1904 struct snd_ali *codec = card->private_data; snd_ali_free() local
1912 snd_ali_chip_init(struct snd_ali * codec) snd_ali_chip_init() argument
1976 struct snd_ali *codec = entry->private_data; snd_ali_proc_read() local
1982 snd_ali_proc_init(struct snd_ali * codec) snd_ali_proc_init() argument
1987 snd_ali_resources(struct snd_ali * codec) snd_ali_resources() argument
2014 struct snd_ali *codec = card->private_data; snd_ali_create() local
2109 struct snd_ali *codec; __snd_ali_probe() local
[all...]
/linux/sound/hda/
H A Dhdac_device.c19 static void setup_fg_nodes(struct hdac_device *codec);
20 static int get_codec_vendor_name(struct hdac_device *codec);
41 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() argument
48 dev = &codec->dev; in snd_hdac_device_init()
57 codec->bus = bus; in snd_hdac_device_init()
58 codec->addr = addr; in snd_hdac_device_init()
59 codec->type = HDA_DEV_CORE; in snd_hdac_device_init()
60 mutex_init(&codec->widget_lock); in snd_hdac_device_init()
61 mutex_init(&codec->regmap_lock); in snd_hdac_device_init()
62 pm_runtime_set_active(&codec->dev); in snd_hdac_device_init()
[all …]
H A Dhdac_regmap.c25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() argument
27 return snd_hdac_keep_power_up(codec); in codec_pm_lock()
30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() argument
33 snd_hdac_power_down_pm(codec); in codec_pm_unlock()
40 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
45 return !codec->cache_coef; in hda_volatile_reg()
67 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
72 snd_array_for_each(&codec->vendor_verbs, i, v) { in hda_writeable_reg()
77 if (codec->caps_overwriting) in hda_writeable_reg()
85 return codec->cache_coef; in hda_writeable_reg()
[all …]
H A Dhdac_sysfs.c24 struct hdac_device *codec = dev_to_hdac_dev(dev); \
25 return sysfs_emit(buf, "0x%x\n", codec->type); \
34 struct hdac_device *codec = dev_to_hdac_dev(dev); \
36 codec->type ? codec->type : ""); \
89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid,
91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid,
114 struct hdac_device *codec; in widget_attr_show() local
119 nid = get_codec_nid(kobj, &codec); in widget_attr_show()
122 return wid_attr->show(codec, nid, wid_attr, buf); in widget_attr_show()
130 struct hdac_device *codec; in widget_attr_store() local
[all …]
/linux/drivers/media/pci/zoran/
H A Dvideocodec.c20 struct videocodec *codec; member
25 const struct videocodec *codec; member
42 struct videocodec *codec; in videocodec_attach() local
63 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach()
64 zrdev_dbg(zr, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach()
66 codec = kmemdup(h->codec, sizeof(struct videocodec), GFP_KERNEL); in videocodec_attach()
67 if (!codec) in videocodec_attach()
70 res = strlen(codec->name); in videocodec_attach()
71 snprintf(codec->name + res, sizeof(codec->name) - res, "[%d]", h->attached); in videocodec_attach()
72 codec->master_data = master; in videocodec_attach()
[all …]
/linux/include/sound/
H A Dhda_codec.h105 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);
109 void (*unsol_event)(struct hda_codec *codec, unsigned int res);
110 void (*set_power_state)(struct hda_codec *codec, hda_nid_t fg,
112 int (*suspend)(struct hda_codec *codec);
113 int (*resume)(struct hda_codec *codec);
114 int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
115 void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on);
[all …]

12345678910>>...38