/sound/pci/hda/ |
D | hda_local.h | 119 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, 121 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, 123 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, 125 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, 127 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, 129 struct snd_kcontrol *snd_hda_find_mixer_ctl(struct hda_codec *codec, 131 int __snd_hda_add_vmaster(struct hda_codec *codec, char *name, 137 int snd_hda_codec_reset(struct hda_codec *codec); 138 void snd_hda_codec_register(struct hda_codec *codec); 139 void snd_hda_codec_cleanup_for_unbind(struct hda_codec *codec); [all …]
|
D | hda_generic.h | 89 void (*update)(struct hda_codec *codec); 90 void (*old_hook)(struct hda_codec *codec, 281 void (*init_hook)(struct hda_codec *codec); 282 void (*automute_hook)(struct hda_codec *codec); 283 void (*cap_sync_hook)(struct hda_codec *codec, 292 struct hda_codec *codec, 296 struct hda_codec *codec, 301 void (*hp_automute_hook)(struct hda_codec *codec, 303 void (*line_automute_hook)(struct hda_codec *codec, 305 void (*mic_autoswitch_hook)(struct hda_codec *codec, [all …]
|
D | hda_jack.h | 18 typedef void (*hda_jack_callback_fn) (struct hda_codec *, struct hda_jack_callback *); 52 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid); 54 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, unsigned char tag); 56 void snd_hda_jack_tbl_clear(struct hda_codec *codec); 58 void snd_hda_jack_set_dirty_all(struct hda_codec *codec); 60 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid); 62 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, 65 int snd_hda_jack_set_gating_jack(struct hda_codec *codec, hda_nid_t gated_nid, 68 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid); 75 int snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid); [all …]
|
D | hda_sysfs.c | 34 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() 43 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() 57 struct hda_codec *codec = dev_get_drvdata(dev); \ 66 struct hda_codec *codec = dev_get_drvdata(dev); \ 80 static ssize_t pin_configs_show(struct hda_codec *codec, in pin_configs_show() 99 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() 107 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() 117 static int clear_codec(struct hda_codec *codec) in clear_codec() 130 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec() 171 struct hda_codec *codec = dev_get_drvdata(dev); \ [all …]
|
D | patch_via.c | 92 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec); 94 struct hda_codec *codec, 100 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec() 125 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type() 177 static void analog_low_current_mode(struct hda_codec *codec); 178 static bool is_aa_path_mute(struct hda_codec *codec); 184 static void vt1708_stop_hp_work(struct hda_codec *codec) in vt1708_stop_hp_work() 197 static void vt1708_update_hp_work(struct hda_codec *codec) in vt1708_update_hp_work() 222 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_get() 232 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_put() [all …]
|
D | hda_codec.c | 40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() 79 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) in snd_hda_sequence_write() 96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list() 106 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list() 121 static void remove_conn_list(struct hda_codec *codec) in remove_conn_list() 132 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns() 168 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list() 207 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections() 238 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list() 264 int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, in snd_hda_get_conn_index() [all …]
|
D | patch_hdmi.c | 87 struct hda_codec *codec; 106 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid, 109 void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid, 113 int (*pin_hbr_setup)(struct hda_codec *codec, hda_nid_t pin_nid, bool hbr); 115 int (*setup_stream)(struct hda_codec *codec, hda_nid_t cvt_nid, 118 void (*pin_cvt_fixup)(struct hda_codec *codec, 130 struct hda_codec *codec; 181 int (*port2pin)(struct hda_codec *, int); /* reverse port/pin mapping */ 190 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp() 244 static int pin_id_to_pin_index(struct hda_codec *codec, in pin_id_to_pin_index() [all …]
|
D | patch_analog.c | 49 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 75 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 86 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd() 114 static void ad198x_shutup(struct hda_codec *codec) in ad198x_shutup() 121 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend() 131 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() 147 static int ad198x_auto_build_controls(struct hda_codec *codec) in ad198x_auto_build_controls() 174 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config() 202 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec() 220 static void ad_fixup_inv_jack_detect(struct hda_codec *codec, in ad_fixup_inv_jack_detect() [all …]
|
D | hda_generic.c | 99 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() 204 static inline void restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) in restore_pin_ctl() 210 static void set_pin_target(struct hda_codec *codec, hda_nid_t pin, in set_pin_target() 222 static void set_pin_targets(struct hda_codec *codec, int num_pins, in set_pin_targets() 250 static struct nid_path *get_nid_path(struct hda_codec *codec, in get_nid_path() 281 int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) in snd_hda_get_path_idx() 302 struct nid_path *snd_hda_get_path_from_idx(struct hda_codec *codec, int idx) in snd_hda_get_path_from_idx() 313 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used() 327 static bool is_reachable_path(struct hda_codec *codec, in is_reachable_path() 339 static bool is_ctl_used(struct hda_codec *codec, unsigned int val, int type) in is_ctl_used() [all …]
|
D | hda_beep.h | 20 struct hda_codec *codec; 35 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable); 36 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid); 37 void snd_hda_detach_beep_device(struct hda_codec *codec); 39 static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device() 43 static inline void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device()
|
D | patch_cirrus.c | 129 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() 138 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() 154 static void cs_automute(struct hda_codec *codec) in cs_automute() 175 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 182 static void init_input_coef(struct hda_codec *codec) in init_input_coef() 281 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef() 295 static int cs_init(struct hda_codec *codec) in cs_init() 326 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls() 347 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config() 495 static void cs420x_fixup_gpio_13(struct hda_codec *codec, in cs420x_fixup_gpio_13() [all …]
|
D | hda_bind.c | 23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() 44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() 63 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name() 88 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() 151 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() 168 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_shutdown() 197 static inline bool codec_probed(struct hda_codec *codec) in codec_probed() 203 static void request_codec_module(struct hda_codec *codec) in request_codec_module() 232 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module() 243 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec() [all …]
|
D | patch_ca0132.c | 1025 struct hda_codec *codec; 1198 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() 1208 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() 1215 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel() 1227 static int chipio_send(struct hda_codec *codec, in chipio_send() 1249 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address() 1276 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data() 1300 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple() 1321 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data() 1352 static int chipio_write(struct hda_codec *codec, in chipio_write() [all …]
|
D | hda_jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid) in read_pin_sense() 70 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 90 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, unsigned char tag) in snd_hda_jack_tbl_get_from_tag() 110 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_new() 124 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear() 147 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update() 182 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all() 201 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid) in snd_hda_pin_sense() 220 int snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() [all …]
|
D | patch_conexant.c | 74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() 93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() 118 static void cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, in cx_auto_turn_eapd() 133 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() 142 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook_mute_led() 150 static int cx_auto_init(struct hda_codec *codec) in cx_auto_init() 162 static void cx_auto_reboot_notify(struct hda_codec *codec) in cx_auto_reboot_notify() 172 static void cx_auto_free(struct hda_codec *codec) in cx_auto_free() 225 static void cxt_fixup_stereo_dmic(struct hda_codec *codec, in cxt_fixup_stereo_dmic() 232 static void cxt5066_increase_mic_boost(struct hda_codec *codec, in cxt5066_increase_mic_boost() [all …]
|
D | patch_realtek.c | 105 void (*init_hook)(struct hda_codec *codec); 107 void (*power_hook)(struct hda_codec *codec); 109 void (*shutup)(struct hda_codec *codec); 110 void (*reboot_notify)(struct hda_codec *codec); 133 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() 146 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx() 156 static void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx() 171 static unsigned int alc_get_coef0(struct hda_codec *codec) in alc_get_coef0() 194 static void alc_process_coef_fw(struct hda_codec *codec, in alc_process_coef_fw() 211 static void alc_setup_gpio(struct hda_codec *codec, unsigned int mask) in alc_setup_gpio() [all …]
|
D | patch_sigmatel.c | 242 struct hda_codec *codec, in stac_playback_pcm_hook() 252 struct hda_codec *codec, in stac_capture_pcm_hook() 289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() 324 static void stac_capture_led_update(struct hda_codec *codec) in stac_capture_led_update() 335 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set() 360 static unsigned int stac_vref_led_power_filter(struct hda_codec *codec, in stac_vref_led_power_filter() 370 static void stac_update_led_status(struct hda_codec *codec, int enabled) in stac_update_led_status() 403 static void stac_update_outputs(struct hda_codec *codec) in stac_update_outputs() 428 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map() 459 static void jack_update_power(struct hda_codec *codec, in jack_update_power() [all …]
|
D | patch_si3054.c | 88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() 98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_put() 125 static int si3054_build_controls(struct hda_codec *codec) in si3054_build_controls() 136 struct hda_codec *codec, in si3054_pcm_prepare() 155 struct hda_codec *codec, in si3054_pcm_open() 185 static int si3054_build_pcms(struct hda_codec *codec) in si3054_build_pcms() 205 static int si3054_init(struct hda_codec *codec) in si3054_init() 249 static void si3054_free(struct hda_codec *codec) in si3054_free() 265 static int patch_si3054(struct hda_codec *codec) in patch_si3054()
|
D | hda_proc.c | 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() 112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() 451 struct hda_codec *codec, hda_nid_t nid, in print_audio_io() [all …]
|
D | hda_auto_parser.c | 56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin() 108 static bool check_pincap_validity(struct hda_codec *codec, hda_nid_t pin, in check_pincap_validity() 129 static bool can_be_headset_mic(struct hda_codec *codec, in can_be_headset_mic() 172 int snd_hda_parse_pin_defcfg(struct hda_codec *codec, in snd_hda_parse_pin_defcfg() 484 static const char *hda_get_input_pin_label(struct hda_codec *codec, in hda_get_input_pin_label() 536 static int check_mic_location_need(struct hda_codec *codec, in check_mic_location_need() 573 const char *hda_get_autocfg_input_label(struct hda_codec *codec, in hda_get_autocfg_input_label() 624 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx() 639 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index() 656 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name() [all …]
|
D | hda_beep.c | 26 struct hda_codec *codec = beep->codec; in generate_tone() 143 int snd_hda_enable_beep_device(struct hda_codec *codec, int enable) in snd_hda_enable_beep_device() 204 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device() 278 void snd_hda_detach_beep_device(struct hda_codec *codec) in snd_hda_detach_beep_device() 287 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ctl_has_mute() 302 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_get_beep() 325 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in snd_hda_mixer_amp_switch_put_beep()
|
D | thinkpad_helper.c | 13 static bool is_thinkpad(struct hda_codec *codec) in is_thinkpad() 28 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi() 44 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi()
|
D | hda_hwdep.c | 21 static int verb_write_ioctl(struct hda_codec *codec, in verb_write_ioctl() 35 static int get_wcap_ioctl(struct hda_codec *codec, in get_wcap_ioctl() 63 struct hda_codec *codec = hw->private_data; in hda_hwdep_ioctl() 94 int snd_hda_create_hwdep(struct hda_codec *codec) in snd_hda_create_hwdep()
|
D | hda_auto_parser.h | 41 const char *hda_get_autocfg_input_label(struct hda_codec *codec, 44 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, 85 int snd_hda_parse_pin_defcfg(struct hda_codec *codec,
|
/sound/soc/codecs/ |
D | hdac_hda.h | 15 struct hda_codec codec; 21 #define hdac_to_hda_codec(_hdac) container_of(_hdac, struct hda_codec, core)
|