Home
last modified time | relevance | path

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

123456789

/linux/sound/hda/codecs/realtek/
H A Drealtek.c10 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_read_coefex_idx()
20 int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx()
28 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_write_coefex_idx()
35 void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx()
43 static void __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_update_coefex_idx()
54 void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx()
64 unsigned int alc_get_coef0(struct hda_codec *codec) in alc_get_coef0()
74 void alc_process_coef_fw(struct hda_codec *codec, const struct coef_fw *fw) in alc_process_coef_fw()
92 void alc_setup_gpio(struct hda_codec *codec, unsigned int mask) in alc_setup_gpio()
102 void alc_write_gpio_data(struct hda_codec *codec) in alc_write_gpio_data()
[all …]
H A Dalc269.c50 static int alc269_parse_auto_config(struct hda_codec *codec) in alc269_parse_auto_config()
101 static void alc_headset_btn_callback(struct hda_codec *codec, in alc_headset_btn_callback()
123 static void alc_disable_headset_jack_key(struct hda_codec *codec) in alc_disable_headset_jack_key()
153 static void alc_enable_headset_jack_key(struct hda_codec *codec) in alc_enable_headset_jack_key()
183 static void alc_fixup_headset_jack(struct hda_codec *codec, in alc_fixup_headset_jack()
209 static void alc269vb_toggle_power_output(struct hda_codec *codec, int power_up) in alc269vb_toggle_power_output()
214 static void alc269_shutup(struct hda_codec *codec) in alc269_shutup()
260 static void alc282_restore_default_value(struct hda_codec *codec) in alc282_restore_default_value()
265 static void alc282_init(struct hda_codec *codec) in alc282_init()
302 static void alc282_shutup(struct hda_codec *codec) in alc282_shutup()
[all …]
H A Dalc882.c66 static void alc889_fixup_coef(struct hda_codec *codec, in alc889_fixup_coef()
75 static void alc885_fixup_macpro_gpio(struct hda_codec *codec, in alc885_fixup_macpro_gpio()
88 static void alc889_fixup_dac_route(struct hda_codec *codec, in alc889_fixup_dac_route()
110 static void alc889_fixup_mbp_vref(struct hda_codec *codec, in alc889_fixup_mbp_vref()
131 static void alc889_fixup_mac_pins(struct hda_codec *codec, in alc889_fixup_mac_pins()
147 static void alc889_fixup_imac91_vref(struct hda_codec *codec, in alc889_fixup_imac91_vref()
157 static void alc889_fixup_mba11_vref(struct hda_codec *codec, in alc889_fixup_mba11_vref()
167 static void alc889_fixup_mba21_vref(struct hda_codec *codec, in alc889_fixup_mba21_vref()
180 static void alc882_fixup_no_primary_hp(struct hda_codec *codec, in alc882_fixup_no_primary_hp()
190 static void alc1220_fixup_gb_x570(struct hda_codec *codec, in alc1220_fixup_gb_x570()
[all …]
H A Dalc662.c26 static int alc662_parse_auto_config(struct hda_codec *codec) in alc662_parse_auto_config()
42 static void alc272_fixup_mario(struct hda_codec *codec, in alc272_fixup_mario()
56 static unsigned int gpio_led_power_filter(struct hda_codec *codec, in gpio_led_power_filter()
66 static void alc662_fixup_led_gpio1(struct hda_codec *codec, in alc662_fixup_led_gpio1()
78 static void alc662_usi_automute_hook(struct hda_codec *codec, in alc662_usi_automute_hook()
92 static void alc662_fixup_usi_headset_mic(struct hda_codec *codec, in alc662_fixup_usi_headset_mic()
102 static void alc662_aspire_ethos_mute_speakers(struct hda_codec *codec, in alc662_aspire_ethos_mute_speakers()
120 static void alc662_fixup_aspire_ethos_hp(struct hda_codec *codec, in alc662_fixup_aspire_ethos_hp()
143 static void alc671_fixup_hp_headset_mic2(struct hda_codec *codec, in alc671_fixup_hp_headset_mic2()
166 static void alc897_hp_automute_hook(struct hda_codec *codec, in alc897_hp_automute_hook()
[all …]
/linux/sound/hda/common/
H A Dcodec.c28 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core) argument
29 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core) argument
30 #define codec_has_epss(codec) \ argument
32 #define codec_has_clkstop(codec) \ argument
35 static int call_exec_verb(struct hda_bus *bus, struct hda_codec *codec, in call_exec_verb()
57 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local
88 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) in snd_hda_sequence_write()
105 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
115 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
130 static void remove_conn_list(struct hda_codec *codec) in remove_conn_list()
[all …]
H A Dbind.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
64 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name()
89 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local
154 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
205 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
211 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
240 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
251 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
277 #define is_likely_hdmi_codec(codec) false argument
[all …]
H A Djack.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 Dproc.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 Dauto_parser.c56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin()
108 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity()
129 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic()
172 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg()
486 static const char *hda_get_input_pin_label(struct hda_codec *codec, in hda_get_input_pin_label()
538 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need()
575 const char *hda_get_autocfg_input_label(struct hda_codec *codec, in hda_get_autocfg_input_label()
626 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
641 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
658 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
[all …]
/linux/sound/hda/codecs/
H A Dgeneric.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 Dvia.c101 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 Dconexant.c74 static int cx_auto_parse_beep(struct hda_codec *codec) 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()
118 static void cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, in cx_auto_turn_eapd()
133 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() local
143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); in cx_auto_vmaster_mute_led() local
152 static void cxt_init_gpio_led(struct hda_codec *codec) in cxt_init_gpio_led()
167 static void cx_fixup_headset_recog(struct hda_codec *codec) in cx_fixup_headset_recog()
188 static int cx_init(struct hda_codec *codec) in cx_init()
204 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown()
[all …]
H A Dca0132.c1135 struct hda_codec *codec; member
1527 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
1537 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
1544 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel()
1556 static int chipio_send(struct hda_codec *codec, in chipio_send()
1578 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address()
1605 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data()
1629 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple()
1650 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data()
1681 static int chipio_write(struct hda_codec *codec, in chipio_write()
[all …]
H A Danalog.c59 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls()
81 #define create_beep_ctls(codec) 0 argument
84 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write()
95 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd()
123 static int ad_codec_suspend(struct hda_codec *codec) in ad_codec_suspend()
133 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local
149 static int ad_codec_build_controls(struct hda_codec *codec) in ad_codec_build_controls()
162 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config()
190 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec()
207 static void ad_fixup_inv_jack_detect(struct hda_codec *codec, in ad_fixup_inv_jack_detect()
[all …]
H A Dsigmatel.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 Dsenarytech.c64 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep()
76 #define senary_auto_parse_beep(codec) 0 argument
80 static void senary_auto_parse_eapd(struct hda_codec *codec) in senary_auto_parse_eapd()
96 static void senary_auto_turn_eapd(struct hda_codec *codec, int num_pins, in senary_auto_turn_eapd()
112 struct hda_codec *codec = private_data; in senary_auto_vmaster_hook() local
118 static void senary_init_gpio_led(struct hda_codec *codec) in senary_init_gpio_led()
133 static int senary_init(struct hda_codec *codec) in senary_init()
146 static void senary_shutdown(struct hda_codec *codec) in senary_shutdown()
156 static void senary_remove(struct hda_codec *codec) in senary_remove()
162 static int senary_suspend(struct hda_codec *codec) in senary_suspend()
[all …]
H A Dsi3054.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 …]
/linux/sound/hda/codecs/hdmi/
H A Dintelhdmi.c36 static void intel_haswell_enable_all_pins(struct hda_codec *codec, in intel_haswell_enable_all_pins() argument
57 static void intel_haswell_fixup_enable_dp12(struct hda_codec *codec) in intel_haswell_fixup_enable_dp12() argument
77 haswell_set_power_state(struct hda_codec * codec,hda_nid_t fg,unsigned int power_state) haswell_set_power_state() argument
103 intel_base_nid(struct hda_codec * codec) intel_base_nid() argument
117 struct hda_codec *codec = audio_ptr; intel_pin2port() local
141 intel_port2pin(struct hda_codec * codec,int port) intel_port2pin() argument
159 struct hda_codec *codec = audio_ptr; intel_pin_eld_notify() local
182 register_i915_notifier(struct hda_codec * codec) register_i915_notifier() argument
200 silent_stream_enable_i915(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) silent_stream_enable_i915() argument
220 silent_stream_set_kae(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool enable) silent_stream_set_kae() argument
239 i915_set_silent_stream(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,bool enable) i915_set_silent_stream() argument
268 haswell_verify_D0(struct hda_codec * codec,hda_nid_t cvt_nid,hda_nid_t nid) haswell_verify_D0() argument
291 intel_verify_pin_cvt_connect(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin) intel_verify_pin_cvt_connect() argument
329 intel_not_share_assigned_cvt(struct hda_codec * codec,hda_nid_t pin_nid,int dev_id,int mux_idx) intel_not_share_assigned_cvt() argument
405 intel_not_share_assigned_cvt_nid(struct hda_codec * codec,hda_nid_t pin_nid,int dev_id,hda_nid_t cvt_nid) intel_not_share_assigned_cvt_nid() argument
422 i915_hsw_setup_stream(struct hda_codec * codec,hda_nid_t cvt_nid,hda_nid_t pin_nid,int dev_id,u32 stream_tag,int format) i915_hsw_setup_stream() argument
456 i915_pin_cvt_fixup(struct hda_codec * codec,struct hdmi_spec_per_pin * per_pin,hda_nid_t cvt_nid) i915_pin_cvt_fixup() argument
472 i915_hdmi_suspend(struct hda_codec * codec) i915_hdmi_suspend() argument
513 i915_hdmi_resume(struct hda_codec * codec) i915_hdmi_resume() argument
557 alloc_intel_hdmi(struct hda_codec * codec) alloc_intel_hdmi() argument
571 parse_intel_hdmi(struct hda_codec * codec) parse_intel_hdmi() argument
588 intel_hsw_common_init(struct hda_codec * codec,hda_nid_t vendor_nid,const int * port_map,int port_num,int dev_num,bool send_silent_stream) intel_hsw_common_init() argument
624 probe_i915_hsw_hdmi(struct hda_codec * codec) probe_i915_hsw_hdmi() argument
630 probe_i915_glk_hdmi(struct hda_codec * codec) probe_i915_glk_hdmi() argument
640 probe_i915_icl_hdmi(struct hda_codec * codec) probe_i915_icl_hdmi() argument
652 probe_i915_tgl_hdmi(struct hda_codec * codec) probe_i915_tgl_hdmi() argument
664 probe_i915_adlp_hdmi(struct hda_codec * codec) probe_i915_adlp_hdmi() argument
681 probe_i915_byt_hdmi(struct hda_codec * codec) probe_i915_byt_hdmi() argument
701 probe_i915_cpt_hdmi(struct hda_codec * codec) probe_i915_cpt_hdmi() argument
709 intelhdmi_probe(struct hda_codec * codec,const struct hda_device_id * id) intelhdmi_probe() argument
[all...]
H A Dhdmi.c50 int snd_hda_hdmi_pin_id_to_pin_index(struct hda_codec *codec, in snd_hda_hdmi_pin_id_to_pin_index()
76 static int hinfo_to_pcm_index(struct hda_codec *codec, in hinfo_to_pcm_index()
90 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index()
123 static int cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) in cvt_nid_to_cvt_index()
139 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local
163 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local
203 static int hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, in hdmi_create_eld_ctl()
228 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_get_dip_index()
241 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_set_dip_index()
251 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_write_dip_byte()
[all …]
H A Dsimplehdmi.c11 int snd_hda_hdmi_simple_build_pcms(struct hda_codec *codec) in snd_hda_hdmi_simple_build_pcms()
39 void snd_hda_hdmi_simple_unsol_event(struct hda_codec *codec, in snd_hda_hdmi_simple_unsol_event()
54 static int simple_hdmi_build_jack(struct hda_codec *codec) in simple_hdmi_build_jack()
77 int snd_hda_hdmi_simple_build_controls(struct hda_codec *codec) in snd_hda_hdmi_simple_build_controls()
93 int snd_hda_hdmi_simple_init(struct hda_codec *codec) in snd_hda_hdmi_simple_init()
110 void snd_hda_hdmi_simple_remove(struct hda_codec *codec) in snd_hda_hdmi_simple_remove()
121 struct hda_codec *codec, in snd_hda_hdmi_simple_pcm_open()
140 struct hda_codec *codec, in simple_playback_pcm_close()
149 struct hda_codec *codec, in simple_playback_pcm_prepare()
171 int snd_hda_hdmi_simple_probe(struct hda_codec *codec, in snd_hda_hdmi_simple_probe()
[all …]
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.c27 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config()
60 static struct cs8409_spec *cs8409_alloc_spec(struct hda_codec *codec) in cs8409_alloc_spec()
77 static inline int cs8409_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs8409_vendor_coef_get()
83 static inline void cs8409_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs8409_vendor_coef_set()
96 static void cs8409_disable_i2c_clock(struct hda_codec *codec) in cs8409_disable_i2c_clock()
124 static void cs8409_enable_i2c_clock(struct hda_codec *codec) in cs8409_enable_i2c_clock()
150 static int cs8409_i2c_wait_complete(struct hda_codec *codec) in cs8409_i2c_wait_complete()
163 static void cs8409_set_i2c_dev_addr(struct hda_codec *codec, unsigned int addr) in cs8409_set_i2c_dev_addr()
182 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page() local
203 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read() local
[all …]
H A Dcs420x.c94 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get()
104 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set()
121 static void cs_automute(struct hda_codec *codec) in cs_automute()
139 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin()
147 static void init_input_coef(struct hda_codec *codec) in init_input_coef()
239 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef()
253 static int cs_init(struct hda_codec *codec) in cs_init()
284 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls()
295 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config()
445 static void cs420x_fixup_gpio_13(struct hda_codec *codec, in cs420x_fixup_gpio_13()
[all …]
H A Dcs421x.c105 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get()
115 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set()
132 static void cs_automute(struct hda_codec *codec) in cs_automute()
153 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin()
161 static struct cs_spec *cs_alloc_spec(struct hda_codec *codec, int vendor_nid) in cs_alloc_spec()
221 static void cs421x_fixup_sense_b(struct hda_codec *codec, in cs421x_fixup_sense_b()
321 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cs421x_boost_vol_get() local
331 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cs421x_boost_vol_put() local
360 static void cs4210_pinmux_init(struct hda_codec *codec) in cs4210_pinmux_init()
393 static void cs4210_spdif_automute(struct hda_codec *codec, in cs4210_spdif_automute()
[all …]
/linux/sound/hda/core/
H A Dsysfs.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 …]
/linux/sound/soc/codecs/
H A Dhda.c16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument
83 static int hda_codec_register_dais(struct hda_codec *codec, struct snd_soc_component *component) in hda_codec_register_dais() argument
124 static void hda_codec_unregister_dais(struct hda_codec *codec, in hda_codec_unregister_dais() argument
146 hda_codec_probe_complete(struct hda_codec * codec) hda_codec_probe_complete() argument
174 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_probe() local
269 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_remove() local
346 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_attach() local
378 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_detach() local
[all...]

123456789