Home
last modified time | relevance | path

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

12345678

/linux/sound/hda/codecs/
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 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.c63 senary_auto_parse_beep(struct hda_codec * codec) senary_auto_parse_beep() argument
75 senary_auto_parse_beep(codec) global() argument
79 senary_auto_parse_eapd(struct hda_codec * codec) senary_auto_parse_eapd() argument
95 senary_auto_turn_eapd(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) senary_auto_turn_eapd() argument
111 struct hda_codec *codec = private_data; senary_auto_vmaster_hook() local
117 senary_init_gpio_led(struct hda_codec * codec) senary_init_gpio_led() argument
132 senary_init(struct hda_codec * codec) senary_init() argument
141 senary_shutdown(struct hda_codec * codec) senary_shutdown() argument
151 senary_remove(struct hda_codec * codec) senary_remove() argument
157 senary_suspend(struct hda_codec * codec) senary_suspend() argument
163 senary_probe(struct hda_codec * codec,const struct hda_device_id * id) senary_probe() argument
[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 …]
H A Dcm9825.c44 struct hda_codec *codec; member
148 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback()
165 static void cm9825_setup_unsol(struct hda_codec *codec) in cm9825_setup_unsol()
174 static int cm9825_init(struct hda_codec *codec) in cm9825_init()
182 static void cm9825_remove(struct hda_codec *codec) in cm9825_remove()
190 static int cm9825_suspend(struct hda_codec *codec) in cm9825_suspend()
201 static int cm9825_resume(struct hda_codec *codec) in cm9825_resume()
241 static int cm9825_probe(struct hda_codec *codec, const struct hda_device_id *id) in cm9825_probe()
/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 …]
H A Dnvhdmi-mcp.c50 static int nvhdmi_mcp_init(struct hda_codec *codec) in nvhdmi_mcp_init()
61 static void nvhdmi_8ch_7x_set_info_frame_parameters(struct hda_codec *codec, in nvhdmi_8ch_7x_set_info_frame_parameters()
96 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_close()
122 struct hda_codec *codec, in nvhdmi_8ch_7x_pcm_prepare()
236 static int nvhdmi_mcp_build_pcms(struct hda_codec *codec) in nvhdmi_mcp_build_pcms()
250 static int nvhdmi_mcp_build_controls(struct hda_codec *codec) in nvhdmi_mcp_build_controls()
304 static int nvhdmi_mcp_probe(struct hda_codec *codec, in nvhdmi_mcp_probe()
H A Dtegrahdmi.c66 static void tegra_hdmi_set_format(struct hda_codec *codec, in tegra_hdmi_set_format()
134 struct hda_codec *codec, in tegra_hdmi_pcm_prepare()
153 struct hda_codec *codec, in tegra_hdmi_pcm_cleanup()
162 static struct hda_pcm *hda_find_pcm_by_type(struct hda_codec *codec, int type) in hda_find_pcm_by_type()
177 static int tegra_hdmi_build_pcms(struct hda_codec *codec) in tegra_hdmi_build_pcms()
230 static int tegra_hdmi_init(struct hda_codec *codec) in tegra_hdmi_init()
261 static int tegrahdmi_probe(struct hda_codec *codec, in tegrahdmi_probe()
/linux/sound/hda/codecs/realtek/
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 …]
H A Dalc260.c10 static int alc260_parse_auto_config(struct hda_codec *codec) in alc260_parse_auto_config()
34 static void alc260_gpio1_automute(struct hda_codec *codec) in alc260_gpio1_automute()
41 static void alc260_fixup_gpio1_toggle(struct hda_codec *codec, in alc260_fixup_gpio1_toggle()
59 static void alc260_fixup_kn1(struct hda_codec *codec, in alc260_fixup_kn1()
87 static void alc260_fixup_fsc_s7020(struct hda_codec *codec, in alc260_fixup_fsc_s7020()
95 static void alc260_fixup_fsc_s7020_jwse(struct hda_codec *codec, in alc260_fixup_fsc_s7020_jwse()
214 static int alc260_probe(struct hda_codec *codec, const struct hda_device_id *id) in alc260_probe()
/linux/sound/hda/common/
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 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 …]
H A Dhda_local.h119 #define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \ argument
137 #define snd_hda_add_vmaster(codec, name, tlv, followers, suffix, access) \ argument
142 #define snd_hda_regmap_sync(codec) snd_hdac_regmap_sync(&(codec)->core) argument
151 struct hda_codec *codec; member
169 #define snd_hda_create_spdif_out_ctls(codec, anid, cnid) \ argument
257 static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; } in snd_hda_codec_proc_new()
324 unsigned int codec; /* Codec vendor/device ID */ member
442 snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val) in snd_hda_set_pin_ctl()
456 snd_hda_set_pin_ctl_cache(struct hda_codec *codec, hda_nid_t pin, in snd_hda_set_pin_ctl_cache()
466 #define for_each_hda_codec_node(nid, codec) \ argument
[all …]
H A Dbeep.c26 struct hda_codec *codec = beep->codec; in generate_tone() local
144 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device()
205 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
280 void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device()
289 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ctl_has_mute() local
304 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_get_beep() local
327 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local
/linux/sound/hda/codecs/cirrus/
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...]
/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()
/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
109 int videocodec_detach(struct videocodec *codec) in videocodec_detach()
167 int videocodec_register(const struct videocodec *codec) in videocodec_register()
202 int videocodec_unregister(const struct videocodec *codec) in videocodec_unregister()

12345678