Home
last modified time | relevance | path

Searched defs:codec (Results 1 – 200 of 324) sorted by relevance

12

/linux-4.4.14/sound/pci/hda/
Dhda_bind.c22 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
43 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local
54 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name()
79 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local
132 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local
143 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_shutdown() local
172 static inline bool codec_probed(struct hda_codec *codec) in codec_probed()
178 static void request_codec_module(struct hda_codec *codec) in request_codec_module()
207 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module()
218 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec()
[all …]
Dhda_codec.c43 #define codec_in_pm(codec) atomic_read(&(codec)->core.in_pm) argument
44 #define hda_codec_is_power_on(codec) \ argument
47 #define codec_in_pm(codec) 0 argument
48 #define hda_codec_is_power_on(codec) 1 argument
51 #define codec_has_epss(codec) \ argument
53 #define codec_has_clkstop(codec) \ argument
62 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local
101 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) in snd_hda_sequence_write()
118 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
128 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
[all …]
Dpatch_via.c122 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec()
146 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type()
201 #define hp_detect_with_aa(codec) \ argument
205 static void vt1708_stop_hp_work(struct hda_codec *codec) in vt1708_stop_hp_work()
218 static void vt1708_update_hp_work(struct hda_codec *codec) in vt1708_update_hp_work()
243 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_get() local
253 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_put() local
292 static int add_beep_ctls(struct hda_codec *codec) in add_beep_ctls()
313 static void auto_parse_beep(struct hda_codec *codec) in auto_parse_beep()
326 #define add_beep_ctls(codec) 0 argument
[all …]
Dhda_generic.c111 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints()
208 #define update_pin_ctl(codec, pin, val) \ argument
213 static inline void restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) in restore_pin_ctl()
219 static void set_pin_target(struct hda_codec *codec, hda_nid_t pin, in set_pin_target()
231 static void set_pin_targets(struct hda_codec *codec, int num_pins, in set_pin_targets()
259 static struct nid_path *get_nid_path(struct hda_codec *codec, in get_nid_path()
290 struct nid_path *snd_hda_get_nid_path(struct hda_codec *codec, in snd_hda_get_nid_path()
306 int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) in snd_hda_get_path_idx()
327 struct nid_path *snd_hda_get_path_from_idx(struct hda_codec *codec, int idx) in snd_hda_get_path_from_idx()
338 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used()
[all …]
Dhda_jack.c33 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable()
50 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid) in read_pin_sense()
74 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get()
94 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, unsigned char tag) in snd_hda_jack_tbl_get_from_tag()
114 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_new()
128 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear()
151 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update()
186 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all()
205 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid) in snd_hda_pin_sense()
224 int snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state()
[all …]
Dpatch_realtek.c137 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx()
147 #define alc_read_coef_idx(codec, coef_idx) \ argument
150 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx()
157 #define alc_write_coef_idx(codec, coef_idx, coef_val) \ argument
160 static void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx()
171 #define alc_update_coef_idx(codec, coef_idx, mask, bits_set) \ argument
175 static unsigned int alc_get_coef0(struct hda_codec *codec) in alc_get_coef0()
198 static void alc_process_coef_fw(struct hda_codec *codec, in alc_process_coef_fw()
252 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll()
261 static void alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, in alc_fix_pll_init()
[all …]
Dpatch_analog.c62 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls()
84 #define create_beep_ctls(codec) 0 argument
88 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write()
99 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd()
127 static void ad198x_shutup(struct hda_codec *codec) in ad198x_shutup()
134 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend()
144 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local
160 static int ad198x_auto_build_controls(struct hda_codec *codec) in ad198x_auto_build_controls()
187 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config()
215 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec()
[all …]
Dpatch_conexant.c73 static int add_beep_ctls(struct hda_codec *codec) in add_beep_ctls()
95 #define add_beep_ctls(codec) 0 argument
103 static void cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep()
115 #define cx_auto_parse_beep(codec) argument
119 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd()
144 static void cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, in cx_auto_turn_eapd()
159 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() local
168 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook_mute_led() local
176 static int cx_auto_build_controls(struct hda_codec *codec) in cx_auto_build_controls()
191 static int cx_auto_init(struct hda_codec *codec) in cx_auto_init()
[all …]
Dpatch_cirrus.c142 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get()
151 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set()
167 static void cs_automute(struct hda_codec *codec) in cs_automute()
188 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin()
195 static void init_input_coef(struct hda_codec *codec) in init_input_coef()
294 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef()
308 static int cs_init(struct hda_codec *codec) in cs_init()
339 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls()
360 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config()
506 static void cs420x_fixup_gpio_13(struct hda_codec *codec, in cs420x_fixup_gpio_13()
[all …]
Dpatch_sigmatel.c252 struct hda_codec *codec, in stac_playback_pcm_hook()
262 struct hda_codec *codec, in stac_capture_pcm_hook()
299 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set()
334 static void stac_capture_led_hook(struct hda_codec *codec, in stac_capture_led_hook()
363 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set()
388 static unsigned int stac_vref_led_power_filter(struct hda_codec *codec, in stac_vref_led_power_filter()
398 static void stac_update_led_status(struct hda_codec *codec, int enabled) in stac_update_led_status()
431 static void stac_update_outputs(struct hda_codec *codec) in stac_update_outputs()
456 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map()
487 static void jack_update_power(struct hda_codec *codec, in jack_update_power()
[all …]
Dpatch_hdmi.c50 #define is_haswell(codec) ((codec)->core.vendor_id == 0x80862807) argument
51 #define is_broadwell(codec) ((codec)->core.vendor_id == 0x80862808) argument
52 #define is_skylake(codec) ((codec)->core.vendor_id == 0x80862809) argument
53 #define is_broxton(codec) ((codec)->core.vendor_id == 0x8086280a) argument
54 #define is_haswell_plus(codec) (is_haswell(codec) || is_broadwell(codec) \ argument
57 #define is_valleyview(codec) ((codec)->core.vendor_id == 0x80862882) argument
58 #define is_cherryview(codec) ((codec)->core.vendor_id == 0x80862883) argument
59 #define is_valleyview_plus(codec) (is_valleyview(codec) || is_cherryview(codec)) argument
81 struct hda_codec *codec; member
365 static int pin_nid_to_pin_index(struct hda_codec *codec, hda_nid_t pin_nid) in pin_nid_to_pin_index()
[all …]
Dhda_proc.c36 #define param_read(codec, nid, parm) \ argument
62 struct hda_codec *codec, hda_nid_t nid, in print_nid_array()
89 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms()
108 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps()
126 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps()
148 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals()
214 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps()
319 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps()
415 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls()
453 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob()
[all …]
Dpatch_ca0132.c749 struct hda_codec *codec; member
789 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
799 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
806 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel()
818 static int chipio_send(struct hda_codec *codec, in chipio_send()
840 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address()
867 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data()
891 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple()
912 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data()
943 static int chipio_write(struct hda_codec *codec, in chipio_write()
[all …]
Dhda_sysfs.c33 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local
42 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local
79 static ssize_t pin_configs_show(struct hda_codec *codec, in pin_configs_show()
98 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() local
106 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() local
116 static int clear_codec(struct hda_codec *codec) in clear_codec()
129 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec()
219 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_show() local
232 static int parse_init_verbs(struct hda_codec *codec, const char *buf) in parse_init_verbs()
258 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local
[all …]
Dhda_beep.c39 struct hda_codec *codec = beep->codec; in generate_tone() local
156 struct hda_codec *codec = beep->codec; in snd_hda_do_attach() local
186 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device()
216 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
257 void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device()
273 int snd_hda_register_beep_device(struct hda_codec *codec) in snd_hda_register_beep_device()
296 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ctl_has_mute() local
311 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_get_beep() local
330 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local
Dhda_auto_parser.c60 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin()
106 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity()
127 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic()
170 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg()
482 static const char *hda_get_input_pin_label(struct hda_codec *codec, in hda_get_input_pin_label()
534 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need()
571 const char *hda_get_autocfg_input_label(struct hda_codec *codec, in hda_get_autocfg_input_label()
621 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
636 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
653 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
[all …]
Dpatch_si3054.c78 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) argument
79 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) argument
80 #define SET_REG_CACHE(codec,reg,val) \ argument
102 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local
112 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() local
139 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls()
150 struct hda_codec *codec, in si3054_pcm_prepare()
169 struct hda_codec *codec, in si3054_pcm_open()
199 static int si3054_build_pcms(struct hda_codec *codec) in si3054_build_pcms()
219 static int si3054_init(struct hda_codec *codec) in si3054_init()
[all …]
Dlocal.h9 #define get_wcaps(codec, nid) \ argument
19 #define get_pin_caps(codec, nid) \ argument
23 unsigned int get_pin_cfg(struct hdac_device *codec, hda_nid_t nid) in get_pin_cfg()
32 #define get_amp_caps(codec, nid, dir) \ argument
36 #define get_power_caps(codec, nid) \ argument
Dthinkpad_helper.c21 static bool is_thinkpad(struct hda_codec *codec) in is_thinkpad()
41 static void update_tpacpi_micmute_led(struct hda_codec *codec, in update_tpacpi_micmute_led()
54 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi()
97 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi()
Dhda_hwdep.c33 static int verb_write_ioctl(struct hda_codec *codec, in verb_write_ioctl()
47 static int get_wcap_ioctl(struct hda_codec *codec, in get_wcap_ioctl()
66 struct hda_codec *codec = hw->private_data; in hda_hwdep_ioctl() local
97 int snd_hda_create_hwdep(struct hda_codec *codec) in snd_hda_create_hwdep()
Dhda_codec.h176 struct hda_codec *codec; member
313 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read()
321 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write()
327 #define snd_hda_param_read(codec, nid, param) \ argument
329 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument
334 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns()
339 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument
341 #define snd_hda_get_num_raw_conns(codec, nid) \ argument
371 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache()
377 #define snd_hda_codec_update_cache(codec, nid, flags, verb, parm) \ argument
[all …]
Dhda_beep.h33 struct hda_codec *codec; member
52 static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
56 static inline void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device()
59 static inline int snd_hda_register_beep_device(struct hda_codec *codec) in snd_hda_register_beep_device()
Ddell_wmi_helper.c14 static void update_dell_wmi_micmute_led(struct hda_codec *codec, in update_dell_wmi_micmute_led()
35 static void alc_fixup_dell_wmi(struct hda_codec *codec, in alc_fixup_dell_wmi()
71 static void alc_fixup_dell_wmi(struct hda_codec *codec, in alc_fixup_dell_wmi()
Dhda_local.h130 #define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \ argument
148 #define snd_hda_add_vmaster(codec, name, tlv, slaves, suffix) \ argument
168 struct hda_codec *codec; member
248 #define snd_hda_create_spdif_out_ctls(codec, anid, cnid) \ argument
336 static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; } in snd_hda_codec_proc_new()
377 unsigned int codec; /* Codec vendor/device ID */ member
493 snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, unsigned int val) in snd_hda_set_pin_ctl()
507 snd_hda_set_pin_ctl_cache(struct hda_codec *codec, hda_nid_t pin, in snd_hda_set_pin_ctl_cache()
517 #define for_each_hda_codec_node(nid, codec) \ argument
523 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps()
[all …]
Dpatch_ca0110.c40 static int ca0110_parse_auto_config(struct hda_codec *codec) in ca0110_parse_auto_config()
56 static int patch_ca0110(struct hda_codec *codec) in patch_ca0110()
Dhda_eld.c148 static unsigned int hdmi_get_eld_data(struct hda_codec *codec, hda_nid_t nid, in hdmi_get_eld_data()
170 static void hdmi_update_short_audio_desc(struct hda_codec *codec, in hdmi_update_short_audio_desc()
250 int snd_hdmi_parse_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e, in snd_hdmi_parse_eld()
313 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) in snd_hdmi_get_eld_size()
319 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld()
396 static void hdmi_show_short_audio_desc(struct hda_codec *codec, in hdmi_show_short_audio_desc()
433 void snd_hdmi_show_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e) in snd_hdmi_show_eld()
669 int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld_ati()
Dpatch_cmedia.c49 static int patch_cmi9880(struct hda_codec *codec) in patch_cmi9880()
78 static int patch_cmi8888(struct hda_codec *codec) in patch_cmi8888()
Dhda_controller.c524 int snd_hda_attach_pcm_stream(struct hda_bus *_bus, struct hda_codec *codec, in snd_hda_attach_pcm_stream()
817 int snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, in snd_hda_codec_load_dsp_prepare()
851 void snd_hda_codec_load_dsp_trigger(struct hda_codec *codec, bool start) in snd_hda_codec_load_dsp_trigger()
861 void snd_hda_codec_load_dsp_cleanup(struct hda_codec *codec, in snd_hda_codec_load_dsp_cleanup()
1116 struct hda_codec *codec; in azx_probe_codecs() local
1136 struct hda_codec *codec; in azx_codec_configure() local
/linux-4.4.14/sound/hda/
Dhdac_regmap.c25 #define codec_is_running(codec) \ argument
29 #define codec_is_running(codec) true argument
36 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local
63 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local
112 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local
152 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp()
170 static int hda_reg_write_stereo_amp(struct hdac_device *codec, in hda_reg_write_stereo_amp()
200 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef()
218 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef()
238 struct hdac_device *codec = context; in hda_reg_read() local
[all …]
Dhdac_device.c38 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init()
123 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit()
136 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register()
157 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister()
173 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name()
196 int snd_hdac_codec_modalias(struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias()
213 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd()
246 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, in snd_hdac_exec_verb()
266 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
280 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm()
[all …]
Dhdac_sysfs.c113 struct hdac_device *codec; in widget_attr_show() local
129 struct hdac_device *codec; in widget_attr_store() local
160 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
166 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show()
175 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show()
187 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap()
200 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show()
209 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show()
218 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show()
227 static ssize_t amp_out_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_out_caps_show()
[all …]
Dhdac_bus.c154 struct hdac_device *codec; in process_unsol_events() local
184 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
206 struct hdac_device *codec) in snd_hdac_bus_remove_device()
Dlocal.h8 #define get_wcaps(codec, nid) \ argument
/linux-4.4.14/sound/soc/codecs/
Dda7219-aad.c34 void da7219_aad_jack_det(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in da7219_aad_jack_det()
59 struct snd_soc_codec *codec = da7219_aad->codec; in da7219_aad_btn_det_work() local
112 struct snd_soc_codec *codec = da7219_aad->codec; in da7219_aad_hptest_work() local
273 struct snd_soc_codec *codec = da7219_aad->codec; in da7219_aad_irq_thread() local
389 da7219_aad_of_micbias_pulse_lvl(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_micbias_pulse_lvl()
403 da7219_aad_of_btn_cfg(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_btn_cfg()
427 da7219_aad_of_mic_det_thr(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_mic_det_thr()
445 da7219_aad_of_jack_ins_deb(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_jack_ins_deb()
471 da7219_aad_of_jack_det_rate(struct snd_soc_codec *codec, const char *str) in da7219_aad_of_jack_det_rate()
488 da7219_aad_of_jack_rem_deb(struct snd_soc_codec *codec, u32 val) in da7219_aad_of_jack_rem_deb()
[all …]
Dtwl6040.c79 struct snd_soc_codec *codec; member
109 static unsigned int twl6040_read(struct snd_soc_codec *codec, unsigned int reg) in twl6040_read()
134 static bool twl6040_can_write_to_chip(struct snd_soc_codec *codec, in twl6040_can_write_to_chip()
153 static inline void twl6040_update_dl12_cache(struct snd_soc_codec *codec, in twl6040_update_dl12_cache()
171 static int twl6040_write(struct snd_soc_codec *codec, in twl6040_write()
186 static void twl6040_init_chip(struct snd_soc_codec *codec) in twl6040_init_chip()
212 static int headset_power_mode(struct snd_soc_codec *codec, int high_perf) in headset_power_mode()
237 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in twl6040_hs_dac_event() local
264 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in twl6040_ep_drv_event() local
282 static void twl6040_hs_jack_report(struct snd_soc_codec *codec, in twl6040_hs_jack_report()
[all …]
Dwm8958-dsp2.c42 static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name, in wm8958_dsp2_fw()
195 static void wm8958_dsp_start_mbc(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_mbc()
239 static void wm8958_dsp_start_vss(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_vss()
300 static void wm8958_dsp_start_enh_eq(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_enh_eq()
331 static void wm8958_dsp_apply(struct snd_soc_codec *codec, int path, int start) in wm8958_dsp_apply()
421 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8958_aif_ev() local
459 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_put_mbc_enum() local
481 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_get_mbc_enum() local
503 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_mbc_get() local
515 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8958_mbc_put() local
[all …]
Dtlv320dac33.c95 struct snd_soc_codec *codec; member
174 static inline unsigned int dac33_read_reg_cache(struct snd_soc_codec *codec, in dac33_read_reg_cache()
184 static inline void dac33_write_reg_cache(struct snd_soc_codec *codec, in dac33_write_reg_cache()
194 static int dac33_read(struct snd_soc_codec *codec, unsigned int reg, in dac33_read()
220 static int dac33_write(struct snd_soc_codec *codec, unsigned int reg, in dac33_write()
247 static int dac33_write_locked(struct snd_soc_codec *codec, unsigned int reg, in dac33_write_locked()
261 static int dac33_write16(struct snd_soc_codec *codec, unsigned int reg, in dac33_write16()
294 static void dac33_init_chip(struct snd_soc_codec *codec) in dac33_init_chip()
333 static inline int dac33_read_id(struct snd_soc_codec *codec) in dac33_read_id()
347 static inline void dac33_soft_power(struct snd_soc_codec *codec, int power) in dac33_soft_power()
[all …]
Dtwl4030.c89 static unsigned int twl4030_read(struct snd_soc_codec *codec, unsigned int reg) in twl4030_read()
154 static int twl4030_write(struct snd_soc_codec *codec, unsigned int reg, in twl4030_write()
189 static void twl4030_codec_enable(struct snd_soc_codec *codec, int enable) in twl4030_codec_enable()
230 static struct twl4030_codec_data *twl4030_get_pdata(struct snd_soc_codec *codec) in twl4030_get_pdata()
252 static void twl4030_init_chip(struct snd_soc_codec *codec) in twl4030_init_chip()
344 static void twl4030_apll_enable(struct snd_soc_codec *codec, int enable) in twl4030_apll_enable()
591 static void handsfree_ramp(struct snd_soc_codec *codec, int reg, int ramp) in handsfree_ramp()
624 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in handsfreelpga_event() local
640 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in handsfreerpga_event() local
656 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in vibramux_event() local
[all …]
Dwm8994.c109 static void wm8958_micd_set_rate(struct snd_soc_codec *codec) in wm8958_micd_set_rate()
160 static int configure_aif_clock(struct snd_soc_codec *codec, int aif) in configure_aif_clock()
213 static int configure_clock(struct snd_soc_codec *codec) in configure_clock()
253 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_clk_sys() local
303 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_sw() local
322 static void wm8994_set_drc(struct snd_soc_codec *codec, int drc) in wm8994_set_drc()
360 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_drc_enum() local
383 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_get_drc_enum() local
394 static void wm8994_set_retune_mobile(struct snd_soc_codec *codec, int block) in wm8994_set_retune_mobile()
467 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8994_put_retune_mobile_enum() local
[all …]
Dwm_hubs.c63 static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op) in wait_for_dc_servo()
111 static bool wm_hubs_dac_hp_direct(struct snd_soc_codec *codec) in wm_hubs_dac_hp_direct()
152 static bool wm_hubs_dcs_cache_get(struct snd_soc_codec *codec, in wm_hubs_dcs_cache_get()
176 static void wm_hubs_dcs_cache_set(struct snd_soc_codec *codec, u16 dcs_cfg) in wm_hubs_dcs_cache_set()
199 static int wm_hubs_read_dc_servo(struct snd_soc_codec *codec, in wm_hubs_read_dc_servo()
245 static void enable_dc_servo(struct snd_soc_codec *codec) in enable_dc_servo()
337 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8993_put_dc_servo() local
502 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_supply_event() local
544 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_event() local
596 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in earpiece_event() local
[all …]
Duda1380.c37 struct snd_soc_codec *codec; member
63 static inline unsigned int uda1380_read_reg_cache(struct snd_soc_codec *codec, in uda1380_read_reg_cache()
77 static inline void uda1380_write_reg_cache(struct snd_soc_codec *codec, in uda1380_write_reg_cache()
92 static int uda1380_write(struct snd_soc_codec *codec, unsigned int reg, in uda1380_write()
131 static void uda1380_sync_cache(struct snd_soc_codec *codec) in uda1380_sync_cache()
148 static int uda1380_reset(struct snd_soc_codec *codec) in uda1380_reset()
416 struct snd_soc_codec *codec = codec_dai->codec; in uda1380_set_dai_fmt_both() local
446 struct snd_soc_codec *codec = codec_dai->codec; in uda1380_set_dai_fmt_playback() local
476 struct snd_soc_codec *codec = codec_dai->codec; in uda1380_set_dai_fmt_capture() local
505 struct snd_soc_codec *codec = dai->codec; in uda1380_trigger() local
[all …]
Dda7213.c194 static int da7213_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) in da7213_get_alc_data()
221 static void da7213_alc_calib_man(struct snd_soc_codec *codec) in da7213_alc_calib_man()
254 static void da7213_alc_calib_auto(struct snd_soc_codec *codec) in da7213_alc_calib_auto()
281 static void da7213_alc_calib(struct snd_soc_codec *codec) in da7213_alc_calib()
346 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7213_put_mixin_gain() local
362 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7213_put_alc_sw() local
1072 struct snd_soc_codec *codec = dai->codec; in da7213_hw_params() local
1139 struct snd_soc_codec *codec = codec_dai->codec; in da7213_set_dai_fmt() local
1201 struct snd_soc_codec *codec = dai->codec; in da7213_mute() local
1224 struct snd_soc_codec *codec = codec_dai->codec; in da7213_set_dai_sysclk() local
[all …]
Drt5631.c74 static void rt5631_write_index(struct snd_soc_codec *codec, in rt5631_write_index()
84 static unsigned int rt5631_read_index(struct snd_soc_codec *codec, in rt5631_read_index()
95 static int rt5631_reset(struct snd_soc_codec *codec) in rt5631_reset()
190 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in rt5631_dmic_get() local
201 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in rt5631_dmic_put() local
289 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_sysclk1_source() local
299 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dmic_used() local
307 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dacl_to_outmixl() local
317 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dacr_to_outmixr() local
327 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_dacl_to_spkmixl() local
[all …]
Dda7219.c257 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_volsw_locked_get() local
271 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_volsw_locked_put() local
285 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_enum_locked_get() local
299 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_enum_locked_put() local
311 static void da7219_alc_calib(struct snd_soc_codec *codec) in da7219_alc_calib()
379 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_mixin_gain_put() local
398 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_alc_sw_put() local
417 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_tonegen_freq_get() local
444 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_tonegen_freq_put() local
770 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in da7219_dai_event() local
[all …]
Dmax98095.c254 static void m98095_eq_band(struct snd_soc_codec *codec, unsigned int dai, in m98095_eq_band()
280 static void m98095_biquad_band(struct snd_soc_codec *codec, unsigned int dai, in m98095_biquad_band()
356 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic1pre_set() local
370 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic1pre_get() local
380 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic2pre_set() local
394 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98095_mic2pre_get() local
601 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98095_mic_event() local
631 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98095_line_pga() local
679 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98095_lineout_event() local
945 struct snd_soc_codec *codec = dai->codec; in max98095_dai1_hw_params() local
[all …]
Drt286.c43 struct snd_soc_codec *codec; member
190 static void rt286_index_sync(struct snd_soc_codec *codec) in rt286_index_sync()
306 int rt286_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in rt286_mic_detect()
335 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_mclk_mode() local
435 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_spk_event() local
457 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_set_dmic1_event() local
476 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_vref_event() local
494 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_ldo2_event() local
513 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt286_mic1_event() local
693 struct snd_soc_codec *codec = dai->codec; in rt286_hw_params() local
[all …]
Drt298.c41 struct snd_soc_codec *codec; member
196 static void rt298_index_sync(struct snd_soc_codec *codec) in rt298_index_sync()
318 int rt298_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in rt298_mic_detect()
335 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_mclk_mode() local
433 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_spk_event() local
455 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_set_dmic1_event() local
474 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_adc_event() local
500 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_mic1_event() local
525 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt298_vref_event() local
718 struct snd_soc_codec *codec = dai->codec; in rt298_hw_params() local
[all …]
Dda732x.c171 static inline int da732x_get_input_div(struct snd_soc_codec *codec, int sysclk) in da732x_get_input_div()
200 static void da732x_set_charge_pump(struct snd_soc_codec *codec, int state) in da732x_set_charge_pump()
334 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da732x_hpf_set() local
362 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da732x_hpf_get() local
612 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in da732x_adc_event() local
666 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in da732x_out_pga_event() local
952 struct snd_soc_codec *codec = dai->codec; in da732x_hw_params() local
1022 struct snd_soc_codec *codec = dai->codec; in da732x_set_dai_fmt() local
1121 static int da732x_set_dai_pll(struct snd_soc_codec *codec, int pll_id, in da732x_set_dai_pll()
1186 struct snd_soc_codec *codec = dai->codec; in da732x_set_dai_sysclk() local
[all …]
Drt5640.c169 static int rt5640_reset(struct snd_soc_codec *codec) in rt5640_reset()
462 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() local
480 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() local
919 static void hp_amp_power_on(struct snd_soc_codec *codec) in hp_amp_power_on()
945 static void rt5640_pmu_depop(struct snd_soc_codec *codec) in rt5640_pmu_depop()
973 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_hp_event() local
997 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_lout_event() local
1026 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_hp_power_event() local
1042 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5640_hp_post_event() local
1631 static int get_sdp_info(struct snd_soc_codec *codec, int dai_id) in get_sdp_info()
[all …]
Dsgtl5000.c158 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in mic_bias_event() local
185 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in power_vag_event() local
329 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in dac_get_volsw() local
382 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in dac_put_volsw() local
451 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_digital_mute() local
463 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_set_dai_fmt() local
531 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_set_dai_sysclk() local
558 static int sgtl5000_set_clock(struct snd_soc_codec *codec, int frame_rate) in sgtl5000_set_clock()
717 struct snd_soc_codec *codec = dai->codec; in sgtl5000_pcm_hw_params() local
792 struct snd_soc_codec *codec = (struct snd_soc_codec *)ldo->codec_data; in ldo_regulator_enable() local
[all …]
Dwm8962.c58 struct snd_soc_codec *codec; member
1479 static int wm8962_dsp2_write_config(struct snd_soc_codec *codec) in wm8962_dsp2_write_config()
1487 static int wm8962_dsp2_set_enable(struct snd_soc_codec *codec, u16 val) in wm8962_dsp2_set_enable()
1510 static int wm8962_dsp2_start(struct snd_soc_codec *codec) in wm8962_dsp2_start()
1523 static int wm8962_dsp2_stop(struct snd_soc_codec *codec) in wm8962_dsp2_stop()
1554 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_dsp2_ena_get() local
1566 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_dsp2_ena_put() local
1604 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_put_hp_sw() local
1634 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8962_put_spk_sw() local
1867 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_event() local
[all …]
Dsn95031.c49 static void sn95031_enable_mic_bias(struct snd_soc_codec *codec) in sn95031_enable_mic_bias()
140 static unsigned int sn95031_get_mic_bias(struct snd_soc_codec *codec) in sn95031_get_mic_bias()
189 static int sn95031_set_vaud_bias(struct snd_soc_codec *codec, in sn95031_set_vaud_bias()
240 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_vhs_event() local
259 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_vihf_event() local
276 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_dmic12_event() local
294 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_dmic34_event() local
312 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in sn95031_dmic56_event() local
779 static inline void sn95031_disable_jack_btn(struct snd_soc_codec *codec) in sn95031_disable_jack_btn()
784 static inline void sn95031_enable_jack_btn(struct snd_soc_codec *codec) in sn95031_enable_jack_btn()
[all …]
Dstac9766.c142 static int stac9766_ac97_write(struct snd_soc_codec *codec, unsigned int reg, in stac9766_ac97_write()
162 static unsigned int stac9766_ac97_read(struct snd_soc_codec *codec, in stac9766_ac97_read()
190 struct snd_soc_codec *codec = dai->codec; in ac97_analog_prepare() local
212 struct snd_soc_codec *codec = dai->codec; in ac97_digital_prepare() local
228 static int stac9766_set_bias_level(struct snd_soc_codec *codec, in stac9766_set_bias_level()
245 static int stac9766_codec_resume(struct snd_soc_codec *codec) in stac9766_codec_resume()
300 static int stac9766_codec_probe(struct snd_soc_codec *codec) in stac9766_codec_probe()
314 static int stac9766_codec_remove(struct snd_soc_codec *codec) in stac9766_codec_remove()
Dwm8753.c233 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8753_get_dai() local
243 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8753_set_dai() local
748 struct snd_soc_codec *codec = codec_dai->codec; in wm8753_set_dai_pll() local
869 struct snd_soc_codec *codec = codec_dai->codec; in wm8753_set_dai_sysclk() local
893 static int wm8753_vdac_adc_set_dai_fmt(struct snd_soc_codec *codec, in wm8753_vdac_adc_set_dai_fmt()
929 struct snd_soc_codec *codec = dai->codec; in wm8753_pcm_hw_params() local
961 static int wm8753_pcm_set_dai_fmt(struct snd_soc_codec *codec, in wm8753_pcm_set_dai_fmt()
1029 struct snd_soc_codec *codec = codec_dai->codec; in wm8753_set_dai_clkdiv() local
1054 static int wm8753_hdac_set_dai_fmt(struct snd_soc_codec *codec, in wm8753_hdac_set_dai_fmt()
1086 static int wm8753_i2s_set_dai_fmt(struct snd_soc_codec *codec, in wm8753_i2s_set_dai_fmt()
[all …]
Dwm9713.c222 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm9713_voice_shutdown() local
258 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9713_hp_mixer_put() local
302 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9713_hp_mixer_get() local
677 static unsigned int ac97_read(struct snd_soc_codec *codec, in ac97_read()
697 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write()
724 static void pll_factors(struct snd_soc_codec *codec, in pll_factors()
786 static int wm9713_set_pll(struct snd_soc_codec *codec, in wm9713_set_pll()
854 struct snd_soc_codec *codec = codec_dai->codec; in wm9713_set_dai_pll() local
865 struct snd_soc_codec *codec = codec_dai->codec; in wm9713_set_dai_tristate() local
881 struct snd_soc_codec *codec = codec_dai->codec; in wm9713_set_dai_clkdiv() local
[all …]
Dmax98088.c310 static void m98088_eq_band(struct snd_soc_codec *codec, unsigned int dai, in m98088_eq_band()
383 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic1pre_set() local
397 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic1pre_get() local
407 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic2pre_set() local
421 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98088_mic2pre_get() local
620 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98088_mic_event() local
650 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98088_line_pga() local
966 struct snd_soc_codec *codec = dai->codec; in max98088_dai1_hw_params() local
1033 struct snd_soc_codec *codec = dai->codec; in max98088_dai2_hw_params() local
1099 struct snd_soc_codec *codec = dai->codec; in max98088_dai_set_sysclk() local
[all …]
Drt5670.c415 static int rt5670_headset_detect(struct snd_soc_codec *codec, int jack_insert) in rt5670_headset_detect()
463 void rt5670_jack_suspend(struct snd_soc_codec *codec) in rt5670_jack_suspend()
472 void rt5670_jack_resume(struct snd_soc_codec *codec) in rt5670_jack_resume()
481 static int rt5670_button_detect(struct snd_soc_codec *codec) in rt5670_button_detect()
561 int rt5670_set_jack_detect(struct snd_soc_codec *codec, in rt5670_set_jack_detect()
683 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() local
701 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() local
713 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_using_asrc() local
765 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in can_use_asrc() local
789 int rt5670_sel_asrc_clk_src(struct snd_soc_codec *codec, in rt5670_sel_asrc_clk_src()
[all …]
Dwl1273.c175 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_get_audio_route() local
193 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_set_audio_route() local
217 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_audio_get() local
230 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_audio_put() local
254 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_volume_get() local
267 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_volume_put() local
305 struct snd_soc_codec *codec = dai->codec; in wl1273_startup() local
419 int wl1273_get_format(struct snd_soc_codec *codec, unsigned int *fmt) in wl1273_get_format()
450 static int wl1273_probe(struct snd_soc_codec *codec) in wl1273_probe()
474 static int wl1273_remove(struct snd_soc_codec *codec) in wl1273_remove()
Dwm8770.c87 struct snd_soc_codec *codec; member
311 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in vout12supply_event() local
328 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in vout34supply_event() local
342 static int wm8770_reset(struct snd_soc_codec *codec) in wm8770_reset()
349 struct snd_soc_codec *codec; in wm8770_set_fmt() local
414 struct snd_soc_codec *codec; in wm8770_hw_params() local
480 struct snd_soc_codec *codec; in wm8770_mute() local
490 struct snd_soc_codec *codec; in wm8770_set_sysclk() local
499 static int wm8770_set_bias_level(struct snd_soc_codec *codec, in wm8770_set_bias_level()
570 static int wm8770_probe(struct snd_soc_codec *codec) in wm8770_probe()
Dak5386.c41 static int ak5386_soc_probe(struct snd_soc_codec *codec) in ak5386_soc_probe()
47 static int ak5386_soc_remove(struct snd_soc_codec *codec) in ak5386_soc_remove()
55 static int ak5386_soc_suspend(struct snd_soc_codec *codec) in ak5386_soc_suspend()
62 static int ak5386_soc_resume(struct snd_soc_codec *codec) in ak5386_soc_resume()
86 struct snd_soc_codec *codec = codec_dai->codec; in ak5386_set_dai_fmt() local
102 struct snd_soc_codec *codec = dai->codec; in ak5386_hw_params() local
124 struct snd_soc_codec *codec = dai->codec; in ak5386_hw_free() local
Dwm9705.c207 static unsigned int ac97_read(struct snd_soc_codec *codec, unsigned int reg) in ac97_read()
227 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write()
244 struct snd_soc_codec *codec = dai->codec; in ac97_prepare() local
300 static int wm9705_soc_suspend(struct snd_soc_codec *codec) in wm9705_soc_suspend()
309 static int wm9705_soc_resume(struct snd_soc_codec *codec) in wm9705_soc_resume()
331 static int wm9705_soc_probe(struct snd_soc_codec *codec) in wm9705_soc_probe()
347 static int wm9705_soc_remove(struct snd_soc_codec *codec) in wm9705_soc_remove()
Dtas2552.c73 struct snd_soc_codec *codec; member
91 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in tas2552_post_event() local
163 static int tas2552_setup_pll(struct snd_soc_codec *codec, in tas2552_setup_pll()
244 struct snd_soc_codec *codec = dai->codec; in tas2552_hw_params() local
333 struct snd_soc_codec *codec = dai->codec; in tas2552_prepare() local
351 struct snd_soc_codec *codec = dai->codec; in tas2552_set_dai_fmt() local
401 struct snd_soc_codec *codec = dai->codec; in tas2552_set_dai_sysclk() local
448 struct snd_soc_codec *codec = dai->codec; in tas2552_set_dai_tdm_slot() local
476 struct snd_soc_codec *codec = dai->codec; in tas2552_mute() local
570 static int tas2552_codec_probe(struct snd_soc_codec *codec) in tas2552_codec_probe()
[all …]
Dwm8961.c197 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8961_hp_event() local
289 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8961_spk_event() local
508 struct snd_soc_codec *codec = dai->codec; in wm8961_hw_params() local
599 struct snd_soc_codec *codec = dai->codec; in wm8961_set_sysclk() local
626 struct snd_soc_codec *codec = dai->codec; in wm8961_set_fmt() local
692 struct snd_soc_codec *codec = dai->codec; in wm8961_set_tristate() local
705 struct snd_soc_codec *codec = dai->codec; in wm8961_digital_mute() local
720 struct snd_soc_codec *codec = dai->codec; in wm8961_set_clkdiv() local
745 static int wm8961_set_bias_level(struct snd_soc_codec *codec, in wm8961_set_bias_level()
833 static int wm8961_probe(struct snd_soc_codec *codec) in wm8961_probe()
[all …]
Dmax98090.c357 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98090_get_enab_tlv() local
397 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98090_put_enab_tlv() local
736 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98090_micinput_event() local
783 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in max98090_shdn_event() local
1444 static int max98090_add_widgets(struct snd_soc_codec *codec) in max98090_add_widgets()
1500 static void max98090_configure_bclk(struct snd_soc_codec *codec) in max98090_configure_bclk()
1593 struct snd_soc_codec *codec = codec_dai->codec; in max98090_dai_set_fmt() local
1694 struct snd_soc_codec *codec = codec_dai->codec; in max98090_set_tdm_slot() local
1727 static int max98090_set_bias_level(struct snd_soc_codec *codec, in max98090_set_bias_level()
1931 struct snd_soc_codec *codec = dai->codec; in max98090_dai_hw_params() local
[all …]
Drt5651.c378 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() local
397 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sysclk_from_pll() local
735 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_amp_power_event() local
773 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_hp_event() local
818 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_hp_post_event() local
838 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_bst1_event() local
861 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_bst2_event() local
884 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5651_bst3_event() local
1346 struct snd_soc_codec *codec = dai->codec; in rt5651_hw_params() local
1412 struct snd_soc_codec *codec = dai->codec; in rt5651_set_dai_fmt() local
[all …]
Dtlv320aic31xx.c162 struct snd_soc_codec *codec; member
352 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in aic31xx_dapm_power_event() local
437 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in mic_bias_event() local
630 static int aic31xx_add_controls(struct snd_soc_codec *codec) in aic31xx_add_controls()
647 static int aic31xx_add_widgets(struct snd_soc_codec *codec) in aic31xx_add_widgets()
680 static int aic31xx_setup_pll(struct snd_soc_codec *codec, in aic31xx_setup_pll()
778 struct snd_soc_codec *codec = dai->codec; in aic31xx_hw_params() local
815 struct snd_soc_codec *codec = codec_dai->codec; in aic31xx_dac_mute() local
832 struct snd_soc_codec *codec = codec_dai->codec; in aic31xx_set_dai_fmt() local
899 struct snd_soc_codec *codec = codec_dai->codec; in aic31xx_set_dai_sysclk() local
[all …]
Dalc5623.c50 static inline int alc5623_reset(struct snd_soc_codec *codec) in alc5623_reset()
58 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in amp_mixer_event() local
529 struct snd_soc_codec *codec = codec_dai->codec; in alc5623_set_dai_pll() local
607 static int get_coeff(struct snd_soc_codec *codec, int rate) in get_coeff()
625 struct snd_soc_codec *codec = codec_dai->codec; in alc5623_set_dai_sysclk() local
646 struct snd_soc_codec *codec = codec_dai->codec; in alc5623_set_dai_fmt() local
704 struct snd_soc_codec *codec = dai->codec; in alc5623_pcm_hw_params() local
747 struct snd_soc_codec *codec = dai->codec; in alc5623_mute() local
772 static void enable_power_depop(struct snd_soc_codec *codec) in enable_power_depop()
805 static int alc5623_set_bias_level(struct snd_soc_codec *codec, in alc5623_set_bias_level()
[all …]
Dwm5102.c584 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5102_sysclk_ev() local
620 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5102_adsp_power_ev() local
663 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_coeff_get() local
677 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_coeff_put() local
692 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_switch_get() local
705 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5102_out_comp_switch_put() local
1717 static int wm5102_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm5102_set_fll()
1869 static int wm5102_codec_probe(struct snd_soc_codec *codec) in wm5102_codec_probe()
1899 static int wm5102_codec_remove(struct snd_soc_codec *codec) in wm5102_codec_remove()
Dwm8995.c388 struct snd_soc_codec *codec; member
488 static void wm8995_update_class_w(struct snd_soc_codec *codec) in wm8995_update_class_w()
537 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in check_clk_sys() local
553 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8995_put_class_w() local
564 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_supply_event() local
591 static void dc_servo_cmd(struct snd_soc_codec *codec, in dc_servo_cmd()
613 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_event() local
672 static int configure_aif_clock(struct snd_soc_codec *codec, int aif) in configure_aif_clock()
722 static int configure_clock(struct snd_soc_codec *codec) in configure_clock()
763 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event() local
[all …]
Dtlv320aic23.c85 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_tlv320aic23_put_volsw() local
108 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_tlv320aic23_get_volsw() local
300 static void get_current_sample_rates(struct snd_soc_codec *codec, int mclk, in get_current_sample_rates()
317 static int set_sample_rate_control(struct snd_soc_codec *codec, int mclk, in set_sample_rate_control()
343 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_hw_params() local
388 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_pcm_prepare() local
399 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_shutdown() local
415 struct snd_soc_codec *codec = dai->codec; in tlv320aic23_mute() local
433 struct snd_soc_codec *codec = codec_dai->codec; in tlv320aic23_set_dai_fmt() local
484 static int tlv320aic23_set_bias_level(struct snd_soc_codec *codec, in tlv320aic23_set_bias_level()
[all …]
Dwm8960.c162 static int wm8960_set_deemph(struct snd_soc_codec *codec) in wm8960_set_deemph()
192 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8960_get_deemph() local
202 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8960_put_deemph() local
462 static int wm8960_add_widgets(struct snd_soc_codec *codec) in wm8960_add_widgets()
513 struct snd_soc_codec *codec = codec_dai->codec; in wm8960_set_dai_fmt() local
596 static int wm8960_configure_clocking(struct snd_soc_codec *codec) in wm8960_configure_clocking()
706 struct snd_soc_codec *codec = dai->codec; in wm8960_hw_params() local
765 struct snd_soc_codec *codec = dai->codec; in wm8960_hw_free() local
776 struct snd_soc_codec *codec = dai->codec; in wm8960_mute() local
785 static int wm8960_set_bias_level_out3(struct snd_soc_codec *codec, in wm8960_set_bias_level_out3()
[all …]
Dak4641.c53 static int ak4641_set_deemph(struct snd_soc_codec *codec) in ak4641_set_deemph()
77 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in ak4641_put_deemph() local
92 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in ak4641_get_deemph() local
290 struct snd_soc_codec *codec = codec_dai->codec; in ak4641_set_dai_sysclk() local
301 struct snd_soc_codec *codec = dai->codec; in ak4641_i2s_hw_params() local
341 struct snd_soc_codec *codec = codec_dai->codec; in ak4641_pcm_set_dai_fmt() local
373 struct snd_soc_codec *codec = codec_dai->codec; in ak4641_i2s_set_dai_fmt() local
393 struct snd_soc_codec *codec = dai->codec; in ak4641_mute() local
398 static int ak4641_set_bias_level(struct snd_soc_codec *codec, in ak4641_set_bias_level()
Dadav80x.c215 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adav80x_dapm_sysclk_check() local
239 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adav80x_dapm_pll_check() local
284 static int adav80x_set_deemph(struct snd_soc_codec *codec) in adav80x_set_deemph()
318 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in adav80x_put_deemph() local
333 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in adav80x_get_deemph() local
368 struct snd_soc_codec *codec = dai->codec; in adav80x_set_dai_fmt() local
418 static int adav80x_set_adc_clock(struct snd_soc_codec *codec, in adav80x_set_adc_clock()
435 static int adav80x_set_dac_clock(struct snd_soc_codec *codec, in adav80x_set_dac_clock()
453 static int adav80x_set_capture_pcm_format(struct snd_soc_codec *codec, in adav80x_set_capture_pcm_format()
482 static int adav80x_set_playback_pcm_format(struct snd_soc_codec *codec, in adav80x_set_playback_pcm_format()
[all …]
Dwm8741.c64 static int wm8741_reset(struct snd_soc_codec *codec) in wm8741_reset()
184 struct snd_soc_codec *codec = dai->codec; in wm8741_startup() local
199 struct snd_soc_codec *codec = dai->codec; in wm8741_hw_params() local
254 struct snd_soc_codec *codec = codec_dai->codec; in wm8741_set_dai_sysclk() local
299 struct snd_soc_codec *codec = codec_dai->codec; in wm8741_set_dai_fmt() local
384 static int wm8741_resume(struct snd_soc_codec *codec) in wm8741_resume()
393 static int wm8741_configure(struct snd_soc_codec *codec) in wm8741_configure()
424 static int wm8741_add_controls(struct snd_soc_codec *codec) in wm8741_add_controls()
452 static int wm8741_probe(struct snd_soc_codec *codec) in wm8741_probe()
491 static int wm8741_remove(struct snd_soc_codec *codec) in wm8741_remove()
Dwm9712.c184 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9712_hp_mixer_put() local
228 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm9712_hp_mixer_get() local
488 static unsigned int ac97_read(struct snd_soc_codec *codec, in ac97_read()
508 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write()
525 struct snd_soc_codec *codec = dai->codec; in ac97_prepare() local
544 struct snd_soc_codec *codec = dai->codec; in ac97_aux_prepare() local
600 static int wm9712_set_bias_level(struct snd_soc_codec *codec, in wm9712_set_bias_level()
619 static int wm9712_soc_resume(struct snd_soc_codec *codec) in wm9712_soc_resume()
645 static int wm9712_soc_probe(struct snd_soc_codec *codec) in wm9712_soc_probe()
664 static int wm9712_soc_remove(struct snd_soc_codec *codec) in wm9712_soc_remove()
Dwm8955.c131 static int wm8955_reset(struct snd_soc_codec *codec) in wm8955_reset()
245 static int wm8955_configure_clocking(struct snd_soc_codec *codec) in wm8955_configure_clocking()
336 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8955_sysclk() local
363 static int wm8955_set_deemph(struct snd_soc_codec *codec) in wm8955_set_deemph()
393 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8955_get_deemph() local
403 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8955_put_deemph() local
595 struct snd_soc_codec *codec = dai->codec; in wm8955_hw_params() local
644 struct snd_soc_codec *codec = dai->codec; in wm8955_set_sysclk() local
673 struct snd_soc_codec *codec = dai->codec; in wm8955_set_fmt() local
752 struct snd_soc_codec *codec = codec_dai->codec; in wm8955_digital_mute() local
[all …]
Dwm8904.c319 static int wm8904_configure_clocking(struct snd_soc_codec *codec) in wm8904_configure_clocking()
375 static void wm8904_set_drc(struct snd_soc_codec *codec) in wm8904_set_drc()
396 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_put_drc_enum() local
414 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_get_drc_enum() local
422 static void wm8904_set_retune_mobile(struct snd_soc_codec *codec) in wm8904_set_retune_mobile()
467 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_put_retune_mobile_enum() local
485 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_get_retune_mobile_enum() local
495 static int wm8904_set_deemph(struct snd_soc_codec *codec) in wm8904_set_deemph()
525 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_get_deemph() local
535 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8904_put_deemph() local
[all …]
Drt5645.c240 struct snd_soc_codec *codec; member
268 static int rt5645_reset(struct snd_soc_codec *codec) in rt5645_reset()
667 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() local
685 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() local
699 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_using_asrc() local
744 static int rt5645_enable_hweq(struct snd_soc_codec *codec) in rt5645_enable_hweq()
774 int rt5645_sel_asrc_clk_src(struct snd_soc_codec *codec, in rt5645_sel_asrc_clk_src()
1499 static void hp_amp_power(struct snd_soc_codec *codec, int on) in hp_amp_power()
1594 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5645_hp_event() local
1660 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rt5645_spk_event() local
[all …]
Des8328.c98 static int es8328_set_deemph(struct snd_soc_codec *codec) in es8328_set_deemph()
129 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in es8328_get_deemph() local
139 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in es8328_put_deemph() local
446 struct snd_soc_codec *codec = dai->codec; in es8328_hw_params() local
486 struct snd_soc_codec *codec = codec_dai->codec; in es8328_set_dai_fmt() local
530 static int es8328_set_bias_level(struct snd_soc_codec *codec, in es8328_set_bias_level()
606 static int es8328_suspend(struct snd_soc_codec *codec) in es8328_suspend()
624 static int es8328_resume(struct snd_soc_codec *codec) in es8328_resume()
655 static int es8328_codec_probe(struct snd_soc_codec *codec) in es8328_codec_probe()
691 static int es8328_remove(struct snd_soc_codec *codec) in es8328_remove()
Dalc5632.c119 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in amp_mixer_event() local
684 struct snd_soc_codec *codec = codec_dai->codec; in alc5632_set_dai_pll() local
778 static int get_coeff(struct snd_soc_codec *codec, int rate) in get_coeff()
796 struct snd_soc_codec *codec = codec_dai->codec; in alc5632_set_dai_sysclk() local
818 struct snd_soc_codec *codec = codec_dai->codec; in alc5632_set_dai_fmt() local
873 struct snd_soc_codec *codec = dai->codec; in alc5632_pcm_hw_params() local
910 struct snd_soc_codec *codec = dai->codec; in alc5632_mute() local
932 static void enable_power_depop(struct snd_soc_codec *codec) in enable_power_depop()
969 static int alc5632_set_bias_level(struct snd_soc_codec *codec, in alc5632_set_bias_level()
1041 static int alc5632_resume(struct snd_soc_codec *codec) in alc5632_resume()
[all …]
Dwm8978.c411 static void pll_factors(struct snd_soc_codec *codec, in pll_factors()
474 static int wm8978_configure_pll(struct snd_soc_codec *codec) in wm8978_configure_pll()
568 struct snd_soc_codec *codec = codec_dai->codec; in wm8978_set_dai_clkdiv() local
613 struct snd_soc_codec *codec = codec_dai->codec; in wm8978_set_dai_sysclk() local
654 struct snd_soc_codec *codec = codec_dai->codec; in wm8978_set_dai_fmt() local
723 struct snd_soc_codec *codec = dai->codec; in wm8978_hw_params() local
844 struct snd_soc_codec *codec = dai->codec; in wm8978_mute() local
856 static int wm8978_set_bias_level(struct snd_soc_codec *codec, in wm8978_set_bias_level()
926 static int wm8978_suspend(struct snd_soc_codec *codec) in wm8978_suspend()
939 static int wm8978_resume(struct snd_soc_codec *codec) in wm8978_resume()
[all …]
Dwm5110.c162 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_sysclk_ev() local
268 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_hp_pre_enable() local
305 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_hp_pre_disable() local
338 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_hp_ev() local
377 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5110_put_dre() local
438 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5110_in_pga_get() local
459 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm5110_in_pga_put() local
480 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_in_analog_ev() local
539 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5110_in_ev() local
1847 static int wm5110_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm5110_set_fll()
[all …]
Dwm8400.c68 static void wm8400_codec_reset(struct snd_soc_codec *codec) in wm8400_codec_reset()
94 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8400_outpga_put_volsw_vu() local
327 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in outmixer_event() local
852 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_sysclk() local
941 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_pll() local
998 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_fmt() local
1051 struct snd_soc_codec *codec = codec_dai->codec; in wm8400_set_dai_clkdiv() local
1089 struct snd_soc_codec *codec = dai->codec; in wm8400_hw_params() local
1114 struct snd_soc_codec *codec = dai->codec; in wm8400_mute() local
1126 static int wm8400_set_bias_level(struct snd_soc_codec *codec, in wm8400_set_bias_level()
[all …]
Dwm8996.c55 struct snd_soc_codec *codec; member
337 static void wm8996_set_retune_mobile(struct snd_soc_codec *codec, int block) in wm8996_set_retune_mobile()
415 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8996_put_retune_mobile_enum() local
437 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8996_get_retune_mobile_enum() local
577 static void wm8996_bg_enable(struct snd_soc_codec *codec) in wm8996_bg_enable()
589 static void wm8996_bg_disable(struct snd_soc_codec *codec) in wm8996_bg_disable()
602 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in bg_event() local
637 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in rmv_short_event() local
656 static void wait_for_dc_servo(struct snd_soc_codec *codec, u16 mask) in wait_for_dc_servo()
691 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm8996_seq_notifier() local
[all …]
Darizona.c86 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_spk_ev() local
211 int arizona_init_spk(struct snd_soc_codec *codec) in arizona_init_spk()
261 int arizona_init_mono(struct snd_soc_codec *codec) in arizona_init_mono()
278 int arizona_init_gpio(struct snd_soc_codec *codec) in arizona_init_gpio()
705 static void arizona_in_set_vu(struct snd_soc_codec *codec, int ena) in arizona_in_set_vu()
722 bool arizona_input_analog(struct snd_soc_codec *codec, int shift) in arizona_input_analog()
734 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_in_ev() local
780 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_out_ev() local
863 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in arizona_hp_ev() local
898 static int arizona_dvfs_enable(struct snd_soc_codec *codec) in arizona_dvfs_enable()
[all …]
Dab8500-codec.c1040 static void anc_fir(struct snd_soc_codec *codec, in anc_fir()
1057 static void anc_iir(struct snd_soc_codec *codec, unsigned int bnk, in anc_iir()
1088 static void anc_configure(struct snd_soc_codec *codec, in anc_configure()
1129 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sid_status_control_get() local
1143 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sid_status_control_put() local
1198 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in anc_status_control_get() local
1211 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in anc_status_control_put() local
1294 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in filter_control_get() local
1311 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in filter_control_put() local
1929 static int ab8500_audio_init_audioblock(struct snd_soc_codec *codec) in ab8500_audio_init_audioblock()
[all …]
Duda134x.c113 static inline void uda134x_reset(struct snd_soc_codec *codec) in uda134x_reset()
142 struct snd_soc_codec *codec = dai->codec; in uda134x_startup() local
171 struct snd_soc_codec *codec = dai->codec; in uda134x_shutdown() local
184 struct snd_soc_codec *codec = dai->codec; in uda134x_hw_params() local
251 struct snd_soc_codec *codec = codec_dai->codec; in uda134x_set_dai_sysclk() local
273 struct snd_soc_codec *codec = codec_dai->codec; in uda134x_set_dai_fmt() local
297 static int uda134x_set_bias_level(struct snd_soc_codec *codec, in uda134x_set_bias_level()
449 static int uda134x_soc_probe(struct snd_soc_codec *codec) in uda134x_soc_probe()
Dwm8711.c162 struct snd_soc_codec *codec = dai->codec; in wm8711_hw_params() local
190 struct snd_soc_codec *codec = dai->codec; in wm8711_pcm_prepare() local
201 struct snd_soc_codec *codec = dai->codec; in wm8711_shutdown() local
212 struct snd_soc_codec *codec = dai->codec; in wm8711_mute() local
226 struct snd_soc_codec *codec = codec_dai->codec; in wm8711_set_dai_sysclk() local
244 struct snd_soc_codec *codec = codec_dai->codec; in wm8711_set_dai_fmt() local
300 static int wm8711_set_bias_level(struct snd_soc_codec *codec, in wm8711_set_bias_level()
352 static int wm8711_probe(struct snd_soc_codec *codec) in wm8711_probe()
Dcs42l51.c57 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs42l51_get_chan_mix() local
85 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs42l51_set_chan_mix() local
156 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l51_pdn_event() local
266 struct snd_soc_codec *codec = codec_dai->codec; in cs42l51_set_dai_fmt() local
329 struct snd_soc_codec *codec = codec_dai->codec; in cs42l51_set_dai_sysclk() local
340 struct snd_soc_codec *codec = dai->codec; in cs42l51_hw_params() local
447 struct snd_soc_codec *codec = dai->codec; in cs42l51_dai_mute() local
487 static int cs42l51_codec_probe(struct snd_soc_codec *codec) in cs42l51_codec_probe()
Dpcm512x.c232 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_pll_get() local
242 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_pll_put() local
260 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dsp_get() local
270 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dsp_put() local
288 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dac_get() local
298 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm512x_overclock_dac_put() local
528 struct snd_soc_codec *codec = dai->codec; in pcm512x_dai_startup_master() local
570 struct snd_soc_codec *codec = dai->codec; in pcm512x_dai_startup_slave() local
596 struct snd_soc_codec *codec = dai->codec; in pcm512x_dai_startup() local
612 static int pcm512x_set_bias_level(struct snd_soc_codec *codec, in pcm512x_set_bias_level()
[all …]
Dtlv320aic3x.c75 struct snd_soc_codec *codec; member
150 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in snd_soc_dapm_put_volsw_aic3x() local
203 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in mic_bias_event() local
981 static int aic3x_add_widgets(struct snd_soc_codec *codec) in aic3x_add_widgets()
1023 struct snd_soc_codec *codec = dai->codec; in aic3x_hw_params() local
1175 struct snd_soc_codec *codec = dai->codec; in aic3x_prepare() local
1197 struct snd_soc_codec *codec = dai->codec; in aic3x_mute() local
1215 struct snd_soc_codec *codec = codec_dai->codec; in aic3x_set_dai_sysclk() local
1231 struct snd_soc_codec *codec = codec_dai->codec; in aic3x_set_dai_fmt() local
1287 struct snd_soc_codec *codec = codec_dai->codec; in aic3x_set_dai_tdm_slot() local
[all …]
Dcs42l52.c45 struct snd_soc_codec *codec; member
476 static int cs42l52_add_mic_controls(struct snd_soc_codec *codec) in cs42l52_add_mic_controls()
719 struct snd_soc_codec *codec = codec_dai->codec; in cs42l52_set_sysclk() local
733 struct snd_soc_codec *codec = codec_dai->codec; in cs42l52_set_fmt() local
793 struct snd_soc_codec *codec = dai->codec; in cs42l52_digital_mute() local
811 struct snd_soc_codec *codec = dai->codec; in cs42l52_pcm_hw_params() local
835 static int cs42l52_set_bias_level(struct snd_soc_codec *codec, in cs42l52_set_bias_level()
905 struct snd_soc_codec *codec = cs42l52->codec; in cs42l52_beep_work() local
941 struct snd_soc_codec *codec = input_get_drvdata(dev); in cs42l52_beep_event() local
981 static void cs42l52_init_beep(struct snd_soc_codec *codec) in cs42l52_init_beep()
[all …]
Dsta32x.c146 struct snd_soc_codec *codec; member
273 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta32x_coefficient_get() local
315 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta32x_coefficient_put() local
350 static int sta32x_sync_coef_shadow(struct snd_soc_codec *codec) in sta32x_sync_coef_shadow()
378 static int sta32x_cache_sync(struct snd_soc_codec *codec) in sta32x_cache_sync()
398 struct snd_soc_codec *codec = sta32x->codec; in sta32x_watchdog() local
585 struct snd_soc_codec *codec = codec_dai->codec; in sta32x_set_dai_sysclk() local
605 struct snd_soc_codec *codec = codec_dai->codec; in sta32x_set_dai_fmt() local
654 struct snd_soc_codec *codec = dai->codec; in sta32x_hw_params() local
803 static int sta32x_set_bias_level(struct snd_soc_codec *codec, in sta32x_set_bias_level()
[all …]
Dac97.c39 struct snd_soc_codec *codec = dai->codec; in ac97_prepare() local
68 static int ac97_soc_probe(struct snd_soc_codec *codec) in ac97_soc_probe()
92 static int ac97_soc_suspend(struct snd_soc_codec *codec) in ac97_soc_suspend()
101 static int ac97_soc_resume(struct snd_soc_codec *codec) in ac97_soc_resume()
Dwm8990.c135 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm899x_outpga_put_volsw_vu() local
377 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in outmixer_event() local
937 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_pll() local
970 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_sysclk() local
983 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_fmt() local
1036 struct snd_soc_codec *codec = codec_dai->codec; in wm8990_set_dai_clkdiv() local
1069 struct snd_soc_codec *codec = dai->codec; in wm8990_hw_params() local
1094 struct snd_soc_codec *codec = dai->codec; in wm8990_mute() local
1107 static int wm8990_set_bias_level(struct snd_soc_codec *codec, in wm8990_set_bias_level()
1275 static int wm8990_probe(struct snd_soc_codec *codec) in wm8990_probe()
Dwm8776.c81 static int wm8776_reset(struct snd_soc_codec *codec) in wm8776_reset()
169 struct snd_soc_codec *codec = dai->codec; in wm8776_set_fmt() local
246 struct snd_soc_codec *codec = dai->codec; in wm8776_hw_params() local
317 struct snd_soc_codec *codec = dai->codec; in wm8776_mute() local
325 struct snd_soc_codec *codec = dai->codec; in wm8776_set_sysclk() local
336 static int wm8776_set_bias_level(struct snd_soc_codec *codec, in wm8776_set_bias_level()
410 static int wm8776_probe(struct snd_soc_codec *codec) in wm8776_probe()
Drt5677.c557 struct snd_soc_codec *codec = rt5677->codec; in rt5677_dsp_mode_i2c_write_addr() local
615 struct snd_soc_codec *codec = rt5677->codec; in rt5677_dsp_mode_i2c_read_addr() local
688 static void rt5677_set_dsp_mode(struct snd_soc_codec *codec, bool on) in rt5677_set_dsp_mode()
701 static int rt5677_set_dsp_vad(struct snd_soc_codec *codec, bool on) in rt5677_set_dsp_vad()
817 struct snd_soc_codec *codec = snd_soc_component_to_codec(component); in rt5677_dsp_vad_put() local
916 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in set_dmic_clk() local
934 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_sys_clk_from_pll() local
949 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in is_using_asrc() local
1032 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in can_use_asrc() local
1055 int rt5677_sel_asrc_clk_src(struct snd_soc_codec *codec, in rt5677_sel_asrc_clk_src()
[all …]
D88pm860x-codec.c142 struct snd_soc_codec *codec; member
275 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_get_volsw_2r_st() local
299 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_put_volsw_2r_st() local
332 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_get_volsw_2r_out() local
352 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_soc_put_volsw_2r_out() local
385 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pm860x_rsync_event() local
402 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pm860x_dac_event() local
925 struct snd_soc_codec *codec = codec_dai->codec; in pm860x_digital_mute() local
940 struct snd_soc_codec *codec = dai->codec; in pm860x_pcm_hw_params() local
982 struct snd_soc_codec *codec = codec_dai->codec; in pm860x_pcm_set_dai_fmt() local
[all …]
Dak4535.c254 struct snd_soc_codec *codec = codec_dai->codec; in ak4535_set_dai_sysclk() local
265 struct snd_soc_codec *codec = dai->codec; in ak4535_hw_params() local
293 struct snd_soc_codec *codec = codec_dai->codec; in ak4535_set_dai_fmt() local
317 struct snd_soc_codec *codec = dai->codec; in ak4535_mute() local
326 static int ak4535_set_bias_level(struct snd_soc_codec *codec, in ak4535_set_bias_level()
375 static int ak4535_resume(struct snd_soc_codec *codec) in ak4535_resume()
Dssm2602.c276 struct snd_soc_codec *codec = dai->codec; in ssm2602_hw_params() local
311 struct snd_soc_codec *codec = dai->codec; in ssm2602_startup() local
340 struct snd_soc_codec *codec = codec_dai->codec; in ssm2602_set_dai_sysclk() local
448 static int ssm2602_set_bias_level(struct snd_soc_codec *codec, in ssm2602_set_bias_level()
514 static int ssm2602_resume(struct snd_soc_codec *codec) in ssm2602_resume()
523 static int ssm2602_codec_probe(struct snd_soc_codec *codec) in ssm2602_codec_probe()
548 static int ssm2604_codec_probe(struct snd_soc_codec *codec) in ssm2604_codec_probe()
562 static int ssm260x_codec_probe(struct snd_soc_codec *codec) in ssm260x_codec_probe()
Dwm8940.c342 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_fmt() local
397 struct snd_soc_codec *codec = dai->codec; in wm8940_i2s_hw_params() local
460 struct snd_soc_codec *codec = dai->codec; in wm8940_mute() local
469 static int wm8940_set_bias_level(struct snd_soc_codec *codec, in wm8940_set_bias_level()
579 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_pll() local
620 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_sysclk() local
638 struct snd_soc_codec *codec = codec_dai->codec; in wm8940_set_dai_clkdiv() local
696 static int wm8940_probe(struct snd_soc_codec *codec) in wm8940_probe()
Dcx20442.c91 static unsigned int cx20442_read_reg_cache(struct snd_soc_codec *codec, in cx20442_read_reg_cache()
155 static int cx20442_write(struct snd_soc_codec *codec, unsigned int reg, in cx20442_write()
243 struct snd_soc_codec *codec = tty->disc_data; in v253_close() local
270 struct snd_soc_codec *codec = tty->disc_data; in v253_receive() local
328 static int cx20442_set_bias_level(struct snd_soc_codec *codec, in cx20442_set_bias_level()
358 static int cx20442_codec_probe(struct snd_soc_codec *codec) in cx20442_codec_probe()
379 static int cx20442_codec_remove(struct snd_soc_codec *codec) in cx20442_codec_remove()
Dmax98925.c102 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in max98925_dac_event() local
259 static inline int max98925_rate_value(struct snd_soc_codec *codec, in max98925_rate_value()
300 struct snd_soc_codec *codec = codec_dai->codec; in max98925_dai_set_fmt() local
355 struct snd_soc_codec *codec = max98925->codec; in max98925_set_clock() local
430 struct snd_soc_codec *codec = dai->codec; in max98925_dai_hw_params() local
465 struct snd_soc_codec *codec = dai->codec; in max98925_dai_set_sysclk() local
519 static int max98925_probe(struct snd_soc_codec *codec) in max98925_probe()
Dwm8985.c529 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_get() local
544 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_put() local
584 static int wm8985_reset(struct snd_soc_codec *codec) in wm8985_reset()
591 struct snd_soc_codec *codec = dai->codec; in wm8985_dac_mute() local
600 struct snd_soc_codec *codec; in wm8985_set_fmt() local
688 struct snd_soc_codec *codec; in wm8985_hw_params() local
824 struct snd_soc_codec *codec; in wm8985_set_pll() local
858 struct snd_soc_codec *codec; in wm8985_set_sysclk() local
884 static int wm8985_set_bias_level(struct snd_soc_codec *codec, in wm8985_set_bias_level()
963 static int wm8985_probe(struct snd_soc_codec *codec) in wm8985_probe()
Dak4104.c68 struct snd_soc_codec *codec = codec_dai->codec; in ak4104_set_dai_fmt() local
105 struct snd_soc_codec *codec = dai->codec; in ak4104_hw_params() local
174 static int ak4104_probe(struct snd_soc_codec *codec) in ak4104_probe()
205 static int ak4104_remove(struct snd_soc_codec *codec) in ak4104_remove()
217 static int ak4104_soc_suspend(struct snd_soc_codec *codec) in ak4104_soc_suspend()
226 static int ak4104_soc_resume(struct snd_soc_codec *codec) in ak4104_soc_resume()
Dcs42l73.c493 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l73_spklo_spk_amp_event() local
509 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l73_ear_amp_event() local
527 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in cs42l73_hp_amp_event() local
887 struct snd_soc_codec *codec = dai->codec; in cs42l73_set_mclk() local
920 struct snd_soc_codec *codec = dai->codec; in cs42l73_set_sysclk() local
945 struct snd_soc_codec *codec = codec_dai->codec; in cs42l73_set_dai_fmt() local
1032 static void cs42l73_update_asrc(struct snd_soc_codec *codec, int id, int srate) in cs42l73_update_asrc()
1058 struct snd_soc_codec *codec = dai->codec; in cs42l73_pcm_hw_params() local
1102 static int cs42l73_set_bias_level(struct snd_soc_codec *codec, in cs42l73_set_bias_level()
1142 struct snd_soc_codec *codec = dai->codec; in cs42l73_set_tristate() local
[all …]
Dwm8991.c126 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm899x_outpga_put_volsw_vu() local
354 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in outmixer_event() local
920 struct snd_soc_codec *codec = codec_dai->codec; in wm8991_set_dai_pll() local
955 struct snd_soc_codec *codec = codec_dai->codec; in wm8991_set_dai_fmt() local
1008 struct snd_soc_codec *codec = codec_dai->codec; in wm8991_set_dai_clkdiv() local
1046 struct snd_soc_codec *codec = dai->codec; in wm8991_hw_params() local
1071 struct snd_soc_codec *codec = dai->codec; in wm8991_mute() local
1082 static int wm8991_set_bias_level(struct snd_soc_codec *codec, in wm8991_set_bias_level()
Dwm9090.c146 static void wait_for_dc_servo(struct snd_soc_codec *codec) in wait_for_dc_servo()
254 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in hp_ev() local
422 static int wm9090_add_controls(struct snd_soc_codec *codec) in wm9090_add_controls()
475 static int wm9090_set_bias_level(struct snd_soc_codec *codec, in wm9090_set_bias_level()
518 static int wm9090_probe(struct snd_soc_codec *codec) in wm9090_probe()
Dak4671.c166 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in ak4671_out2_event() local
430 struct snd_soc_codec *codec = dai->codec; in ak4671_hw_params() local
476 struct snd_soc_codec *codec = dai->codec; in ak4671_set_dai_sysclk() local
521 struct snd_soc_codec *codec = dai->codec; in ak4671_set_dai_fmt() local
566 static int ak4671_set_bias_level(struct snd_soc_codec *codec, in ak4671_set_bias_level()
Dmax9850.c133 struct snd_soc_codec *codec = dai->codec; in max9850_hw_params() local
172 struct snd_soc_codec *codec = codec_dai->codec; in max9850_set_dai_sysclk() local
191 struct snd_soc_codec *codec = codec_dai->codec; in max9850_set_dai_fmt() local
242 static int max9850_set_bias_level(struct snd_soc_codec *codec, in max9850_set_bias_level()
292 static int max9850_probe(struct snd_soc_codec *codec) in max9850_probe()
Dsta350.c312 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta350_coefficient_get() local
354 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in sta350_coefficient_put() local
389 static int sta350_sync_coef_shadow(struct snd_soc_codec *codec) in sta350_sync_coef_shadow()
417 static int sta350_cache_sync(struct snd_soc_codec *codec) in sta350_cache_sync()
616 struct snd_soc_codec *codec = codec_dai->codec; in sta350_set_dai_sysclk() local
636 struct snd_soc_codec *codec = codec_dai->codec; in sta350_set_dai_fmt() local
685 struct snd_soc_codec *codec = dai->codec; in sta350_hw_params() local
837 static int sta350_set_bias_level(struct snd_soc_codec *codec, in sta350_set_bias_level()
914 static int sta350_probe(struct snd_soc_codec *codec) in sta350_probe()
1046 static int sta350_remove(struct snd_soc_codec *codec) in sta350_remove()
Dwm8974.c322 struct snd_soc_codec *codec = codec_dai->codec; in wm8974_set_dai_pll() local
359 struct snd_soc_codec *codec = codec_dai->codec; in wm8974_set_dai_clkdiv() local
385 struct snd_soc_codec *codec = codec_dai->codec; in wm8974_set_dai_fmt() local
443 struct snd_soc_codec *codec = dai->codec; in wm8974_pcm_hw_params() local
491 struct snd_soc_codec *codec = dai->codec; in wm8974_mute() local
502 static int wm8974_set_bias_level(struct snd_soc_codec *codec, in wm8974_set_bias_level()
580 static int wm8974_probe(struct snd_soc_codec *codec) in wm8974_probe()
Dadau17x1.c64 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau17x1_pll_event() local
157 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in adau17x1_dsp_mux_enum_put() local
202 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in adau17x1_dsp_mux_enum_get() local
308 struct snd_soc_codec *codec = dai->codec; in adau17x1_hw_params() local
392 struct snd_soc_codec *codec = dai->codec; in adau17x1_set_dai_pll() local
694 int adau17x1_set_micbias_voltage(struct snd_soc_codec *codec, in adau17x1_set_micbias_voltage()
806 int adau17x1_add_widgets(struct snd_soc_codec *codec) in adau17x1_add_widgets()
842 int adau17x1_add_routes(struct snd_soc_codec *codec) in adau17x1_add_routes()
864 int adau17x1_resume(struct snd_soc_codec *codec) in adau17x1_resume()
Dwm8998.c44 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8998_asrc_ev() local
107 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8998_in1mux_put() local
164 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8998_in2mux_put() local
1285 static int wm8998_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm8998_set_fll()
1306 static int wm8998_codec_probe(struct snd_soc_codec *codec) in wm8998_codec_probe()
1321 static int wm8998_codec_remove(struct snd_soc_codec *codec) in wm8998_codec_remove()
Dpcm1681.c93 static int pcm1681_set_deemph(struct snd_soc_codec *codec) in pcm1681_set_deemph()
123 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm1681_get_deemph() local
134 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in pcm1681_put_deemph() local
145 struct snd_soc_codec *codec = codec_dai->codec; in pcm1681_set_dai_fmt() local
161 struct snd_soc_codec *codec = dai->codec; in pcm1681_digital_mute() local
177 struct snd_soc_codec *codec = dai->codec; in pcm1681_hw_params() local
Dcs42l56.c48 struct snd_soc_codec *codec; member
731 struct snd_soc_codec *codec = codec_dai->codec; in cs42l56_set_sysclk() local
770 struct snd_soc_codec *codec = codec_dai->codec; in cs42l56_set_dai_fmt() local
819 struct snd_soc_codec *codec = dai->codec; in cs42l56_digital_mute() local
876 struct snd_soc_codec *codec = dai->codec; in cs42l56_pcm_hw_params() local
892 static int cs42l56_set_bias_level(struct snd_soc_codec *codec, in cs42l56_set_bias_level()
979 struct snd_soc_codec *codec = cs42l56->codec; in cs42l56_beep_work() local
1015 struct snd_soc_codec *codec = input_get_drvdata(dev); in cs42l56_beep_event() local
1055 static void cs42l56_init_beep(struct snd_soc_codec *codec) in cs42l56_init_beep()
1092 static void cs42l56_free_beep(struct snd_soc_codec *codec) in cs42l56_free_beep()
[all …]
Dwm9081.c342 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in speaker_mode_get() local
363 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in speaker_mode_put() local
549 static int wm9081_set_fll(struct snd_soc_codec *codec, int fll_id, in wm9081_set_fll()
640 static int configure_clock(struct snd_soc_codec *codec) in configure_clock()
736 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event() local
819 static int wm9081_set_bias_level(struct snd_soc_codec *codec, in wm9081_set_bias_level()
906 struct snd_soc_codec *codec = dai->codec; in wm9081_set_dai_fmt() local
998 struct snd_soc_codec *codec = dai->codec; in wm9081_hw_params() local
1155 struct snd_soc_codec *codec = codec_dai->codec; in wm9081_digital_mute() local
1170 static int wm9081_set_sysclk(struct snd_soc_codec *codec, int clk_id, in wm9081_set_sysclk()
[all …]
Dtas5086.c264 static int tas5086_set_deemph(struct snd_soc_codec *codec) in tas5086_set_deemph()
285 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in tas5086_get_deemph() local
296 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in tas5086_put_deemph() local
308 struct snd_soc_codec *codec = codec_dai->codec; in tas5086_set_dai_sysclk() local
326 struct snd_soc_codec *codec = codec_dai->codec; in tas5086_set_dai_fmt() local
364 struct snd_soc_codec *codec = dai->codec; in tas5086_hw_params() local
462 struct snd_soc_codec *codec = dai->codec; in tas5086_mute_stream() local
776 static int tas5086_soc_suspend(struct snd_soc_codec *codec) in tas5086_soc_suspend()
791 static int tas5086_soc_resume(struct snd_soc_codec *codec) in tas5086_soc_resume()
826 static int tas5086_probe(struct snd_soc_codec *codec) in tas5086_probe()
[all …]
Dwm8983.c495 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_get() local
510 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in eqmode_put() local
565 struct snd_soc_codec *codec = dai->codec; in wm8983_dac_mute() local
574 struct snd_soc_codec *codec = dai->codec; in wm8983_set_fmt() local
654 struct snd_soc_codec *codec = dai->codec; in wm8983_hw_params() local
792 struct snd_soc_codec *codec; in wm8983_set_pll() local
829 struct snd_soc_codec *codec = dai->codec; in wm8983_set_sysclk() local
850 static int wm8983_set_bias_level(struct snd_soc_codec *codec, in wm8983_set_bias_level()
916 static int wm8983_probe(struct snd_soc_codec *codec) in wm8983_probe()
Dwm8510.c319 struct snd_soc_codec *codec = codec_dai->codec; in wm8510_set_dai_pll() local
355 struct snd_soc_codec *codec = codec_dai->codec; in wm8510_set_dai_clkdiv() local
389 struct snd_soc_codec *codec = codec_dai->codec; in wm8510_set_dai_fmt() local
447 struct snd_soc_codec *codec = dai->codec; in wm8510_pcm_hw_params() local
495 struct snd_soc_codec *codec = dai->codec; in wm8510_mute() local
506 static int wm8510_set_bias_level(struct snd_soc_codec *codec, in wm8510_set_bias_level()
577 static int wm8510_probe(struct snd_soc_codec *codec) in wm8510_probe()
Dwm8350.c259 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pga_event() local
302 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8350_put_volsw_2r_vu() local
345 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8350_get_volsw_2r() local
756 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_dai_sysclk() local
791 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_clkdiv() local
839 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_dai_fmt() local
910 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_pcm_hw_params() local
950 struct snd_soc_codec *codec = dai->codec; in wm8350_mute() local
1027 struct snd_soc_codec *codec = codec_dai->codec; in wm8350_set_fll() local
1077 static int wm8350_set_bias_level(struct snd_soc_codec *codec, in wm8350_set_bias_level()
[all …]
Dtlv320aic26.c33 struct snd_soc_codec *codec; member
67 struct snd_soc_codec *codec = dai->codec; in aic26_hw_params() local
138 struct snd_soc_codec *codec = dai->codec; in aic26_mute() local
157 struct snd_soc_codec *codec = codec_dai->codec; in aic26_set_sysclk() local
174 struct snd_soc_codec *codec = codec_dai->codec; in aic26_set_fmt() local
294 static int aic26_probe(struct snd_soc_codec *codec) in aic26_probe()
Dwm8523.c128 struct snd_soc_codec *codec = dai->codec; in wm8523_startup() local
151 struct snd_soc_codec *codec = dai->codec; in wm8523_hw_params() local
215 struct snd_soc_codec *codec = codec_dai->codec; in wm8523_set_dai_sysclk() local
264 struct snd_soc_codec *codec = codec_dai->codec; in wm8523_set_dai_fmt() local
320 static int wm8523_set_bias_level(struct snd_soc_codec *codec, in wm8523_set_bias_level()
400 static int wm8523_probe(struct snd_soc_codec *codec) in wm8523_probe()
Dsti-sas.c135 static int sti_sas_init_sas_registers(struct snd_soc_codec *codec, in sti_sas_init_sas_registers()
222 struct snd_soc_codec *codec = dai->codec; in stih416_dac_probe() local
272 struct snd_soc_codec *codec = dai->codec; in stih416_sas_dac_mute() local
286 struct snd_soc_codec *codec = dai->codec; in stih407_sas_dac_mute() local
324 struct snd_soc_codec *codec = dai->codec; in sti_sas_spdif_trigger() local
363 struct snd_soc_codec *codec = dai->codec; in sti_sas_set_sysclk() local
388 struct snd_soc_codec *codec = dai->codec; in sti_sas_prepare() local
509 static int sti_sas_resume(struct snd_soc_codec *codec) in sti_sas_resume()
519 static int sti_sas_codec_probe(struct snd_soc_codec *codec) in sti_sas_codec_probe()
Dcs4270.c257 struct snd_soc_codec *codec = codec_dai->codec; in cs4270_set_dai_sysclk() local
280 struct snd_soc_codec *codec = codec_dai->codec; in cs4270_set_dai_fmt() local
329 struct snd_soc_codec *codec = dai->codec; in cs4270_hw_params() local
408 struct snd_soc_codec *codec = dai->codec; in cs4270_dai_mute() local
441 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs4270_soc_put_mute() local
504 static int cs4270_probe(struct snd_soc_codec *codec) in cs4270_probe()
544 static int cs4270_remove(struct snd_soc_codec *codec) in cs4270_remove()
564 static int cs4270_soc_suspend(struct snd_soc_codec *codec) in cs4270_soc_suspend()
583 static int cs4270_soc_resume(struct snd_soc_codec *codec) in cs4270_soc_resume()
Dwm8731.c91 static int wm8731_set_deemph(struct snd_soc_codec *codec) in wm8731_set_deemph()
122 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8731_get_deemph() local
133 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8731_put_deemph() local
217 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in wm8731_check_osc() local
340 struct snd_soc_codec *codec = dai->codec; in wm8731_hw_params() local
371 struct snd_soc_codec *codec = dai->codec; in wm8731_mute() local
384 struct snd_soc_codec *codec = codec_dai->codec; in wm8731_set_dai_sysclk() local
429 struct snd_soc_codec *codec = codec_dai->codec; in wm8731_set_dai_fmt() local
485 static int wm8731_set_bias_level(struct snd_soc_codec *codec, in wm8731_set_bias_level()
Dadau1701.c301 static int adau1701_reset(struct snd_soc_codec *codec, unsigned int clkdiv, in adau1701_reset()
365 static int adau1701_set_capture_pcm_format(struct snd_soc_codec *codec, in adau1701_set_capture_pcm_format()
406 static int adau1701_set_playback_pcm_format(struct snd_soc_codec *codec, in adau1701_set_playback_pcm_format()
438 struct snd_soc_codec *codec = dai->codec; in adau1701_hw_params() local
481 struct snd_soc_codec *codec = codec_dai->codec; in adau1701_set_dai_fmt() local
551 static int adau1701_set_bias_level(struct snd_soc_codec *codec, in adau1701_set_bias_level()
579 struct snd_soc_codec *codec = dai->codec; in adau1701_digital_mute() local
594 static int adau1701_set_sysclk(struct snd_soc_codec *codec, int clk_id, in adau1701_set_sysclk()
667 static int adau1701_probe(struct snd_soc_codec *codec) in adau1701_probe()
718 static int adau1701_remove(struct snd_soc_codec *codec) in adau1701_remove()
[all …]
Dcs4271.c203 struct snd_soc_codec *codec = codec_dai->codec; in cs4271_set_dai_sysclk() local
213 struct snd_soc_codec *codec = codec_dai->codec; in cs4271_set_dai_fmt() local
260 static int cs4271_set_deemph(struct snd_soc_codec *codec) in cs4271_set_deemph()
286 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs4271_get_deemph() local
296 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in cs4271_put_deemph() local
346 struct snd_soc_codec *codec = dai->codec; in cs4271_hw_params() local
412 struct snd_soc_codec *codec = dai->codec; in cs4271_mute_stream() local
491 static int cs4271_soc_suspend(struct snd_soc_codec *codec) in cs4271_soc_suspend()
505 static int cs4271_soc_resume(struct snd_soc_codec *codec) in cs4271_soc_resume()
537 static int cs4271_codec_probe(struct snd_soc_codec *codec) in cs4271_codec_probe()
[all …]
Dwm8988.c247 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8988_lrc_control() local
558 struct snd_soc_codec *codec = codec_dai->codec; in wm8988_set_dai_sysclk() local
590 struct snd_soc_codec *codec = codec_dai->codec; in wm8988_set_dai_fmt() local
648 struct snd_soc_codec *codec = dai->codec; in wm8988_pcm_startup() local
671 struct snd_soc_codec *codec = dai->codec; in wm8988_pcm_hw_params() local
715 struct snd_soc_codec *codec = dai->codec; in wm8988_mute() local
725 static int wm8988_set_bias_level(struct snd_soc_codec *codec, in wm8988_set_bias_level()
795 static int wm8988_probe(struct snd_soc_codec *codec) in wm8988_probe()
Dak4642.c181 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in ak4642_lout_event() local
285 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_startup() local
328 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_shutdown() local
342 struct snd_soc_codec *codec = codec_dai->codec; in ak4642_dai_set_sysclk() local
392 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_set_fmt() local
433 static int ak4642_set_mcko(struct snd_soc_codec *codec, in ak4642_set_mcko()
475 struct snd_soc_codec *codec = dai->codec; in ak4642_dai_hw_params() local
485 static int ak4642_set_bias_level(struct snd_soc_codec *codec, in ak4642_set_bias_level()
526 static int ak4642_resume(struct snd_soc_codec *codec) in ak4642_resume()
535 static int ak4642_probe(struct snd_soc_codec *codec) in ak4642_probe()
Dwm8737.c77 static int wm8737_reset(struct snd_soc_codec *codec) in wm8737_reset()
331 struct snd_soc_codec *codec = dai->codec; in wm8737_hw_params() local
385 struct snd_soc_codec *codec = codec_dai->codec; in wm8737_set_dai_sysclk() local
406 struct snd_soc_codec *codec = codec_dai->codec; in wm8737_set_dai_fmt() local
454 static int wm8737_set_bias_level(struct snd_soc_codec *codec, in wm8737_set_bias_level()
540 static int wm8737_probe(struct snd_soc_codec *codec) in wm8737_probe()
Dml26124.c341 struct snd_soc_codec *codec = dai->codec; in ml26124_hw_params() local
390 struct snd_soc_codec *codec = dai->codec; in ml26124_mute() local
416 struct snd_soc_codec *codec = codec_dai->codec; in ml26124_set_dai_fmt() local
453 struct snd_soc_codec *codec = codec_dai->codec; in ml26124_set_dai_sysclk() local
472 static int ml26124_set_bias_level(struct snd_soc_codec *codec, in ml26124_set_bias_level()
531 static int ml26124_probe(struct snd_soc_codec *codec) in ml26124_probe()
Dwm8993.c469 static int _wm8993_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in _wm8993_set_fll()
579 static int configure_clock(struct snd_soc_codec *codec) in configure_clock()
812 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in clk_sys_event() local
975 static int wm8993_set_bias_level(struct snd_soc_codec *codec, in wm8993_set_bias_level()
1073 struct snd_soc_codec *codec = codec_dai->codec; in wm8993_set_sysclk() local
1093 struct snd_soc_codec *codec = dai->codec; in wm8993_set_dai_fmt() local
1189 struct snd_soc_codec *codec = dai->codec; in wm8993_hw_params() local
1336 struct snd_soc_codec *codec = codec_dai->codec; in wm8993_digital_mute() local
1354 struct snd_soc_codec *codec = dai->codec; in wm8993_set_tdm_slot() local
1482 static int wm8993_probe(struct snd_soc_codec *codec) in wm8993_probe()
[all …]
Dwm2000.c610 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_anc_mode_get() local
621 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_anc_mode_put() local
643 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_speaker_get() local
654 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm2000_speaker_put() local
686 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm2000_anc_power_event() local
727 static int wm2000_suspend(struct snd_soc_codec *codec) in wm2000_suspend()
734 static int wm2000_resume(struct snd_soc_codec *codec) in wm2000_resume()
785 static int wm2000_probe(struct snd_soc_codec *codec) in wm2000_probe()
795 static int wm2000_remove(struct snd_soc_codec *codec) in wm2000_remove()
Dwm8900.c219 static void wm8900_reset(struct snd_soc_codec *codec) in wm8900_reset()
227 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8900_hp_event() local
638 struct snd_soc_codec *codec = dai->codec; in wm8900_hw_params() local
754 static int wm8900_set_fll(struct snd_soc_codec *codec, in wm8900_set_fll()
827 struct snd_soc_codec *codec = codec_dai->codec; in wm8900_set_dai_clkdiv() local
869 struct snd_soc_codec *codec = codec_dai->codec; in wm8900_set_dai_fmt() local
981 struct snd_soc_codec *codec = codec_dai->codec; in wm8900_digital_mute() local
1031 static int wm8900_set_bias_level(struct snd_soc_codec *codec, in wm8900_set_bias_level()
1123 static int wm8900_suspend(struct snd_soc_codec *codec) in wm8900_suspend()
1145 static int wm8900_resume(struct snd_soc_codec *codec) in wm8900_resume()
[all …]
Dwm8728.c77 struct snd_soc_codec *codec = dai->codec; in wm8728_mute() local
92 struct snd_soc_codec *codec = dai->codec; in wm8728_hw_params() local
118 struct snd_soc_codec *codec = codec_dai->codec; in wm8728_set_dai_fmt() local
163 static int wm8728_set_bias_level(struct snd_soc_codec *codec, in wm8728_set_bias_level()
Dadau1761.c258 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau1761_dejitter_fixup() local
448 static int adau1761_set_bias_level(struct snd_soc_codec *codec, in adau1761_set_bias_level()
473 struct snd_soc_codec *codec) in adau1761_get_lineout_mode()
483 static int adau1761_setup_digmic_jackdetect(struct snd_soc_codec *codec) in adau1761_setup_digmic_jackdetect()
545 static int adau1761_setup_headphone_mode(struct snd_soc_codec *codec) in adau1761_setup_headphone_mode()
639 static int adau1761_codec_probe(struct snd_soc_codec *codec) in adau1761_codec_probe()
Dwm8971.c436 struct snd_soc_codec *codec = codec_dai->codec; in wm8971_set_dai_sysclk() local
454 struct snd_soc_codec *codec = codec_dai->codec; in wm8971_set_dai_fmt() local
513 struct snd_soc_codec *codec = dai->codec; in wm8971_pcm_hw_params() local
545 struct snd_soc_codec *codec = dai->codec; in wm8971_mute() local
564 static int wm8971_set_bias_level(struct snd_soc_codec *codec, in wm8971_set_bias_level()
631 static int wm8971_probe(struct snd_soc_codec *codec) in wm8971_probe()
Dwm8903.c263 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8903_dcs_event() local
285 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm8903_seq_notifier() local
367 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in wm8903_class_w_put() local
410 static int wm8903_set_deemph(struct snd_soc_codec *codec) in wm8903_set_deemph()
442 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8903_get_deemph() local
453 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8903_put_deemph() local
1094 static int wm8903_set_bias_level(struct snd_soc_codec *codec, in wm8903_set_bias_level()
1209 struct snd_soc_codec *codec = codec_dai->codec; in wm8903_set_dai_sysclk() local
1220 struct snd_soc_codec *codec = codec_dai->codec; in wm8903_set_dai_fmt() local
1306 struct snd_soc_codec *codec = codec_dai->codec; in wm8903_digital_mute() local
[all …]
Dwm8997.c87 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8997_sysclk_ev() local
925 static int wm8997_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm8997_set_fll()
1055 static int wm8997_codec_probe(struct snd_soc_codec *codec) in wm8997_codec_probe()
1069 static int wm8997_codec_remove(struct snd_soc_codec *codec) in wm8997_codec_remove()
Dwm8804.c140 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm8804_aif_event() local
164 struct snd_soc_codec *codec = snd_soc_dapm_kcontrol_codec(kcontrol); in txsrc_put() local
221 struct snd_soc_codec *codec; in wm8804_set_fmt() local
294 struct snd_soc_codec *codec; in wm8804_hw_params() local
408 struct snd_soc_codec *codec = dai->codec; in wm8804_set_pll() local
454 struct snd_soc_codec *codec; in wm8804_set_sysclk() local
489 struct snd_soc_codec *codec; in wm8804_set_clkdiv() local
Dwm8750.c505 struct snd_soc_codec *codec = codec_dai->codec; in wm8750_set_dai_sysclk() local
523 struct snd_soc_codec *codec = codec_dai->codec; in wm8750_set_dai_fmt() local
582 struct snd_soc_codec *codec = dai->codec; in wm8750_pcm_hw_params() local
614 struct snd_soc_codec *codec = dai->codec; in wm8750_mute() local
624 static int wm8750_set_bias_level(struct snd_soc_codec *codec, in wm8750_set_bias_level()
688 static int wm8750_probe(struct snd_soc_codec *codec) in wm8750_probe()
Dad1980.c208 static int ad1980_reset(struct snd_soc_codec *codec, int try_warm) in ad1980_reset()
235 static int ad1980_soc_probe(struct snd_soc_codec *codec) in ad1980_soc_probe()
289 static int ad1980_soc_remove(struct snd_soc_codec *codec) in ad1980_soc_remove()
Dcs4265.c325 struct snd_soc_codec *codec = codec_dai->codec; in cs4265_set_sysclk() local
346 struct snd_soc_codec *codec = codec_dai->codec; in cs4265_set_fmt() local
386 struct snd_soc_codec *codec = dai->codec; in cs4265_digital_mute() local
410 struct snd_soc_codec *codec = dai->codec; in cs4265_pcm_hw_params() local
469 static int cs4265_set_bias_level(struct snd_soc_codec *codec, in cs4265_set_bias_level()
Dwm0010.c94 struct snd_soc_codec *codec; member
161 static void wm0010_halt(struct snd_soc_codec *codec) in wm0010_halt()
197 struct snd_soc_codec *codec; member
222 struct snd_soc_codec *codec = xfer->codec; in wm0010_boot_xfer_complete() local
346 static int wm0010_firmware_load(const char *name, struct snd_soc_codec *codec) in wm0010_firmware_load()
500 static int wm0010_stage2_load(struct snd_soc_codec *codec) in wm0010_stage2_load()
574 static int wm0010_boot(struct snd_soc_codec *codec) in wm0010_boot()
742 static int wm0010_set_bias_level(struct snd_soc_codec *codec, in wm0010_set_bias_level()
768 static int wm0010_set_sysclk(struct snd_soc_codec *codec, int source, in wm0010_set_sysclk()
865 static int wm0010_probe(struct snd_soc_codec *codec) in wm0010_probe()
Dtlv320aic32x4.c316 struct snd_soc_codec *codec = codec_dai->codec; in aic32x4_set_dai_sysclk() local
332 struct snd_soc_codec *codec = codec_dai->codec; in aic32x4_set_dai_fmt() local
391 struct snd_soc_codec *codec = dai->codec; in aic32x4_hw_params() local
484 struct snd_soc_codec *codec = dai->codec; in aic32x4_mute() local
495 static int aic32x4_set_bias_level(struct snd_soc_codec *codec, in aic32x4_set_bias_level()
599 static int aic32x4_probe(struct snd_soc_codec *codec) in aic32x4_probe()
Dad1836.c231 static int ad1836_suspend(struct snd_soc_codec *codec) in ad1836_suspend()
239 static int ad1836_resume(struct snd_soc_codec *codec) in ad1836_resume()
251 static int ad1836_probe(struct snd_soc_codec *codec) in ad1836_probe()
316 static int ad1836_remove(struct snd_soc_codec *codec) in ad1836_remove()
Dwm5100.c57 struct snd_soc_codec *codec; member
120 static int wm5100_alloc_sr(struct snd_soc_codec *codec, int rate) in wm5100_alloc_sr()
176 static void wm5100_free_sr(struct snd_soc_codec *codec, int rate) in wm5100_free_sr()
738 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(dapm); in wm5100_seq_notifier() local
778 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5100_out_ev() local
843 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in wm5100_post_ev() local
1284 struct snd_soc_codec *codec = dai->codec; in wm5100_set_fmt() local
1402 struct snd_soc_codec *codec = dai->codec; in wm5100_hw_params() local
1509 static int wm5100_set_sysclk(struct snd_soc_codec *codec, int clk_id, in wm5100_set_sysclk()
1757 static int wm5100_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm5100_set_fll()
[all …]
Dcs42xx8.c196 struct snd_soc_codec *codec = codec_dai->codec; in cs42xx8_set_dai_sysclk() local
207 struct snd_soc_codec *codec = codec_dai->codec; in cs42xx8_set_dai_fmt() local
254 struct snd_soc_codec *codec = dai->codec; in cs42xx8_hw_params() local
284 struct snd_soc_codec *codec = dai->codec; in cs42xx8_digital_mute() local
380 static int cs42xx8_codec_probe(struct snd_soc_codec *codec) in cs42xx8_codec_probe()
Dsirf-audio-codec.c123 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in atlas6_codec_enable_and_reset_event() local
146 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in prima2_codec_enable_and_reset_event() local
336 struct snd_soc_codec *codec = dai->codec; in sirf_audio_codec_trigger() local
396 static int sirf_audio_codec_probe(struct snd_soc_codec *codec) in sirf_audio_codec_probe()
426 static int sirf_audio_codec_remove(struct snd_soc_codec *codec) in sirf_audio_codec_remove()
Dwm8580.c255 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in wm8580_out_vu() local
433 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_set_dai_pll() local
507 struct snd_soc_codec *codec = dai->codec; in wm8580_paif_hw_params() local
575 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_set_paif_dai_fmt() local
656 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_set_dai_clkdiv() local
722 struct snd_soc_codec *codec = dai->codec; in wm8580_set_sysclk() local
774 struct snd_soc_codec *codec = codec_dai->codec; in wm8580_digital_mute() local
789 static int wm8580_set_bias_level(struct snd_soc_codec *codec, in wm8580_set_bias_level()
865 static int wm8580_probe(struct snd_soc_codec *codec) in wm8580_probe()
893 static int wm8580_remove(struct snd_soc_codec *codec) in wm8580_remove()
Dmc13783.c110 struct snd_soc_codec *codec = dai->codec; in mc13783_pcm_hw_params_dac() local
129 struct snd_soc_codec *codec = dai->codec; in mc13783_pcm_hw_params_codec() local
163 struct snd_soc_codec *codec = dai->codec; in mc13783_set_fmt() local
258 struct snd_soc_codec *codec = dai->codec; in mc13783_set_sysclk() local
311 struct snd_soc_codec *codec = dai->codec; in mc13783_set_tdm_slot_dac() local
356 struct snd_soc_codec *codec = dai->codec; in mc13783_set_tdm_slot_codec() local
609 static int mc13783_probe(struct snd_soc_codec *codec) in mc13783_probe()
638 static int mc13783_remove(struct snd_soc_codec *codec) in mc13783_remove()
Dcs35l32.c46 struct snd_soc_codec *codec; member
157 struct snd_soc_codec *codec = codec_dai->codec; in cs35l32_set_dai_fmt() local
178 struct snd_soc_codec *codec = dai->codec; in cs35l32_set_tristate() local
205 static int cs35l32_codec_set_sysclk(struct snd_soc_codec *codec, in cs35l32_codec_set_sysclk()
Dtfa9879.c33 struct snd_soc_codec *codec = dai->codec; in tfa9879_hw_params() local
103 struct snd_soc_codec *codec = dai->codec; in tfa9879_digital_mute() local
114 struct snd_soc_codec *codec = dai->codec; in tfa9879_set_fmt() local
Dpcm3008.c35 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pcm3008_dac_ev() local
48 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in pcm3008_adc_ev() local
Dlm49453.c1113 struct snd_soc_codec *codec = dai->codec; in lm49453_hw_params() local
1145 struct snd_soc_codec *codec = codec_dai->codec; in lm49453_set_dai_fmt() local
1200 struct snd_soc_codec *codec = dai->codec; in lm49453_set_dai_sysclk() local
1259 static int lm49453_set_bias_level(struct snd_soc_codec *codec, in lm49453_set_bias_level()
Dak4613.c232 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_shutdown() local
249 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_set_fmt() local
272 struct snd_soc_codec *codec = dai->codec; in ak4613_dai_hw_params() local
353 static int ak4613_set_bias_level(struct snd_soc_codec *codec, in ak4613_set_bias_level()
415 static int ak4613_resume(struct snd_soc_codec *codec) in ak4613_resume()
Dnau8825.c402 struct snd_soc_codec *codec = dai->codec; in nau8825_hw_params() local
431 struct snd_soc_codec *codec = codec_dai->codec; in nau8825_set_dai_fmt() local
524 int nau8825_enable_jack_detect(struct snd_soc_codec *codec, in nau8825_enable_jack_detect()
841 static int nau8825_codec_probe(struct snd_soc_codec *codec) in nau8825_codec_probe()
949 static int nau8825_set_pll(struct snd_soc_codec *codec, int pll_id, int source, in nau8825_set_pll()
1031 static int nau8825_set_sysclk(struct snd_soc_codec *codec, int clk_id, in nau8825_set_sysclk()
1039 static int nau8825_set_bias_level(struct snd_soc_codec *codec, in nau8825_set_bias_level()
Dpcm1792a.c82 struct snd_soc_codec *codec = codec_dai->codec; in pcm1792a_set_dai_fmt() local
92 struct snd_soc_codec *codec = dai->codec; in pcm1792a_digital_mute() local
108 struct snd_soc_codec *codec = dai->codec; in pcm1792a_hw_params() local
Dcq93vc.c48 struct snd_soc_codec *codec = dai->codec; in cq93vc_mute() local
75 static int cq93vc_set_bias_level(struct snd_soc_codec *codec, in cq93vc_set_bias_level()
Dadau1781.c177 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau1781_dejitter_fixup() local
317 static int adau1781_set_bias_level(struct snd_soc_codec *codec, in adau1781_set_bias_level()
383 static int adau1781_codec_probe(struct snd_soc_codec *codec) in adau1781_codec_probe()
Dad193x.c260 struct snd_soc_codec *codec = codec_dai->codec; in ad193x_set_dai_sysclk() local
278 struct snd_soc_codec *codec = dai->codec; in ad193x_hw_params() local
354 static int ad193x_codec_probe(struct snd_soc_codec *codec) in ad193x_codec_probe()
Dadau1373.c551 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm); in adau1373_pll_event() local
823 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adau1373_check_aif_clk() local
844 struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); in adau1373_check_src() local
1033 struct snd_soc_codec *codec = dai->codec; in adau1373_hw_params() local
1100 struct snd_soc_codec *codec = dai->codec; in adau1373_set_dai_fmt() local
1252 static int adau1373_set_pll(struct snd_soc_codec *codec, int pll_id, in adau1373_set_pll()
1369 static int adau1373_probe(struct snd_soc_codec *codec) in adau1373_probe()
1425 static int adau1373_set_bias_level(struct snd_soc_codec *codec, in adau1373_set_bias_level()
1447 static int adau1373_resume(struct snd_soc_codec *codec) in adau1373_resume()
Dda9055.c454 static int da9055_get_alc_data(struct snd_soc_codec *codec, u8 reg_val) in da9055_get_alc_data()
484 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da9055_put_alc_sw() local
1055 struct snd_soc_codec *codec = dai->codec; in da9055_hw_params() local
1163 struct snd_soc_codec *codec = codec_dai->codec; in da9055_set_dai_fmt() local
1220 struct snd_soc_codec *codec = dai->codec; in da9055_mute() local
1243 struct snd_soc_codec *codec = codec_dai->codec; in da9055_set_dai_sysclk() local
1286 struct snd_soc_codec *codec = codec_dai->codec; in da9055_set_dai_pll() local
1356 static int da9055_set_bias_level(struct snd_soc_codec *codec, in da9055_set_bias_level()
1380 static int da9055_probe(struct snd_soc_codec *codec) in da9055_probe()
Dda7210.c334 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7210_put_alc_sw() local
357 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7210_put_noise_sup_sw() local
763 struct snd_soc_codec *codec = dai->codec; in da7210_hw_params() local
877 struct snd_soc_codec *codec = codec_dai->codec; in da7210_set_dai_fmt() local
934 struct snd_soc_codec *codec = dai->codec; in da7210_mute() local
950 struct snd_soc_codec *codec = codec_dai->codec; in da7210_set_dai_sysclk() local
991 struct snd_soc_codec *codec = codec_dai->codec; in da7210_set_dai_pll() local
1067 static int da7210_probe(struct snd_soc_codec *codec) in da7210_probe()
Dcs4349.c77 struct snd_soc_codec *codec = codec_dai->codec; in cs4349_set_dai_fmt() local
100 struct snd_soc_codec *codec = dai->codec; in cs4349_pcm_hw_params() local
139 struct snd_soc_codec *codec = dai->codec; in cs4349_digital_mute() local
Dwm2200.c90 struct snd_soc_codec *codec; member
1551 static int wm2200_probe(struct snd_soc_codec *codec) in wm2200_probe()
1567 struct snd_soc_codec *codec = dai->codec; in wm2200_set_fmt() local
1699 struct snd_soc_codec *codec = dai->codec; in wm2200_hw_params() local
1789 static int wm2200_set_sysclk(struct snd_soc_codec *codec, int clk_id, in wm2200_set_sysclk()
1937 static int wm2200_set_fll(struct snd_soc_codec *codec, int fll_id, int source, in wm2200_set_fll()
2061 struct snd_soc_codec *codec = dai->codec; in wm2200_dai_probe() local
Disabelle.c892 static int isabelle_set_bias_level(struct snd_soc_codec *codec, in isabelle_set_bias_level()
919 struct snd_soc_codec *codec = dai->codec; in isabelle_hw_params() local
978 struct snd_soc_codec *codec = codec_dai->codec; in isabelle_set_dai_fmt() local
Dsta529.c154 static int sta529_set_bias_level(struct snd_soc_codec *codec, enum in sta529_set_bias_level()
190 struct snd_soc_codec *codec = dai->codec; in sta529_hw_params() local
268 struct snd_soc_codec *codec = codec_dai->codec; in sta529_set_dai_fmt() local
/linux-4.4.14/sound/pci/ali5451/
Dali5451.c156 #define ALI_REG(codec, x) ((codec)->port + x) argument
195 struct snd_ali *codec; member
281 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek()
287 static inline void snd_ali_5451_poke(struct snd_ali *codec, in snd_ali_5451_poke()
294 static int snd_ali_codec_ready(struct snd_ali *codec, in snd_ali_codec_ready()
316 static int snd_ali_stimer_ready(struct snd_ali *codec) in snd_ali_stimer_ready()
337 static void snd_ali_codec_poke(struct snd_ali *codec,int secondary, in snd_ali_codec_poke()
369 static unsigned short snd_ali_codec_peek(struct snd_ali *codec, in snd_ali_codec_peek()
408 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_write() local
424 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_read() local
[all …]
/linux-4.4.14/include/sound/
Dhda_regmap.h73 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write()
91 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update()
109 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read()
130 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp()
154 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp()
175 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo()
199 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo()
213 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid) in snd_hdac_regmap_sync_node()
/linux-4.4.14/drivers/media/pci/zoran/
Dvideocodec.c59 struct videocodec *codec; member
64 const struct videocodec *codec; member
81 struct videocodec *codec; in videocodec_attach() local
169 videocodec_detach (struct videocodec *codec) in videocodec_detach()
234 videocodec_register (const struct videocodec *codec) in videocodec_register()
269 videocodec_unregister (const struct videocodec *codec) in videocodec_unregister()
Dzr36016.c295 zr36016_set_mode (struct videocodec *codec, in zr36016_set_mode()
313 zr36016_set_video (struct videocodec *codec, in zr36016_set_video()
351 zr36016_control (struct videocodec *codec, in zr36016_control()
405 zr36016_unset (struct videocodec *codec) in zr36016_unset()
434 zr36016_setup (struct videocodec *codec) in zr36016_setup()
Dzr36060.c576 zr36060_set_mode (struct videocodec *codec, in zr36060_set_mode()
594 zr36060_set_video (struct videocodec *codec, in zr36060_set_video()
754 zr36060_control (struct videocodec *codec, in zr36060_control()
875 zr36060_unset (struct videocodec *codec) in zr36060_unset()
904 zr36060_setup (struct videocodec *codec) in zr36060_setup()
Dzr36050.c585 zr36050_set_mode (struct videocodec *codec, in zr36050_set_mode()
603 zr36050_set_video (struct videocodec *codec, in zr36050_set_video()
645 zr36050_control (struct videocodec *codec, in zr36050_control()
768 zr36050_unset (struct videocodec *codec) in zr36050_unset()
797 zr36050_setup (struct videocodec *codec) in zr36050_setup()
Dzoran_card.c151 zr36060_read (struct videocodec *codec, in zr36060_read()
168 zr36060_write (struct videocodec *codec, in zr36060_write()
185 zr36050_read (struct videocodec *codec, in zr36050_read()
201 zr36050_write (struct videocodec *codec, in zr36050_write()
217 zr36016_read (struct videocodec *codec, in zr36016_read()
233 zr36016_write (struct videocodec *codec, in zr36016_write()
/linux-4.4.14/sound/soc/pxa/
Dmioa701_wm9713.c62 static int rear_amp_power(struct snd_soc_codec *codec, int power) in rear_amp_power()
84 struct snd_soc_codec *codec = widget->dapm->card->rtd[0].codec; in rear_amp_event() local
129 struct snd_soc_codec *codec = rtd->codec; in mioa701_wm9713_init() local
/linux-4.4.14/sound/aoa/core/
Dcore.c58 int aoa_codec_register(struct aoa_codec *codec) in aoa_codec_register()
73 void aoa_codec_unregister(struct aoa_codec *codec) in aoa_codec_unregister()
134 void aoa_fabric_unlink_codec(struct aoa_codec *codec) in aoa_fabric_unlink_codec()
/linux-4.4.14/sound/soc/
Dsoc-cache.c18 int snd_soc_cache_init(struct snd_soc_codec *codec) in snd_soc_cache_init()
46 int snd_soc_cache_exit(struct snd_soc_codec *codec) in snd_soc_cache_exit()
Dsoc-io.c196 unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg) in snd_soc_read()
209 int snd_soc_write(struct snd_soc_codec *codec, unsigned int reg, in snd_soc_write()
227 int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned int reg, in snd_soc_update_bits()
247 int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned int reg, in snd_soc_test_bits()
Dsoc-core.c90 static int format_register_str(struct snd_soc_codec *codec, in format_register_str()
115 static ssize_t soc_codec_reg_show(struct snd_soc_codec *codec, char *buf, in soc_codec_reg_show()
224 struct snd_soc_codec *codec = file->private_data; in codec_reg_read_file() local
254 struct snd_soc_codec *codec = file->private_data; in codec_reg_write_file() local
325 struct snd_soc_codec *codec = snd_soc_component_to_codec(component); in soc_init_codec_debugfs() local
340 struct snd_soc_codec *codec; in codec_list_read_file() local
580 struct snd_soc_codec *codec; in snd_soc_suspend() local
720 struct snd_soc_codec *codec; in soc_resume_deferred() local
1468 static int snd_soc_init_codec_cache(struct snd_soc_codec *codec) in snd_soc_init_codec_cache()
1554 struct snd_soc_codec *codec; in snd_soc_instantiate_card() local
[all …]
Dsoc-ac97.c60 struct snd_ac97 *snd_soc_alloc_ac97_codec(struct snd_soc_codec *codec) in snd_soc_alloc_ac97_codec()
99 struct snd_ac97 *snd_soc_new_ac97_codec(struct snd_soc_codec *codec, in snd_soc_new_ac97_codec()
/linux-4.4.14/sound/aoa/codecs/
Dtoonie.c26 struct aoa_codec codec; member
87 static int toonie_init_codec(struct aoa_codec *codec) in toonie_init_codec()
111 static void toonie_exit_codec(struct aoa_codec *codec) in toonie_exit_codec()
/linux-4.4.14/sound/soc/intel/boards/
Dbroadwell.c81 struct snd_soc_codec *codec = rtd->codec; in broadwell_rt286_codec_init() local
223 struct snd_soc_codec *codec; in broadwell_suspend() local
236 struct snd_soc_codec *codec; in broadwell_resume() local
Dcht_bsw_rt5672.c174 struct snd_soc_codec *codec = codec_dai->codec; in cht_codec_init() local
286 struct snd_soc_codec *codec; in cht_suspend_pre() local
300 struct snd_soc_codec *codec; in cht_resume_post() local
/linux-4.4.14/sound/soc/samsung/
Dspeyside.c119 static void speyside_set_polarity(struct snd_soc_codec *codec, in speyside_set_polarity()
144 struct snd_soc_codec *codec = rtd->codec; in speyside_wm8996_init() local
227 struct snd_soc_codec *codec = snd_soc_component_to_codec(component); in speyside_wm9081_init() local
Dbells.c62 struct snd_soc_codec *codec = codec_dai->codec; in bells_set_bias_level() local
103 struct snd_soc_codec *codec = codec_dai->codec; in bells_set_bias_level_post() local
141 struct snd_soc_codec *codec = card->rtd[DAI_DSP_CODEC].codec; in bells_late_probe() local
Dlowland.c40 struct snd_soc_codec *codec = rtd->codec; in lowland_wm5100_init() local
73 struct snd_soc_codec *codec = rtd->codec; in lowland_wm9081_init() local
/linux-4.4.14/sound/pci/
Dazt3328.c352 snd_azf3328_codec_outb(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outb()
361 snd_azf3328_codec_inb(const struct snd_azf3328_codec_data *codec, unsigned reg) in snd_azf3328_codec_inb()
367 snd_azf3328_codec_outw(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outw()
376 snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigned reg) in snd_azf3328_codec_inw()
382 snd_azf3328_codec_outl(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outl()
391 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outl_multi()
406 snd_azf3328_codec_inl(const struct snd_azf3328_codec_data *codec, unsigned reg) in snd_azf3328_codec_inl()
1237 snd_azf3328_codec_setfmt(struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_setfmt()
1313 snd_azf3328_codec_setfmt_lowpower(struct snd_azf3328_codec_data *codec in snd_azf3328_codec_setfmt_lowpower()
1357 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; in snd_azf3328_ctrl_codec_activity() local
[all …]
/linux-4.4.14/sound/soc/atmel/
Datmel-classd.c247 static int atmel_classd_codec_probe(struct snd_soc_codec *codec) in atmel_classd_codec_probe()
330 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_digital_mute() local
379 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_hw_params() local
435 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_prepare() local
448 struct snd_soc_codec *codec = codec_dai->codec; in atmel_classd_codec_dai_trigger() local
/linux-4.4.14/arch/arm/boot/dts/
Dr7s72100-genmai.dts69 codec: codec@0 { label
Dimx6qdl-phytec-pbab01.dtsi119 codec: tlv320@18 { label
Dls1021a-twr.dts164 codec: sgtl5000@a { label
Dtegra20-trimslice.dts300 codec: codec@1a { label
Dimx53-mba53.dts175 codec: sgtl5000@a { label
Dtegra20-whistler.dts277 codec: codec@1a { label
Dimx6qdl-wandboard.dtsi85 codec: sgtl5000@0a { label
/linux-4.4.14/sound/pci/oxygen/
Doxygen_io.c129 void oxygen_write_ac97(struct oxygen *chip, unsigned int codec, in oxygen_write_ac97()
154 u16 oxygen_read_ac97(struct oxygen *chip, unsigned int codec, in oxygen_read_ac97()
187 void oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec, in oxygen_write_ac97_masked()
Doxygen_mixer.c520 unsigned int codec = (ctl->private_value >> 24) & 1; in ac97_switch_get() local
558 unsigned int codec = (ctl->private_value >> 24) & 1; in ac97_switch_put() local
614 unsigned int codec = (ctl->private_value >> 24) & 1; in ac97_volume_get() local
635 unsigned int codec = (ctl->private_value >> 24) & 1; in ac97_volume_put() local
741 #define AC97_SWITCH(xname, codec, index, bitnr, invert) { \ argument
750 #define AC97_VOLUME(xname, codec, index, stereo) { \ argument
/linux-4.4.14/sound/aoa/fabrics/
Dlayout.c762 static int check_codec(struct aoa_codec *codec, in check_codec()
812 static int layout_found_codec(struct aoa_codec *codec) in layout_found_codec()
832 static void layout_remove_codec(struct aoa_codec *codec) in layout_remove_codec()
889 static void layout_attached_codec(struct aoa_codec *codec) in layout_attached_codec()

12