/kernel/linux/linux-5.10/sound/hda/ |
H A D | hdac_sysfs.c | 24 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 25 return sprintf(buf, "0x%x\n", codec->type); \ 34 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 36 codec->type ? codec->type : ""); \ 89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid, 91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid, 114 struct hdac_device *codec; in widget_attr_show() local 119 nid = get_codec_nid(kobj, &codec); in widget_attr_show() 122 return wid_attr->show(codec, ni in widget_attr_show() 130 struct hdac_device *codec; widget_attr_store() local 161 caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) caps_show() argument 167 pin_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pin_caps_show() argument 176 pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pin_cfg_show() argument 188 has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) has_pcm_cap() argument 201 pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pcm_caps_show() argument 210 pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pcm_formats_show() argument 219 amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) amp_in_caps_show() argument 228 amp_out_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) amp_out_caps_show() argument 237 power_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) power_caps_show() argument 246 gpio_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) gpio_caps_show() argument 253 connections_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) connections_show() argument 320 widget_tree_free(struct hdac_device *codec) widget_tree_free() argument 363 widget_tree_create(struct hdac_device *codec) widget_tree_create() argument 401 hda_widget_sysfs_init(struct hdac_device *codec) hda_widget_sysfs_init() argument 418 hda_widget_sysfs_exit(struct hdac_device *codec) hda_widget_sysfs_exit() argument 424 hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid, int num_nodes) hda_widget_sysfs_reinit() argument [all...] |
/kernel/linux/linux-6.6/sound/hda/ |
H A D | hdac_sysfs.c | 24 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 25 return sysfs_emit(buf, "0x%x\n", codec->type); \ 34 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 36 codec->type ? codec->type : ""); \ 89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid, 91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid, 114 struct hdac_device *codec; in widget_attr_show() local 119 nid = get_codec_nid(kobj, &codec); in widget_attr_show() 122 return wid_attr->show(codec, ni in widget_attr_show() 130 struct hdac_device *codec; widget_attr_store() local 161 caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) caps_show() argument 167 pin_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pin_caps_show() argument 176 pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pin_cfg_show() argument 188 has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) has_pcm_cap() argument 201 pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pcm_caps_show() argument 210 pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) pcm_formats_show() argument 219 amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) amp_in_caps_show() argument 228 amp_out_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) amp_out_caps_show() argument 237 power_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) power_caps_show() argument 246 gpio_caps_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) gpio_caps_show() argument 253 connections_show(struct hdac_device *codec, hda_nid_t nid, struct widget_attribute *attr, char *buf) connections_show() argument 320 widget_tree_free(struct hdac_device *codec) widget_tree_free() argument 363 widget_tree_create(struct hdac_device *codec) widget_tree_create() argument 401 hda_widget_sysfs_init(struct hdac_device *codec) hda_widget_sysfs_init() argument 418 hda_widget_sysfs_exit(struct hdac_device *codec) hda_widget_sysfs_exit() argument 424 hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid, int num_nodes) hda_widget_sysfs_reinit() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_generic.c | 105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() argument 107 struct hda_gen_spec *spec = codec->spec; in parse_user_hints() 110 val = snd_hda_get_bool_hint(codec, "jack_detect"); in parse_user_hints() 112 codec->no_jack_detect = !val; in parse_user_hints() 113 val = snd_hda_get_bool_hint(codec, "inv_jack_detect"); in parse_user_hints() 115 codec->inv_jack_detect = !!val; in parse_user_hints() 116 val = snd_hda_get_bool_hint(codec, "trigger_sense"); in parse_user_hints() 118 codec->no_trigger_sense = !val; in parse_user_hints() 119 val = snd_hda_get_bool_hint(codec, "inv_eapd"); in parse_user_hints() 121 codec in parse_user_hints() 210 restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) restore_pin_ctl() argument 216 set_pin_target(struct hda_codec *codec, hda_nid_t pin, unsigned int val, bool do_write) set_pin_target() argument 228 set_pin_targets(struct hda_codec *codec, int num_pins, hda_nid_t *pins, unsigned int val) set_pin_targets() argument 256 get_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid) get_nid_path() argument 287 snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) snd_hda_get_path_idx() argument 308 snd_hda_get_path_from_idx(struct hda_codec *codec, int idx) snd_hda_get_path_from_idx() argument 319 is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) is_dac_already_used() argument 333 is_reachable_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid) is_reachable_path() argument 345 is_ctl_used(struct hda_codec *codec, unsigned int val, int type) is_ctl_used() argument 360 is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int type) is_ctl_associated() argument 367 print_nid_path(struct hda_codec *codec, const char *pfx, struct nid_path *path) print_nid_path() argument 384 __parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path, int depth) __parse_nid_path() argument 454 snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path) snd_hda_parse_nid_path() argument 477 snd_hda_add_new_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid) snd_hda_add_new_path() argument 504 invalidate_nid_path(struct hda_codec *codec, int idx) invalidate_nid_path() argument 513 get_preferred_dac(struct hda_codec *codec, hda_nid_t pin) get_preferred_dac() argument 527 look_for_dac(struct hda_codec *codec, hda_nid_t pin, bool is_digital) look_for_dac() argument 555 same_amp_caps(struct hda_codec *codec, hda_nid_t nid1, hda_nid_t nid2, int dir) same_amp_caps() argument 565 look_for_out_mute_nid(struct hda_codec *codec, struct nid_path *path) look_for_out_mute_nid() argument 581 look_for_out_vol_nid(struct hda_codec *codec, struct nid_path *path) look_for_out_vol_nid() argument 602 has_amp_in(struct hda_codec *codec, struct nid_path *path, int idx) has_amp_in() argument 616 has_amp_out(struct hda_codec *codec, struct nid_path *path, int idx) has_amp_out() argument 630 is_active_nid(struct hda_codec *codec, hda_nid_t nid, unsigned int dir, unsigned int idx) is_active_nid() argument 669 get_amp_val_to_activate(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps, bool enable) get_amp_val_to_activate() argument 687 is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, int dir) is_stereo_amps() argument 704 init_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx) init_amp() argument 716 update_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, unsigned int mask, unsigned int val) update_amp() argument 730 get_amp_mask_to_modify(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, unsigned int caps) get_amp_mask_to_modify() argument 748 activate_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int idx_to_check, bool enable) activate_amp() argument 764 check_and_activate_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int idx_to_check, bool enable) check_and_activate_amp() argument 774 activate_amp_out(struct hda_codec *codec, struct nid_path *path, int i, bool enable) activate_amp_out() argument 782 activate_amp_in(struct hda_codec *codec, struct nid_path *path, int i, bool enable, bool add_aamix) activate_amp_in() argument 823 path_power_update(struct hda_codec *codec, struct nid_path *path, bool allow_powerdown) path_power_update() argument 862 sync_power_state_change(struct hda_codec *codec, hda_nid_t nid) sync_power_state_change() argument 879 snd_hda_activate_path(struct hda_codec *codec, struct nid_path *path, bool enable, bool add_aamix) snd_hda_activate_path() argument 907 path_power_down_sync(struct hda_codec *codec, struct nid_path *path) path_power_down_sync() argument 917 set_pin_eapd(struct hda_codec *codec, hda_nid_t pin, bool enable) set_pin_eapd() argument 933 resume_path_from_idx(struct hda_codec *codec, int path_idx) resume_path_from_idx() argument 1014 add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx, unsigned int chs, struct nid_path *path) add_vol_ctl() argument 1028 get_default_ch_nums(struct hda_codec *codec, struct nid_path *path, int type) get_default_ch_nums() argument 1040 add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx, struct nid_path *path) add_stereo_vol() argument 1050 add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx, unsigned int chs, struct nid_path *path) add_sw_ctl() argument 1073 add_stereo_sw(struct hda_codec *codec, const char *pfx, int cidx, struct nid_path *path) add_stereo_sw() argument 1084 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); sync_auto_mute_bits() local 1111 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_get() local 1127 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_put() local 1150 path_has_mixer(struct hda_codec *codec, int path_idx, int ctl_type) path_has_mixer() argument 1161 get_line_out_pfx(struct hda_codec *codec, int ch, int *index, int ctl_type) get_line_out_pfx() argument 1279 assign_out_path_ctls(struct hda_codec *codec, struct nid_path *path) assign_out_path_ctls() argument 1342 get_primary_out(struct hda_codec *codec, int idx) get_primary_out() argument 1356 try_dac(struct hda_codec *codec, hda_nid_t dac, hda_nid_t pin) try_dac() argument 1363 try_assign_dacs(struct hda_codec *codec, int num_outs, const hda_nid_t *pins, hda_nid_t *dacs, int *path_idx, const struct badness_table *bad) try_assign_dacs() argument 1455 get_dac_if_single(struct hda_codec *codec, hda_nid_t pin) get_dac_if_single() argument 1475 can_be_multiio_pin(struct hda_codec *codec, unsigned int location, hda_nid_t nid) can_be_multiio_pin() argument 1492 count_multiio_pins(struct hda_codec *codec, hda_nid_t reference_pin) count_multiio_pins() argument 1521 fill_multi_ios(struct hda_codec *codec, hda_nid_t reference_pin, bool hardwired) fill_multi_ios() argument 1607 map_singles(struct hda_codec *codec, int outs, const hda_nid_t *pins, hda_nid_t *dacs, int *path_idx) map_singles() argument 1643 check_aamix_out_path(struct hda_codec *codec, int path_idx) check_aamix_out_path() argument 1679 indep_hp_possible(struct hda_codec *codec) indep_hp_possible() argument 1718 refill_shared_dacs(struct hda_codec *codec, int num_outs, hda_nid_t *dacs, int *path_idx) refill_shared_dacs() argument 1735 fill_and_eval_dacs(struct hda_codec *codec, bool fill_hardwired, bool fill_mio_first) fill_and_eval_dacs() argument 1898 print_nid_path_idx(struct hda_codec *codec, const char *pfx, int idx) print_nid_path_idx() argument 1908 debug_show_configs(struct hda_codec *codec, struct auto_pin_cfg *cfg) debug_show_configs() argument 1961 fill_all_dac_nids(struct hda_codec *codec) fill_all_dac_nids() argument 1979 parse_output_paths(struct hda_codec *codec) parse_output_paths() argument 2100 create_multi_out_ctls(struct hda_codec *codec, const struct auto_pin_cfg *cfg) create_multi_out_ctls() argument 2151 create_extra_out(struct hda_codec *codec, int path_idx, const char *pfx, int cidx) create_extra_out() argument 2170 create_extra_outs(struct hda_codec *codec, int num_pins, const int *paths, const char *pfx) create_extra_outs() argument 2197 create_hp_out_ctls(struct hda_codec *codec) create_hp_out_ctls() argument 2205 create_speaker_out_ctls(struct hda_codec *codec) create_speaker_out_ctls() argument 2228 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_get() local 2241 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_put() local 2296 create_indep_hp_ctls(struct hda_codec *codec) create_indep_hp_ctls() argument 2326 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_info() local 2343 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_get() local 2351 get_multiio_path(struct hda_codec *codec, int idx) get_multiio_path() argument 2368 set_multi_io(struct hda_codec *codec, int idx, bool output) set_multi_io() argument 2401 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_put() local 2428 create_multi_channel_mode(struct hda_codec *codec) create_multi_channel_mode() argument 2448 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_get() local 2454 update_aamix_paths(struct hda_codec *codec, bool do_mix, int nomix_path_idx, int mix_path_idx, int out_type) update_aamix_paths() argument 2485 update_output_paths(struct hda_codec *codec, int num_outs, const int *paths) update_output_paths() argument 2503 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_put() local 2540 create_loopback_mixing_ctl(struct hda_codec *codec) create_loopback_mixing_ctl() argument 2559 update_hp_mic(struct hda_codec *codec, int adc_mux, bool force) update_hp_mic() argument 2603 create_hp_mic(struct hda_codec *codec) create_hp_mic() argument 2671 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_get() local 2683 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_put() local 2701 find_kctl_name(struct hda_codec *codec, const char *name, int idx) find_kctl_name() argument 2714 get_jack_mode_name(struct hda_codec *codec, hda_nid_t pin, char *name, size_t name_len) get_jack_mode_name() argument 2727 get_out_jack_num_items(struct hda_codec *codec, hda_nid_t pin) get_out_jack_num_items() argument 2738 create_out_jack_modes(struct hda_codec *codec, int num_pins, hda_nid_t *pins) create_out_jack_modes() argument 2775 get_vref_caps(struct hda_codec *codec, hda_nid_t pin) get_vref_caps() argument 2818 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_info() local 2833 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_get() local 2846 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_put() local 2869 get_in_jack_num_items(struct hda_codec *codec, hda_nid_t pin) get_in_jack_num_items() argument 2878 create_in_jack_mode(struct hda_codec *codec, hda_nid_t pin) create_in_jack_mode() argument 2911 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_info() local 2942 get_cur_hp_mic_jack_mode(struct hda_codec *codec, hda_nid_t nid) get_cur_hp_mic_jack_mode() argument 2966 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_get() local 2976 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_put() local 3015 create_hp_mic_jack_mode(struct hda_codec *codec, hda_nid_t pin) create_hp_mic_jack_mode() argument 3051 look_for_mix_leaf_ctls(struct hda_codec *codec, hda_nid_t mix_nid, hda_nid_t pin, unsigned int *mix_val, unsigned int *mute_val) look_for_mix_leaf_ctls() argument 3087 new_analog_input(struct hda_codec *codec, int input_idx, hda_nid_t pin, const char *ctlname, int ctlidx, hda_nid_t mix_nid) new_analog_input() argument 3143 is_input_pin(struct hda_codec *codec, hda_nid_t nid) is_input_pin() argument 3150 fill_adc_nids(struct hda_codec *codec) fill_adc_nids() argument 3180 check_dyn_adc_switch(struct hda_codec *codec) check_dyn_adc_switch() argument 3248 parse_capture_source(struct hda_codec *codec, hda_nid_t pin, int cfg_idx, int num_adcs, const char *label, int anchor) parse_capture_source() argument 3290 fill_input_pin_labels(struct hda_codec *codec) fill_input_pin_labels() argument 3323 create_input_ctls(struct hda_codec *codec) create_input_ctls() argument 3396 get_input_path(struct hda_codec *codec, int adc_idx, int imux_idx) get_input_path() argument 3418 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_info() local 3426 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_get() local 3438 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_put() local 3464 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_put_caller() local 3537 parse_capvol_in_path(struct hda_codec *codec, struct nid_path *path) parse_capvol_in_path() argument 3576 is_inv_dmic_pin(struct hda_codec *codec, hda_nid_t nid) is_inv_dmic_pin() argument 3600 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_single_sw_put() local 3614 add_single_cap_ctl(struct hda_codec *codec, const char *label, int idx, bool is_switch, unsigned int ctl, bool inv_dmic) add_single_cap_ctl() argument 3660 create_single_cap_vol_ctl(struct hda_codec *codec, int idx, unsigned int vol_ctl, unsigned int sw_ctl, bool inv_dmic) create_single_cap_vol_ctl() argument 3675 create_bind_cap_vol_ctl(struct hda_codec *codec, int idx, unsigned int vol_ctl, unsigned int sw_ctl) create_bind_cap_vol_ctl() argument 3701 get_first_cap_ctl(struct hda_codec *codec, int idx, int type) get_first_cap_ctl() argument 3722 create_multi_cap_vol_ctl(struct hda_codec *codec) create_multi_cap_vol_ctl() argument 3751 create_capture_mixers(struct hda_codec *codec) create_capture_mixers() argument 3824 check_boost_vol(struct hda_codec *codec, hda_nid_t nid, int dir, int idx) check_boost_vol() argument 3842 look_for_boost_amp(struct hda_codec *codec, struct nid_path *path) look_for_boost_amp() argument 3867 parse_mic_boost(struct hda_codec *codec) parse_mic_boost() argument 3916 create_mute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness), bool micmute) create_mute_led_cdev() argument 3954 snd_hda_gen_add_mute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness)) snd_hda_gen_add_mute_led_cdev() argument 3988 call_micmute_led_update(struct hda_codec *codec) call_micmute_led_update() argument 4016 update_micmute_led(struct hda_codec *codec, struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) update_micmute_led() argument 4053 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); micmute_led_mode_get() local 4063 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); micmute_led_mode_put() local 4086 add_micmute_led_hook(struct hda_codec *codec) add_micmute_led_hook() argument 4114 snd_hda_gen_add_micmute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness)) snd_hda_gen_add_micmute_led_cdev() argument 4136 parse_digital(struct hda_codec *codec) parse_digital() argument 4200 mux_select(struct hda_codec *codec, unsigned int adc_idx, unsigned int idx) mux_select() argument 4247 set_path_power(struct hda_codec *codec, hda_nid_t nid, int pin_state, int stream_state) set_path_power() argument 4279 detect_pin_state(struct hda_codec *codec, hda_nid_t pin) detect_pin_state() argument 4292 set_pin_power_jack(struct hda_codec *codec, hda_nid_t pin, int power) set_pin_power_jack() argument 4307 pin_power_callback(struct hda_codec *codec, struct hda_jack_callback *jack, bool on) pin_power_callback() argument 4317 pin_power_up_callback(struct hda_codec *codec, struct hda_jack_callback *jack) pin_power_up_callback() argument 4324 pin_power_down_callback(struct hda_codec *codec, struct hda_jack_callback *jack) pin_power_down_callback() argument 4331 add_pin_power_ctls(struct hda_codec *codec, int num_pins, const hda_nid_t *pins, bool on) add_pin_power_ctls() argument 4349 add_all_pin_power_ctls(struct hda_codec *codec, bool on) add_all_pin_power_ctls() argument 4367 sync_pin_power_ctls(struct hda_codec *codec, int num_pins, const hda_nid_t *pins) sync_pin_power_ctls() argument 4378 sync_all_pin_power_ctls(struct hda_codec *codec) sync_all_pin_power_ctls() argument 4396 add_fake_paths(struct hda_codec *codec, hda_nid_t nid, int num_pins, const hda_nid_t *pins) add_fake_paths() argument 4421 add_fake_beep_paths(struct hda_codec *codec) add_fake_beep_paths() argument 4458 snd_hda_gen_fix_pin_power(struct hda_codec *codec, hda_nid_t pin) snd_hda_gen_fix_pin_power() argument 4481 detect_jacks(struct hda_codec *codec, int num_pins, const hda_nid_t *pins) detect_jacks() argument 4500 do_automute(struct hda_codec *codec, int num_pins, const hda_nid_t *pins, int *paths, bool mute) do_automute() argument 4565 snd_hda_gen_update_outputs(struct hda_codec *codec) snd_hda_gen_update_outputs() argument 4612 call_update_outputs(struct hda_codec *codec) call_update_outputs() argument 4630 snd_hda_gen_hp_automute(struct hda_codec *codec, struct hda_jack_callback *jack) snd_hda_gen_hp_automute() argument 4655 snd_hda_gen_line_automute(struct hda_codec *codec, struct hda_jack_callback *jack) snd_hda_gen_line_automute() argument 4680 snd_hda_gen_mic_autoswitch(struct hda_codec *codec, struct hda_jack_callback *jack) snd_hda_gen_mic_autoswitch() argument 4704 call_hp_automute(struct hda_codec *codec, struct hda_jack_callback *jack) call_hp_automute() argument 4714 call_line_automute(struct hda_codec *codec, struct hda_jack_callback *jack) call_line_automute() argument 4724 call_mic_autoswitch(struct hda_codec *codec, struct hda_jack_callback *jack) call_mic_autoswitch() argument 4735 update_automute_all(struct hda_codec *codec) update_automute_all() argument 4748 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_info() local 4762 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_get() local 4777 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_put() local 4823 add_automute_mode_enum(struct hda_codec *codec) add_automute_mode_enum() argument 4836 check_auto_mute_availability(struct hda_codec *codec) check_auto_mute_availability() argument 4909 auto_mic_check_imux(struct hda_codec *codec) auto_mic_check_imux() argument 4943 check_auto_mic_availability(struct hda_codec *codec) check_auto_mic_availability() argument 5018 snd_hda_gen_path_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) snd_hda_gen_path_power_filter() argument 5037 mute_all_mixer_nid(struct hda_codec *codec, hda_nid_t mix) mute_all_mixer_nid() argument 5063 snd_hda_gen_stream_pm(struct hda_codec *codec, hda_nid_t nid, bool on) snd_hda_gen_stream_pm() argument 5079 snd_hda_gen_parse_auto_config(struct hda_codec *codec, struct auto_pin_cfg *cfg) snd_hda_gen_parse_auto_config() argument 5281 snd_hda_gen_build_controls(struct hda_codec *codec) snd_hda_gen_build_controls() argument 5352 call_pcm_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) call_pcm_playback_hook() argument 5362 call_pcm_capture_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) call_pcm_capture_hook() argument 5375 playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) playback_pcm_open() argument 5395 playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) playback_pcm_prepare() argument 5412 playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) playback_pcm_cleanup() argument 5426 playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) playback_pcm_close() argument 5439 capture_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) capture_pcm_open() argument 5447 capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) capture_pcm_prepare() argument 5459 capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) capture_pcm_cleanup() argument 5469 capture_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) capture_pcm_close() argument 5477 alt_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_playback_pcm_open() argument 5495 alt_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_playback_pcm_close() argument 5508 alt_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) alt_playback_pcm_prepare() argument 5520 alt_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_playback_pcm_cleanup() argument 5533 dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dig_playback_pcm_open() argument 5541 dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) dig_playback_pcm_prepare() argument 5552 dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dig_playback_pcm_cleanup() argument 5560 dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dig_playback_pcm_close() argument 5574 alt_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) alt_capture_pcm_prepare() argument 5589 alt_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_capture_pcm_cleanup() argument 5686 dyn_adc_pcm_resetup(struct hda_codec *codec, int cur) dyn_adc_pcm_resetup() argument 5704 dyn_adc_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) dyn_adc_capture_pcm_prepare() argument 5719 dyn_adc_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dyn_adc_capture_pcm_cleanup() argument 5793 snd_hda_gen_build_pcms(struct hda_codec *codec) snd_hda_gen_build_pcms() argument 5907 set_output_and_unmute(struct hda_codec *codec, int path_idx) set_output_and_unmute() argument 5923 init_multi_out(struct hda_codec *codec) init_multi_out() argument 5933 __init_extra_out(struct hda_codec *codec, int num_outs, int *paths) __init_extra_out() argument 5942 init_extra_out(struct hda_codec *codec) init_extra_out() argument 5954 init_multi_io(struct hda_codec *codec) init_multi_io() argument 5973 init_aamix_paths(struct hda_codec *codec) init_aamix_paths() argument 5993 init_analog_input(struct hda_codec *codec) init_analog_input() argument 6013 init_input_src(struct hda_codec *codec) init_input_src() argument 6044 init_digital(struct hda_codec *codec) init_digital() argument 6062 clear_unsol_on_unused_pins(struct hda_codec *codec) clear_unsol_on_unused_pins() argument 6082 snd_hda_gen_init(struct hda_codec *codec) snd_hda_gen_init() argument 6123 snd_hda_gen_free(struct hda_codec *codec) snd_hda_gen_free() argument 6138 snd_hda_gen_reboot_notify(struct hda_codec *codec) snd_hda_gen_reboot_notify() argument 6158 snd_hda_gen_check_power_status(struct hda_codec *codec, hda_nid_t nid) snd_hda_gen_check_power_status() argument 6187 snd_hda_parse_generic_codec(struct hda_codec *codec) snd_hda_parse_generic_codec() argument [all...] |
H A D | patch_conexant.c | 3 * HD audio interface patch for Conexant HDA audio codec 74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() argument 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 79 for_each_hda_codec_node(nid, codec) in cx_auto_parse_beep() 80 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in cx_auto_parse_beep() 85 #define cx_auto_parse_beep(codec) 0 93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() argument 95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() 98 for_each_hda_codec_node(nid, codec) { in cx_auto_parse_eapd() 99 if (get_wcaps_type(get_wcaps(codec, ni in cx_auto_parse_eapd() 118 cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, const hda_nid_t *pins, bool on) cx_auto_turn_eapd() argument 133 struct hda_codec *codec = private_data; cx_auto_vmaster_hook() local 143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cx_auto_vmaster_mute_led() local 152 cxt_init_gpio_led(struct hda_codec *codec) cxt_init_gpio_led() argument 167 cx_auto_init(struct hda_codec *codec) cx_auto_init() argument 180 cx_auto_reboot_notify(struct hda_codec *codec) cx_auto_reboot_notify() argument 190 cx_auto_free(struct hda_codec *codec) cx_auto_free() argument 244 cxt_fixup_stereo_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_stereo_dmic() argument 251 cxt5066_increase_mic_boost(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt5066_increase_mic_boost() argument 264 cxt_update_headset_mode(struct hda_codec *codec) cxt_update_headset_mode() argument 291 cxt_update_headset_mode_hook(struct hda_codec *codec, struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) cxt_update_headset_mode_hook() argument 298 cxt_fixup_headphone_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_headphone_mic() argument 319 cxt_fixup_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_headset_mic() argument 353 olpc_xo_update_mic_boost(struct hda_codec *codec) olpc_xo_update_mic_boost() argument 368 olpc_xo_update_mic_pins(struct hda_codec *codec) olpc_xo_update_mic_pins() argument 423 olpc_xo_automic(struct hda_codec *codec, struct hda_jack_callback *jack) olpc_xo_automic() argument 437 olpc_xo_capture_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) olpc_xo_capture_hook() argument 462 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local 471 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local 487 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local 502 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local 543 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local 551 cxt_fixup_olpc_xo(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_olpc_xo() argument 582 cxt_fixup_mute_led_eapd(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_mute_led_eapd() argument 598 cxt_fixup_cap_mix_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_cap_mix_amp() argument 612 cxt_fixup_cap_mix_amp_5047(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_cap_mix_amp_5047() argument 622 cxt_fixup_hp_gate_mic_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_hp_gate_mic_jack() argument 634 cxt_update_gpio_led(struct hda_codec *codec, unsigned int mask, bool led_on) cxt_update_gpio_led() argument 658 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local 669 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local 676 cxt_setup_mute_led(struct hda_codec *codec, unsigned int mute, unsigned int mic_mute) cxt_setup_mute_led() argument 693 cxt_fixup_mute_led_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_mute_led_gpio() argument 700 cxt_fixup_hp_zbook_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) cxt_fixup_hp_zbook_mute_led() argument 1027 add_cx5051_fake_mutes(struct hda_codec *codec) add_cx5051_fake_mutes() argument 1042 patch_conexant_auto(struct hda_codec *codec) patch_conexant_auto() argument [all...] |
H A D | hda_jack.h | 54 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id); 58 * @codec: the HDA codec 62 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() argument 64 return snd_hda_jack_tbl_get_mst(codec, nid, 0); in snd_hda_jack_tbl_get() 68 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, 71 void snd_hda_jack_tbl_clear(struct hda_codec *codec); 73 void snd_hda_jack_set_dirty_all(struct hda_codec *codec); 75 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, 79 snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_ 93 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, hda_jack_callback_fn cb) snd_hda_jack_detect_enable_callback() argument 121 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) snd_hda_jack_detect_state() argument 133 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) snd_hda_jack_detect_mst() argument 145 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) snd_hda_jack_detect() argument 169 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, const char *name, bool phantom_jack, int type, const struct hda_jack_keymap *keymap) snd_hda_jack_add_kctl() argument [all...] |
H A D | patch_si3054.c | 5 * HD audio interface patch for Silicon Labs 3054/5 modem codec 63 /* si3054 codec registers (nodes) access macros */ 64 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) 65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) 66 #define SET_REG_CACHE(codec,reg,val) \ 67 snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val) 88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local 91 uvalue->value.integer.value[0] = (GET_REG(codec, re in si3054_switch_get() 98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); si3054_switch_put() local 125 si3054_build_controls(struct hda_codec *codec) si3054_build_controls() argument 135 si3054_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) si3054_pcm_prepare() argument 154 si3054_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) si3054_pcm_open() argument 185 si3054_build_pcms(struct hda_codec *codec) si3054_build_pcms() argument 205 si3054_init(struct hda_codec *codec) si3054_init() argument 249 si3054_free(struct hda_codec *codec) si3054_free() argument 265 patch_si3054(struct hda_codec *codec) patch_si3054() argument [all...] |
H A D | Makefile | 6 snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o 7 snd-hda-codec-y += hda_controller.o 8 snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o 10 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o 11 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o 17 snd-hda-codec-generic-objs := hda_generic.o 18 snd-hda-codec-realtek-objs := patch_realtek.o 19 snd-hda-codec-cmedia-objs := patch_cmedia.o 20 snd-hda-codec-analog-objs := patch_analog.o 21 snd-hda-codec [all...] |
H A D | hda_generic.h | 91 void (*old_hook)(struct hda_codec *codec, 212 /* additional parameters set by codec drivers */ 282 void (*init_hook)(struct hda_codec *codec); 283 void (*automute_hook)(struct hda_codec *codec); 284 void (*cap_sync_hook)(struct hda_codec *codec, 293 struct hda_codec *codec, 297 struct hda_codec *codec, 302 void (*hp_automute_hook)(struct hda_codec *codec, 304 void (*line_automute_hook)(struct hda_codec *codec, 306 void (*mic_autoswitch_hook)(struct hda_codec *codec, [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_generic.c | 105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() argument 107 struct hda_gen_spec *spec = codec->spec; in parse_user_hints() 110 val = snd_hda_get_bool_hint(codec, "jack_detect"); in parse_user_hints() 112 codec->no_jack_detect = !val; in parse_user_hints() 113 val = snd_hda_get_bool_hint(codec, "inv_jack_detect"); in parse_user_hints() 115 codec->inv_jack_detect = !!val; in parse_user_hints() 116 val = snd_hda_get_bool_hint(codec, "trigger_sense"); in parse_user_hints() 118 codec->no_trigger_sense = !val; in parse_user_hints() 119 val = snd_hda_get_bool_hint(codec, "inv_eapd"); in parse_user_hints() 121 codec in parse_user_hints() 210 restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) restore_pin_ctl() argument 216 set_pin_target(struct hda_codec *codec, hda_nid_t pin, unsigned int val, bool do_write) set_pin_target() argument 228 set_pin_targets(struct hda_codec *codec, int num_pins, hda_nid_t *pins, unsigned int val) set_pin_targets() argument 256 get_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid) get_nid_path() argument 287 snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) snd_hda_get_path_idx() argument 308 snd_hda_get_path_from_idx(struct hda_codec *codec, int idx) snd_hda_get_path_from_idx() argument 319 is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) is_dac_already_used() argument 333 is_reachable_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid) is_reachable_path() argument 345 is_ctl_used(struct hda_codec *codec, unsigned int val, int type) is_ctl_used() argument 360 is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int type) is_ctl_associated() argument 367 print_nid_path(struct hda_codec *codec, const char *pfx, struct nid_path *path) print_nid_path() argument 384 __parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path, int depth) __parse_nid_path() argument 454 snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path) snd_hda_parse_nid_path() argument 477 snd_hda_add_new_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid) snd_hda_add_new_path() argument 504 invalidate_nid_path(struct hda_codec *codec, int idx) invalidate_nid_path() argument 513 get_preferred_dac(struct hda_codec *codec, hda_nid_t pin) get_preferred_dac() argument 527 look_for_dac(struct hda_codec *codec, hda_nid_t pin, bool is_digital) look_for_dac() argument 555 same_amp_caps(struct hda_codec *codec, hda_nid_t nid1, hda_nid_t nid2, int dir) same_amp_caps() argument 565 look_for_out_mute_nid(struct hda_codec *codec, struct nid_path *path) look_for_out_mute_nid() argument 581 look_for_out_vol_nid(struct hda_codec *codec, struct nid_path *path) look_for_out_vol_nid() argument 602 has_amp_in(struct hda_codec *codec, struct nid_path *path, int idx) has_amp_in() argument 616 has_amp_out(struct hda_codec *codec, struct nid_path *path, int idx) has_amp_out() argument 630 is_active_nid(struct hda_codec *codec, hda_nid_t nid, unsigned int dir, unsigned int idx) is_active_nid() argument 669 get_amp_val_to_activate(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps, bool enable) get_amp_val_to_activate() argument 687 is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, int dir) is_stereo_amps() argument 704 init_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx) init_amp() argument 716 update_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, unsigned int mask, unsigned int val) update_amp() argument 730 get_amp_mask_to_modify(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, unsigned int caps) get_amp_mask_to_modify() argument 748 activate_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int idx_to_check, bool enable) activate_amp() argument 764 check_and_activate_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int idx_to_check, bool enable) check_and_activate_amp() argument 774 activate_amp_out(struct hda_codec *codec, struct nid_path *path, int i, bool enable) activate_amp_out() argument 782 activate_amp_in(struct hda_codec *codec, struct nid_path *path, int i, bool enable, bool add_aamix) activate_amp_in() argument 823 path_power_update(struct hda_codec *codec, struct nid_path *path, bool allow_powerdown) path_power_update() argument 862 sync_power_state_change(struct hda_codec *codec, hda_nid_t nid) sync_power_state_change() argument 879 snd_hda_activate_path(struct hda_codec *codec, struct nid_path *path, bool enable, bool add_aamix) snd_hda_activate_path() argument 907 path_power_down_sync(struct hda_codec *codec, struct nid_path *path) path_power_down_sync() argument 917 set_pin_eapd(struct hda_codec *codec, hda_nid_t pin, bool enable) set_pin_eapd() argument 933 resume_path_from_idx(struct hda_codec *codec, int path_idx) resume_path_from_idx() argument 1020 add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx, unsigned int chs, struct nid_path *path) add_vol_ctl() argument 1034 get_default_ch_nums(struct hda_codec *codec, struct nid_path *path, int type) get_default_ch_nums() argument 1046 add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx, struct nid_path *path) add_stereo_vol() argument 1056 add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx, unsigned int chs, struct nid_path *path) add_sw_ctl() argument 1079 add_stereo_sw(struct hda_codec *codec, const char *pfx, int cidx, struct nid_path *path) add_stereo_sw() argument 1090 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); sync_auto_mute_bits() local 1117 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_get() local 1133 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hda_gen_bind_mute_put() local 1156 path_has_mixer(struct hda_codec *codec, int path_idx, int ctl_type) path_has_mixer() argument 1167 get_line_out_pfx(struct hda_codec *codec, int ch, int *index, int ctl_type) get_line_out_pfx() argument 1285 assign_out_path_ctls(struct hda_codec *codec, struct nid_path *path) assign_out_path_ctls() argument 1348 get_primary_out(struct hda_codec *codec, int idx) get_primary_out() argument 1362 try_dac(struct hda_codec *codec, hda_nid_t dac, hda_nid_t pin) try_dac() argument 1369 try_assign_dacs(struct hda_codec *codec, int num_outs, const hda_nid_t *pins, hda_nid_t *dacs, int *path_idx, const struct badness_table *bad) try_assign_dacs() argument 1461 get_dac_if_single(struct hda_codec *codec, hda_nid_t pin) get_dac_if_single() argument 1481 can_be_multiio_pin(struct hda_codec *codec, unsigned int location, hda_nid_t nid) can_be_multiio_pin() argument 1498 count_multiio_pins(struct hda_codec *codec, hda_nid_t reference_pin) count_multiio_pins() argument 1527 fill_multi_ios(struct hda_codec *codec, hda_nid_t reference_pin, bool hardwired) fill_multi_ios() argument 1613 map_singles(struct hda_codec *codec, int outs, const hda_nid_t *pins, hda_nid_t *dacs, int *path_idx) map_singles() argument 1649 check_aamix_out_path(struct hda_codec *codec, int path_idx) check_aamix_out_path() argument 1685 indep_hp_possible(struct hda_codec *codec) indep_hp_possible() argument 1724 refill_shared_dacs(struct hda_codec *codec, int num_outs, hda_nid_t *dacs, int *path_idx) refill_shared_dacs() argument 1741 fill_and_eval_dacs(struct hda_codec *codec, bool fill_hardwired, bool fill_mio_first) fill_and_eval_dacs() argument 1904 print_nid_path_idx(struct hda_codec *codec, const char *pfx, int idx) print_nid_path_idx() argument 1914 debug_show_configs(struct hda_codec *codec, struct auto_pin_cfg *cfg) debug_show_configs() argument 1967 fill_all_dac_nids(struct hda_codec *codec) fill_all_dac_nids() argument 1985 parse_output_paths(struct hda_codec *codec) parse_output_paths() argument 2106 create_multi_out_ctls(struct hda_codec *codec, const struct auto_pin_cfg *cfg) create_multi_out_ctls() argument 2157 create_extra_out(struct hda_codec *codec, int path_idx, const char *pfx, int cidx) create_extra_out() argument 2176 create_extra_outs(struct hda_codec *codec, int num_pins, const int *paths, const char *pfx) create_extra_outs() argument 2203 create_hp_out_ctls(struct hda_codec *codec) create_hp_out_ctls() argument 2211 create_speaker_out_ctls(struct hda_codec *codec) create_speaker_out_ctls() argument 2234 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_get() local 2247 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); indep_hp_put() local 2302 create_indep_hp_ctls(struct hda_codec *codec) create_indep_hp_ctls() argument 2332 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_info() local 2349 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_get() local 2357 get_multiio_path(struct hda_codec *codec, int idx) get_multiio_path() argument 2374 set_multi_io(struct hda_codec *codec, int idx, bool output) set_multi_io() argument 2407 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); ch_mode_put() local 2434 create_multi_channel_mode(struct hda_codec *codec) create_multi_channel_mode() argument 2454 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_get() local 2460 update_aamix_paths(struct hda_codec *codec, bool do_mix, int nomix_path_idx, int mix_path_idx, int out_type) update_aamix_paths() argument 2491 update_output_paths(struct hda_codec *codec, int num_outs, const int *paths) update_output_paths() argument 2509 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); loopback_mixing_put() local 2546 create_loopback_mixing_ctl(struct hda_codec *codec) create_loopback_mixing_ctl() argument 2565 update_hp_mic(struct hda_codec *codec, int adc_mux, bool force) update_hp_mic() argument 2609 create_hp_mic(struct hda_codec *codec) create_hp_mic() argument 2677 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_get() local 2689 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); out_jack_mode_put() local 2707 find_kctl_name(struct hda_codec *codec, const char *name, int idx) find_kctl_name() argument 2720 get_jack_mode_name(struct hda_codec *codec, hda_nid_t pin, char *name, size_t name_len) get_jack_mode_name() argument 2733 get_out_jack_num_items(struct hda_codec *codec, hda_nid_t pin) get_out_jack_num_items() argument 2744 create_out_jack_modes(struct hda_codec *codec, int num_pins, hda_nid_t *pins) create_out_jack_modes() argument 2781 get_vref_caps(struct hda_codec *codec, hda_nid_t pin) get_vref_caps() argument 2824 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_info() local 2839 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_get() local 2852 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in_jack_mode_put() local 2875 get_in_jack_num_items(struct hda_codec *codec, hda_nid_t pin) get_in_jack_num_items() argument 2884 create_in_jack_mode(struct hda_codec *codec, hda_nid_t pin) create_in_jack_mode() argument 2917 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_info() local 2948 get_cur_hp_mic_jack_mode(struct hda_codec *codec, hda_nid_t nid) get_cur_hp_mic_jack_mode() argument 2972 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_get() local 2982 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); hp_mic_jack_mode_put() local 3021 create_hp_mic_jack_mode(struct hda_codec *codec, hda_nid_t pin) create_hp_mic_jack_mode() argument 3057 look_for_mix_leaf_ctls(struct hda_codec *codec, hda_nid_t mix_nid, hda_nid_t pin, unsigned int *mix_val, unsigned int *mute_val) look_for_mix_leaf_ctls() argument 3093 new_analog_input(struct hda_codec *codec, int input_idx, hda_nid_t pin, const char *ctlname, int ctlidx, hda_nid_t mix_nid) new_analog_input() argument 3149 is_input_pin(struct hda_codec *codec, hda_nid_t nid) is_input_pin() argument 3156 fill_adc_nids(struct hda_codec *codec) fill_adc_nids() argument 3186 check_dyn_adc_switch(struct hda_codec *codec) check_dyn_adc_switch() argument 3254 parse_capture_source(struct hda_codec *codec, hda_nid_t pin, int cfg_idx, int num_adcs, const char *label, int anchor) parse_capture_source() argument 3296 fill_input_pin_labels(struct hda_codec *codec) fill_input_pin_labels() argument 3329 create_input_ctls(struct hda_codec *codec) create_input_ctls() argument 3402 get_input_path(struct hda_codec *codec, int adc_idx, int imux_idx) get_input_path() argument 3424 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_info() local 3432 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_get() local 3444 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); mux_enum_put() local 3470 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_put_caller() local 3544 parse_capvol_in_path(struct hda_codec *codec, struct nid_path *path) parse_capvol_in_path() argument 3583 is_inv_dmic_pin(struct hda_codec *codec, hda_nid_t nid) is_inv_dmic_pin() argument 3607 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); cap_single_sw_put() local 3621 add_single_cap_ctl(struct hda_codec *codec, const char *label, int idx, bool is_switch, unsigned int ctl, bool inv_dmic) add_single_cap_ctl() argument 3673 create_single_cap_vol_ctl(struct hda_codec *codec, int idx, unsigned int vol_ctl, unsigned int sw_ctl, bool inv_dmic) create_single_cap_vol_ctl() argument 3688 create_bind_cap_vol_ctl(struct hda_codec *codec, int idx, unsigned int vol_ctl, unsigned int sw_ctl) create_bind_cap_vol_ctl() argument 3716 get_first_cap_ctl(struct hda_codec *codec, int idx, int type) get_first_cap_ctl() argument 3737 create_multi_cap_vol_ctl(struct hda_codec *codec) create_multi_cap_vol_ctl() argument 3766 create_capture_mixers(struct hda_codec *codec) create_capture_mixers() argument 3839 check_boost_vol(struct hda_codec *codec, hda_nid_t nid, int dir, int idx) check_boost_vol() argument 3857 look_for_boost_amp(struct hda_codec *codec, struct nid_path *path) look_for_boost_amp() argument 3882 parse_mic_boost(struct hda_codec *codec) parse_mic_boost() argument 3931 create_mute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness), bool micmute) create_mute_led_cdev() argument 3964 snd_hda_gen_add_mute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness)) snd_hda_gen_add_mute_led_cdev() argument 4001 snd_hda_gen_add_micmute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness)) snd_hda_gen_add_micmute_led_cdev() argument 4025 parse_digital(struct hda_codec *codec) parse_digital() argument 4089 mux_select(struct hda_codec *codec, unsigned int adc_idx, unsigned int idx) mux_select() argument 4136 set_path_power(struct hda_codec *codec, hda_nid_t nid, int pin_state, int stream_state) set_path_power() argument 4168 detect_pin_state(struct hda_codec *codec, hda_nid_t pin) detect_pin_state() argument 4181 set_pin_power_jack(struct hda_codec *codec, hda_nid_t pin, int power) set_pin_power_jack() argument 4196 pin_power_callback(struct hda_codec *codec, struct hda_jack_callback *jack, bool on) pin_power_callback() argument 4206 pin_power_up_callback(struct hda_codec *codec, struct hda_jack_callback *jack) pin_power_up_callback() argument 4213 pin_power_down_callback(struct hda_codec *codec, struct hda_jack_callback *jack) pin_power_down_callback() argument 4220 add_pin_power_ctls(struct hda_codec *codec, int num_pins, const hda_nid_t *pins, bool on) add_pin_power_ctls() argument 4238 add_all_pin_power_ctls(struct hda_codec *codec, bool on) add_all_pin_power_ctls() argument 4256 sync_pin_power_ctls(struct hda_codec *codec, int num_pins, const hda_nid_t *pins) sync_pin_power_ctls() argument 4267 sync_all_pin_power_ctls(struct hda_codec *codec) sync_all_pin_power_ctls() argument 4285 add_fake_paths(struct hda_codec *codec, hda_nid_t nid, int num_pins, const hda_nid_t *pins) add_fake_paths() argument 4310 add_fake_beep_paths(struct hda_codec *codec) add_fake_beep_paths() argument 4347 snd_hda_gen_fix_pin_power(struct hda_codec *codec, hda_nid_t pin) snd_hda_gen_fix_pin_power() argument 4370 detect_jacks(struct hda_codec *codec, int num_pins, const hda_nid_t *pins) detect_jacks() argument 4389 do_automute(struct hda_codec *codec, int num_pins, const hda_nid_t *pins, int *paths, bool mute) do_automute() argument 4454 snd_hda_gen_update_outputs(struct hda_codec *codec) snd_hda_gen_update_outputs() argument 4501 call_update_outputs(struct hda_codec *codec) call_update_outputs() argument 4519 snd_hda_gen_hp_automute(struct hda_codec *codec, struct hda_jack_callback *jack) snd_hda_gen_hp_automute() argument 4544 snd_hda_gen_line_automute(struct hda_codec *codec, struct hda_jack_callback *jack) snd_hda_gen_line_automute() argument 4569 snd_hda_gen_mic_autoswitch(struct hda_codec *codec, struct hda_jack_callback *jack) snd_hda_gen_mic_autoswitch() argument 4593 call_hp_automute(struct hda_codec *codec, struct hda_jack_callback *jack) call_hp_automute() argument 4603 call_line_automute(struct hda_codec *codec, struct hda_jack_callback *jack) call_line_automute() argument 4613 call_mic_autoswitch(struct hda_codec *codec, struct hda_jack_callback *jack) call_mic_autoswitch() argument 4624 update_automute_all(struct hda_codec *codec) update_automute_all() argument 4637 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_info() local 4651 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_get() local 4666 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); automute_mode_put() local 4712 add_automute_mode_enum(struct hda_codec *codec) add_automute_mode_enum() argument 4725 check_auto_mute_availability(struct hda_codec *codec) check_auto_mute_availability() argument 4798 auto_mic_check_imux(struct hda_codec *codec) auto_mic_check_imux() argument 4832 check_auto_mic_availability(struct hda_codec *codec) check_auto_mic_availability() argument 4907 snd_hda_gen_path_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) snd_hda_gen_path_power_filter() argument 4926 mute_all_mixer_nid(struct hda_codec *codec, hda_nid_t mix) mute_all_mixer_nid() argument 4952 snd_hda_gen_stream_pm(struct hda_codec *codec, hda_nid_t nid, bool on) snd_hda_gen_stream_pm() argument 4968 snd_hda_gen_parse_auto_config(struct hda_codec *codec, struct auto_pin_cfg *cfg) snd_hda_gen_parse_auto_config() argument 5173 snd_hda_gen_build_controls(struct hda_codec *codec) snd_hda_gen_build_controls() argument 5245 call_pcm_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) call_pcm_playback_hook() argument 5255 call_pcm_capture_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) call_pcm_capture_hook() argument 5268 playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) playback_pcm_open() argument 5288 playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) playback_pcm_prepare() argument 5305 playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) playback_pcm_cleanup() argument 5319 playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) playback_pcm_close() argument 5332 capture_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) capture_pcm_open() argument 5340 capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) capture_pcm_prepare() argument 5352 capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) capture_pcm_cleanup() argument 5362 capture_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) capture_pcm_close() argument 5370 alt_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_playback_pcm_open() argument 5388 alt_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_playback_pcm_close() argument 5401 alt_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) alt_playback_pcm_prepare() argument 5413 alt_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_playback_pcm_cleanup() argument 5426 dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dig_playback_pcm_open() argument 5434 dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) dig_playback_pcm_prepare() argument 5445 dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dig_playback_pcm_cleanup() argument 5453 dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dig_playback_pcm_close() argument 5467 alt_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) alt_capture_pcm_prepare() argument 5482 alt_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) alt_capture_pcm_cleanup() argument 5579 dyn_adc_pcm_resetup(struct hda_codec *codec, int cur) dyn_adc_pcm_resetup() argument 5597 dyn_adc_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) dyn_adc_capture_pcm_prepare() argument 5612 dyn_adc_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) dyn_adc_capture_pcm_cleanup() argument 5686 snd_hda_gen_build_pcms(struct hda_codec *codec) snd_hda_gen_build_pcms() argument 5800 set_output_and_unmute(struct hda_codec *codec, int path_idx) set_output_and_unmute() argument 5816 init_multi_out(struct hda_codec *codec) init_multi_out() argument 5826 __init_extra_out(struct hda_codec *codec, int num_outs, int *paths) __init_extra_out() argument 5835 init_extra_out(struct hda_codec *codec) init_extra_out() argument 5847 init_multi_io(struct hda_codec *codec) init_multi_io() argument 5866 init_aamix_paths(struct hda_codec *codec) init_aamix_paths() argument 5886 init_analog_input(struct hda_codec *codec) init_analog_input() argument 5906 init_input_src(struct hda_codec *codec) init_input_src() argument 5937 init_digital(struct hda_codec *codec) init_digital() argument 5955 clear_unsol_on_unused_pins(struct hda_codec *codec) clear_unsol_on_unused_pins() argument 5975 snd_hda_gen_init(struct hda_codec *codec) snd_hda_gen_init() argument 6016 snd_hda_gen_free(struct hda_codec *codec) snd_hda_gen_free() argument 6033 snd_hda_gen_check_power_status(struct hda_codec *codec, hda_nid_t nid) snd_hda_gen_check_power_status() argument 6061 snd_hda_parse_generic_codec(struct hda_codec *codec) snd_hda_parse_generic_codec() argument [all...] |
H A D | patch_si3054.c | 5 * HD audio interface patch for Silicon Labs 3054/5 modem codec 63 /* si3054 codec registers (nodes) access macros */ 64 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) 65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) 66 #define SET_REG_CACHE(codec,reg,val) \ 67 snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val) 88 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in si3054_switch_get() local 91 uvalue->value.integer.value[0] = (GET_REG(codec, re in si3054_switch_get() 98 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); si3054_switch_put() local 125 si3054_build_controls(struct hda_codec *codec) si3054_build_controls() argument 135 si3054_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) si3054_pcm_prepare() argument 154 si3054_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) si3054_pcm_open() argument 185 si3054_build_pcms(struct hda_codec *codec) si3054_build_pcms() argument 205 si3054_init(struct hda_codec *codec) si3054_init() argument 249 si3054_free(struct hda_codec *codec) si3054_free() argument 265 patch_si3054(struct hda_codec *codec) patch_si3054() argument [all...] |
H A D | patch_realtek.c | 82 /* codec parameterization */ 110 void (*init_hook)(struct hda_codec *codec); 112 void (*power_hook)(struct hda_codec *codec); 114 void (*shutup)(struct hda_codec *codec); 143 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock() argument 145 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 147 snd_hda_power_up_pm(codec); in coef_mutex_lock() 151 static void coef_mutex_unlock(struct hda_codec *codec) in coef_mutex_unlock() argument 153 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 156 snd_hda_power_down_pm(codec); in coef_mutex_unlock() 159 __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx) __alc_read_coefex_idx() argument 169 alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx) alc_read_coefex_idx() argument 183 __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_val) __alc_write_coefex_idx() argument 190 alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_val) alc_write_coefex_idx() argument 201 __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int mask, unsigned int bits_set) __alc_update_coefex_idx() argument 212 alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int mask, unsigned int bits_set) alc_update_coefex_idx() argument 225 alc_get_coef0(struct hda_codec *codec) alc_get_coef0() argument 248 alc_process_coef_fw(struct hda_codec *codec, const struct coef_fw *fw) alc_process_coef_fw() argument 267 alc_setup_gpio(struct hda_codec *codec, unsigned int mask) alc_setup_gpio() argument 276 alc_write_gpio_data(struct hda_codec *codec) alc_write_gpio_data() argument 284 alc_update_gpio_data(struct hda_codec *codec, unsigned int mask, bool on) alc_update_gpio_data() argument 298 alc_write_gpio(struct hda_codec *codec) alc_write_gpio() argument 314 alc_fixup_gpio(struct hda_codec *codec, int action, unsigned int mask) alc_fixup_gpio() argument 321 alc_fixup_gpio1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_gpio1() argument 327 alc_fixup_gpio2(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_gpio2() argument 333 alc_fixup_gpio3(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_gpio3() argument 339 alc_fixup_gpio4(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_gpio4() argument 345 alc_fixup_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_micmute_led() argument 357 alc_fix_pll(struct hda_codec *codec) alc_fix_pll() argument 366 alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, unsigned int coef_idx, unsigned int coef_bit) alc_fix_pll_init() argument 377 alc_update_knob_master(struct hda_codec *codec, struct hda_jack_callback *jack) alc_update_knob_master() argument 399 alc880_unsol_event(struct hda_codec *codec, unsigned int res) alc880_unsol_event() argument 407 alc_fill_eapd_coef(struct hda_codec *codec) alc_fill_eapd_coef() argument 523 alc888_coef_init(struct hda_codec *codec) alc888_coef_init() argument 536 set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) set_eapd() argument 546 alc_auto_setup_eapd(struct hda_codec *codec, bool on) alc_auto_setup_eapd() argument 559 alc_headset_mic_no_shutup(struct hda_codec *codec) alc_headset_mic_no_shutup() argument 581 alc_shutup_pins(struct hda_codec *codec) alc_shutup_pins() argument 605 alc_eapd_shutup(struct hda_codec *codec) alc_eapd_shutup() argument 616 alc_auto_init_amp(struct hda_codec *codec, int type) alc_auto_init_amp() argument 659 alc_fixup_sku_ignore(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_sku_ignore() argument 669 alc_fixup_no_depop_delay(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_no_depop_delay() argument 680 alc_auto_parse_customize_define(struct hda_codec *codec) alc_auto_parse_customize_define() argument 771 alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports) alc_subsystem_id() argument 873 alc_ssid_check(struct hda_codec *codec, const hda_nid_t *ports) alc_ssid_check() argument 888 alc_fixup_inv_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_inv_dmic() argument 897 alc_build_controls(struct hda_codec *codec) alc_build_controls() argument 914 alc_pre_init(struct hda_codec *codec) alc_pre_init() argument 924 alc_init(struct hda_codec *codec) alc_init() argument 949 alc_shutup(struct hda_codec *codec) alc_shutup() argument 962 alc_power_eapd(struct hda_codec *codec) alc_power_eapd() argument 967 alc_suspend(struct hda_codec *codec) alc_suspend() argument 976 alc_resume(struct hda_codec *codec) alc_resume() argument 1076 alc_codec_rename_from_preset(struct hda_codec *codec) alc_codec_rename_from_preset() argument 1149 has_cdefine_beep(struct hda_codec *codec) has_cdefine_beep() argument 1167 alc_parse_auto_config(struct hda_codec *codec, const hda_nid_t *ignore_nids, const hda_nid_t *ssid_nids) alc_parse_auto_config() argument 1191 alc_alloc_spec(struct hda_codec *codec, hda_nid_t mixer_nid) alc_alloc_spec() argument 1217 alc880_parse_auto_config(struct hda_codec *codec) alc880_parse_auto_config() argument 1256 alc880_fixup_vol_knob(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc880_fixup_vol_knob() argument 1639 patch_alc880(struct hda_codec *codec) patch_alc880() argument 1684 alc260_parse_auto_config(struct hda_codec *codec) alc260_parse_auto_config() argument 1708 alc260_gpio1_automute(struct hda_codec *codec) alc260_gpio1_automute() argument 1715 alc260_fixup_gpio1_toggle(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc260_fixup_gpio1_toggle() argument 1733 alc260_fixup_kn1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc260_fixup_kn1() argument 1761 alc260_fixup_fsc_s7020(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc260_fixup_fsc_s7020() argument 1769 alc260_fixup_fsc_s7020_jwse(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc260_fixup_fsc_s7020_jwse() argument 1888 patch_alc260(struct hda_codec *codec) patch_alc260() argument 1994 alc889_fixup_coef(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc889_fixup_coef() argument 2003 alc885_fixup_macpro_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc885_fixup_macpro_gpio() argument 2016 alc889_fixup_dac_route(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc889_fixup_dac_route() argument 2038 alc889_fixup_mbp_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc889_fixup_mbp_vref() argument 2059 alc889_fixup_mac_pins(struct hda_codec *codec, const hda_nid_t *nids, int num_nids) alc889_fixup_mac_pins() argument 2075 alc889_fixup_imac91_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc889_fixup_imac91_vref() argument 2085 alc889_fixup_mba11_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc889_fixup_mba11_vref() argument 2095 alc889_fixup_mba21_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc889_fixup_mba21_vref() argument 2108 alc882_fixup_no_primary_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc882_fixup_no_primary_hp() argument 2124 alc_fixup_dual_codecs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_dual_codecs() argument 2142 rename_ctl(struct hda_codec *codec, const char *oldname, const char *newname) rename_ctl() argument 2152 alc1220_fixup_gb_dual_codecs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc1220_fixup_gb_dual_codecs() argument 2176 alc1220_fixup_gb_x570(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc1220_fixup_gb_x570() argument 2200 alc1220_fixup_clevo_p950(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc1220_fixup_clevo_p950() argument 2220 alc1220_fixup_clevo_pb51ed(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc1220_fixup_clevo_pb51ed() argument 2228 alc887_asus_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) alc887_asus_hp_automute_hook() argument 2243 alc887_fixup_asus_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc887_fixup_asus_jack() argument 2738 alc882_parse_auto_config(struct hda_codec *codec) alc882_parse_auto_config() argument 2747 patch_alc882(struct hda_codec *codec) patch_alc882() argument 2807 alc262_parse_auto_config(struct hda_codec *codec) alc262_parse_auto_config() argument 2926 patch_alc262(struct hda_codec *codec) patch_alc262() argument 2986 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); alc268_beep_switch_put() local 3071 alc268_parse_auto_config(struct hda_codec *codec) alc268_parse_auto_config() argument 3079 patch_alc268(struct hda_codec *codec) patch_alc268() argument 3174 alc269_parse_auto_config(struct hda_codec *codec) alc269_parse_auto_config() argument 3225 alc_headset_btn_callback(struct hda_codec *codec, struct hda_jack_callback *jack) alc_headset_btn_callback() argument 3247 alc_disable_headset_jack_key(struct hda_codec *codec) alc_disable_headset_jack_key() argument 3277 alc_enable_headset_jack_key(struct hda_codec *codec) alc_enable_headset_jack_key() argument 3307 alc_fixup_headset_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_jack() argument 3333 alc269vb_toggle_power_output(struct hda_codec *codec, int power_up) alc269vb_toggle_power_output() argument 3338 alc269_shutup(struct hda_codec *codec) alc269_shutup() argument 3384 alc282_restore_default_value(struct hda_codec *codec) alc282_restore_default_value() argument 3389 alc282_init(struct hda_codec *codec) alc282_init() argument 3426 alc282_shutup(struct hda_codec *codec) alc282_shutup() argument 3500 alc283_restore_default_value(struct hda_codec *codec) alc283_restore_default_value() argument 3505 alc283_init(struct hda_codec *codec) alc283_init() argument 3541 alc283_shutup(struct hda_codec *codec) alc283_shutup() argument 3578 alc256_init(struct hda_codec *codec) alc256_init() argument 3630 alc256_shutup(struct hda_codec *codec) alc256_shutup() argument 3679 alc285_hp_init(struct hda_codec *codec) alc285_hp_init() argument 3729 alc225_init(struct hda_codec *codec) alc225_init() argument 3788 alc225_shutup(struct hda_codec *codec) alc225_shutup() argument 3842 alc_default_init(struct hda_codec *codec) alc_default_init() argument 3871 alc_default_shutup(struct hda_codec *codec) alc_default_shutup() argument 3904 alc294_hp_init(struct hda_codec *codec) alc294_hp_init() argument 3936 alc294_init(struct hda_codec *codec) alc294_init() argument 3949 alc5505_coef_set(struct hda_codec *codec, unsigned int index_reg, unsigned int val) alc5505_coef_set() argument 3957 alc5505_coef_get(struct hda_codec *codec, unsigned int index_reg) alc5505_coef_get() argument 3969 alc5505_dsp_halt(struct hda_codec *codec) alc5505_dsp_halt() argument 3984 alc5505_dsp_back_from_halt(struct hda_codec *codec) alc5505_dsp_back_from_halt() argument 3994 alc5505_dsp_init(struct hda_codec *codec) alc5505_dsp_init() argument 4042 alc269_suspend(struct hda_codec *codec) alc269_suspend() argument 4052 alc269_resume(struct hda_codec *codec) alc269_resume() argument 4089 alc269_fixup_pincfg_no_hp_to_lineout(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_pincfg_no_hp_to_lineout() argument 4098 alc269_fixup_pincfg_U7x7_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_pincfg_U7x7_headset_mic() argument 4111 alc269_fixup_hweq(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hweq() argument 4118 alc269_fixup_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_headset_mic() argument 4127 alc271_fixup_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc271_fixup_dmic() argument 4146 alc269vb_fixup_aspire_e1_coef(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269vb_fixup_aspire_e1_coef() argument 4154 alc269_fixup_pcm_44k(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_pcm_44k() argument 4169 alc269_fixup_stereo_dmic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_stereo_dmic() argument 4181 alc269_quanta_automute(struct hda_codec *codec) alc269_quanta_automute() argument 4189 alc269_fixup_quanta_mute(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_quanta_mute() argument 4198 alc269_x101_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) alc269_x101_hp_automute_hook() argument 4223 alc298_huawei_mbx_stereo_seq(struct hda_codec *codec, const struct hda_alc298_mbxinit *initval, bool first) alc298_huawei_mbx_stereo_seq() argument 4244 alc298_fixup_huawei_mbx_stereo(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc298_fixup_huawei_mbx_stereo() argument 4281 alc269_fixup_x101_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_x101_headset_mic() argument 4291 alc_update_vref_led(struct hda_codec *codec, hda_nid_t pin, bool polarity, bool on) alc_update_vref_led() argument 4313 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_mute_led_set() local 4322 led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) led_power_filter() argument 4339 alc269_fixup_hp_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_mute_led() argument 4365 alc269_fixup_hp_mute_led_micx(struct hda_codec *codec, const struct hda_fixup *fix, int action, hda_nid_t pin) alc269_fixup_hp_mute_led_micx() argument 4379 alc269_fixup_hp_mute_led_mic1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_mute_led_mic1() argument 4385 alc269_fixup_hp_mute_led_mic2(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_mute_led_mic2() argument 4391 alc269_fixup_hp_mute_led_mic3(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_mute_led_mic3() argument 4398 alc_update_gpio_led(struct hda_codec *codec, unsigned int mask, int polarity, bool enabled) alc_update_gpio_led() argument 4410 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); gpio_mute_led_set() local 4422 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); micmute_led_set() local 4431 alc_fixup_hp_gpio_led(struct hda_codec *codec, int action, unsigned int mute_mask, unsigned int micmute_mask) alc_fixup_hp_gpio_led() argument 4452 alc236_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_gpio_led() argument 4458 alc269_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_gpio_led() argument 4464 alc285_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_gpio_led() argument 4470 alc286_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc286_fixup_hp_gpio_led() argument 4476 alc287_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc287_fixup_hp_gpio_led() argument 4482 alc245_fixup_hp_gpio_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc245_fixup_hp_gpio_led() argument 4496 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); vref_micmute_led_set() local 4504 alc269_fixup_hp_gpio_mic1_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_gpio_mic1_led() argument 4522 alc280_fixup_hp_gpio4(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc280_fixup_hp_gpio4() argument 4538 alc245_fixup_hp_x360_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc245_fixup_hp_x360_amp() argument 4558 alc274_hp_envy_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) alc274_hp_envy_pcm_hook() argument 4573 alc274_fixup_hp_envy_gpio(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc274_fixup_hp_envy_gpio() argument 4586 alc_update_coef_led(struct hda_codec *codec, struct alc_coef_led *led, bool polarity, bool on) alc_update_coef_led() argument 4601 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_mute_led_set() local 4609 alc285_fixup_hp_mute_led_coefbit(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_mute_led_coefbit() argument 4625 alc236_fixup_hp_mute_led_coefbit(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_mute_led_coefbit() argument 4641 alc236_fixup_hp_mute_led_coefbit2(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_mute_led_coefbit2() argument 4656 alc245_fixup_hp_mute_led_coefbit(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc245_fixup_hp_mute_led_coefbit() argument 4676 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); coef_micmute_led_set() local 4684 alc285_fixup_hp_coef_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_coef_micmute_led() argument 4698 alc285_fixup_hp_gpio_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_gpio_micmute_led() argument 4708 alc236_fixup_hp_coef_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_coef_micmute_led() argument 4722 alc285_fixup_hp_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_mute_led() argument 4729 alc285_fixup_hp_spectre_x360_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_spectre_x360_mute_led() argument 4736 alc236_fixup_hp_mute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_mute_led() argument 4743 alc236_fixup_hp_micmute_led_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_micmute_led_vref() argument 4755 alc236_fixup_hp_mute_led_micmute_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc236_fixup_hp_mute_led_micmute_vref() argument 4762 alc298_samsung_write_coef_pack(struct hda_codec *codec, const unsigned short coefs[2]) alc298_samsung_write_coef_pack() argument 4775 alc298_fixup_samsung_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc298_fixup_samsung_amp() argument 4805 gpio2_mic_hotkey_event(struct hda_codec *codec, struct hda_jack_callback *event) gpio2_mic_hotkey_event() argument 4818 alc_register_micmute_input_device(struct hda_codec *codec) alc_register_micmute_input_device() argument 4854 alc280_fixup_hp_gpio2_mic_hotkey(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc280_fixup_hp_gpio2_mic_hotkey() argument 4888 alc233_fixup_lenovo_line2_mic_hotkey(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc233_fixup_lenovo_line2_mic_hotkey() argument 4918 alc269_fixup_hp_line1_mic1_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_hp_line1_mic1_led() argument 4941 alc_headset_mode_unplugged(struct hda_codec *codec) alc_headset_mode_unplugged() argument 5076 alc_headset_mode_mic_in(struct hda_codec *codec, hda_nid_t hp_pin, hda_nid_t mic_pin) alc_headset_mode_mic_in() argument 5215 alc_headset_mode_default(struct hda_codec *codec) alc_headset_mode_default() argument 5334 alc_headset_mode_ctia(struct hda_codec *codec) alc_headset_mode_ctia() argument 5456 alc_headset_mode_omtp(struct hda_codec *codec) alc_headset_mode_omtp() argument 5556 alc_determine_headset_type(struct hda_codec *codec) alc_determine_headset_type() argument 5756 alc_update_headset_mode(struct hda_codec *codec) alc_update_headset_mode() argument 5816 alc_update_headset_mode_hook(struct hda_codec *codec, struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) alc_update_headset_mode_hook() argument 5823 alc_update_headset_jack_cb(struct hda_codec *codec, struct hda_jack_callback *jack) alc_update_headset_jack_cb() argument 5830 alc_probe_headset_mode(struct hda_codec *codec) alc_probe_headset_mode() argument 5850 alc_fixup_headset_mode(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode() argument 5872 alc_fixup_headset_mode_no_hp_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode_no_hp_mic() argument 5883 alc255_set_default_jack_type(struct hda_codec *codec) alc255_set_default_jack_type() argument 5916 alc_fixup_headset_mode_alc255(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode_alc255() argument 5925 alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode_alc255_no_hp_mic() argument 5937 alc288_update_headset_jack_cb(struct hda_codec *codec, struct hda_jack_callback *jack) alc288_update_headset_jack_cb() argument 5947 alc_fixup_headset_mode_dell_alc288(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode_dell_alc288() argument 5960 alc_fixup_auto_mute_via_amp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_auto_mute_via_amp() argument 5969 alc_fixup_no_shutup(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_no_shutup() argument 5978 alc_fixup_disable_aamix(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_disable_aamix() argument 5989 alc_fixup_tpt440_dock(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_tpt440_dock() argument 6006 alc_fixup_tpt470_dock(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_tpt470_dock() argument 6029 alc_fixup_tpt470_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_tpt470_dacs() argument 6046 alc295_fixup_asus_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc295_fixup_asus_dacs() argument 6058 alc_shutup_dell_xps13(struct hda_codec *codec) alc_shutup_dell_xps13() argument 6069 alc_fixup_dell_xps13(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_dell_xps13() argument 6096 alc_fixup_headset_mode_alc662(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode_alc662() argument 6113 alc_fixup_headset_mode_alc668(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mode_alc668() argument 6125 find_ext_mic_pin(struct hda_codec *codec) find_ext_mic_pin() argument 6146 alc271_hp_gate_mic_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc271_hp_gate_mic_jack() argument 6162 alc269_fixup_limit_int_mic_boost(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc269_fixup_limit_int_mic_boost() argument 6194 alc283_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) alc283_hp_automute_hook() argument 6210 alc283_fixup_chromebook(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc283_fixup_chromebook() argument 6231 alc283_fixup_sense_combo_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc283_fixup_sense_combo_jack() argument 6249 asus_tx300_automute(struct hda_codec *codec) asus_tx300_automute() argument 6257 alc282_fixup_asus_tx300(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc282_fixup_asus_tx300() argument 6292 alc290_fixup_mono_speakers(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc290_fixup_mono_speakers() argument 6305 alc298_fixup_speaker_volume(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc298_fixup_speaker_volume() argument 6322 alc295_fixup_disable_dac3(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc295_fixup_disable_dac3() argument 6332 alc285_fixup_speaker2_to_dac1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_speaker2_to_dac1() argument 6342 alc280_hp_gpio4_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) alc280_hp_gpio4_automute_hook() argument 6359 alc280_fixup_hp_9480m(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc280_fixup_hp_9480m() argument 6374 alc275_fixup_gpio4_off(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc275_fixup_gpio4_off() argument 6393 alc285_fixup_thinkpad_x1_gen7(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_thinkpad_x1_gen7() argument 6420 alc233_alc662_fixup_lenovo_dual_codecs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc233_alc662_fixup_lenovo_dual_codecs() argument 6444 alc225_fixup_s3_pop_noise(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc225_fixup_s3_pop_noise() argument 6454 alc274_fixup_bind_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc274_fixup_bind_dacs() argument 6472 alc289_fixup_asus_ga401(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc289_fixup_asus_ga401() argument 6487 alc285_fixup_invalidate_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_invalidate_dacs() argument 6496 alc_combo_jack_hp_jd_restart(struct hda_codec *codec) alc_combo_jack_hp_jd_restart() argument 6520 alc295_fixup_chromebook(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc295_fixup_chromebook() argument 6535 alc_fixup_disable_mic_vref(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_disable_mic_vref() argument 6543 alc294_gx502_toggle_output(struct hda_codec *codec, struct hda_jack_callback *cb) alc294_gx502_toggle_output() argument 6555 alc294_fixup_gx502_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc294_fixup_gx502_hp() argument 6576 alc294_gu502_toggle_output(struct hda_codec *codec, struct hda_jack_callback *cb) alc294_gu502_toggle_output() argument 6588 alc294_fixup_gu502_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc294_fixup_gu502_hp() argument 6605 alc285_fixup_hp_gpio_amp_init(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_gpio_amp_init() argument 6615 alc274_fixup_hp_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc274_fixup_hp_headset_mic() argument 6625 alc_fixup_no_int_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_no_int_mic() argument 6645 alc285_fixup_hp_spectre_x360_eb1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_spectre_x360_eb1() argument 6680 alc285_fixup_hp_spectre_x360(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_spectre_x360() argument 6698 alc285_fixup_hp_envy_x360(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc285_fixup_hp_envy_x360() argument 6755 alc_fixup_thinkpad_acpi(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_thinkpad_acpi() argument 6763 alc287_fixup_legion_15imhg05_speakers(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc287_fixup_legion_15imhg05_speakers() argument 6935 cs35l41_fixup_spi_two(struct hda_codec *codec, const struct hda_fixup *fix, int action) cs35l41_fixup_spi_two() argument 6940 cs35l41_fixup_spi_four(struct hda_codec *codec, const struct hda_fixup *fix, int action) cs35l41_fixup_spi_four() argument 6976 alc256_fixup_set_coef_defaults(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc256_fixup_set_coef_defaults() argument 6998 alc233_fixup_no_audio_jack(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc233_fixup_no_audio_jack() argument 7012 alc256_fixup_mic_no_presence_and_resume(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc256_fixup_mic_no_presence_and_resume() argument 7029 alc_fixup_dell4_mic_no_presence_quiet(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_dell4_mic_no_presence_quiet() argument 7064 alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc287_fixup_yoga9_14iap7_bass_spk_pin() argument 7101 alc295_fixup_dell_inspiron_top_speakers(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc295_fixup_dell_inspiron_top_speakers() argument 7130 alc287_fixup_bind_dacs(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc287_fixup_bind_dacs() argument 7151 alc_fixup_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_headset_mic() argument 7448 alc298_fixup_lenovo_c940_duet7(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc298_fixup_lenovo_c940_duet7() argument 7468 alc287_fixup_lenovo_14irp8_duetitl(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc287_fixup_lenovo_14irp8_duetitl() argument 10958 alc269_fill_coef(struct hda_codec *codec) alc269_fill_coef() argument 11000 patch_alc269(struct hda_codec *codec) patch_alc269() argument 11213 alc861_parse_auto_config(struct hda_codec *codec) alc861_parse_auto_config() argument 11230 alc861_fixup_asus_amp_vref_0f(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc861_fixup_asus_amp_vref_0f() argument 11247 alc_fixup_no_jack_detect(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_no_jack_detect() argument 11302 patch_alc861(struct hda_codec *codec) patch_alc861() argument 11351 alc861vd_parse_auto_config(struct hda_codec *codec) alc861vd_parse_auto_config() argument 11364 alc861vd_fixup_dallas(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc861vd_fixup_dallas() argument 11374 alc660vd_fixup_asus_gpio1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc660vd_fixup_asus_gpio1() argument 11404 patch_alc861vd(struct hda_codec *codec) patch_alc861vd() argument 11460 alc662_parse_auto_config(struct hda_codec *codec) alc662_parse_auto_config() argument 11476 alc272_fixup_mario(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc272_fixup_mario() argument 11499 alc_fixup_bass_chmap(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc_fixup_bass_chmap() argument 11509 gpio_led_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) gpio_led_power_filter() argument 11519 alc662_fixup_led_gpio1(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc662_fixup_led_gpio1() argument 11531 alc662_usi_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) alc662_usi_automute_hook() argument 11545 alc662_fixup_usi_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc662_fixup_usi_headset_mic() argument 11555 alc662_aspire_ethos_mute_speakers(struct hda_codec *codec, struct hda_jack_callback *cb) alc662_aspire_ethos_mute_speakers() argument 11573 alc662_fixup_aspire_ethos_hp(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc662_fixup_aspire_ethos_hp() argument 11596 alc671_fixup_hp_headset_mic2(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc671_fixup_hp_headset_mic2() argument 11619 alc897_hp_automute_hook(struct hda_codec *codec, struct hda_jack_callback *jack) alc897_hp_automute_hook() argument 11631 alc897_fixup_lenovo_headset_mic(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc897_fixup_lenovo_headset_mic() argument 11640 alc897_fixup_lenovo_headset_mode(struct hda_codec *codec, const struct hda_fixup *fix, int action) alc897_fixup_lenovo_headset_mode() argument 11675 alc668_restore_default_value(struct hda_codec *codec) alc668_restore_default_value() argument 12410 patch_alc662(struct hda_codec *codec) patch_alc662() argument 12491 alc680_parse_auto_config(struct hda_codec *codec) alc680_parse_auto_config() argument 12498 patch_alc680(struct hda_codec *codec) patch_alc680() argument [all...] |
H A D | Makefile | 5 snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o 6 snd-hda-codec-y += hda_controller.o 7 snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o 9 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o 10 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o 16 snd-hda-codec-generic-objs := hda_generic.o 17 snd-hda-codec-realtek-objs := patch_realtek.o 18 snd-hda-codec-cmedia-objs := patch_cmedia.o 19 snd-hda-codec-analog-objs := patch_analog.o 20 snd-hda-codec [all...] |
/foundation/multimedia/av_codec/interfaces/kits/c/ |
H A D | native_avcodec_videoencoder.h | 33 * @param codec OH_AVCodec instance 39 typedef void (*OH_VideoEncoder_OnNeedInputParameter)(OH_AVCodec *codec, uint32_t index, OH_AVFormat *parameter, 68 * @param codec Pointer to an OH_AVCodec instance 78 OH_AVErrCode OH_VideoEncoder_Destroy(OH_AVCodec *codec); 84 * @param codec Pointer to an OH_AVCodec instance 99 OH_AVErrCode OH_VideoEncoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData); 105 * @param codec Pointer to an OH_AVCodec instance 117 OH_AVErrCode OH_VideoEncoder_RegisterCallback(OH_AVCodec *codec, OH_AVCodecCallback callback, void *userData); 125 * @param codec Pointer to an OH_AVCodec instance 137 OH_AVErrCode OH_VideoEncoder_RegisterParameterCallback(OH_AVCodec *codec, [all...] |
H A D | native_avcodec_videodecoder.h | 44 * @param name video codec name 55 * @param codec Pointer to an OH_AVCodec instance 65 OH_AVErrCode OH_VideoDecoder_Destroy(OH_AVCodec *codec); 71 * @param codec Pointer to an OH_AVCodec instance 86 OH_AVErrCode OH_VideoDecoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData); 92 * @param codec Pointer to an OH_AVCodec instance 104 OH_AVErrCode OH_VideoDecoder_RegisterCallback(OH_AVCodec *codec, OH_AVCodecCallback callback, void *userData); 110 * @param codec Pointer to an OH_AVCodec instance 123 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window); 129 * @param codec Pointe [all...] |
H A D | native_avcodec_audiodecoder.h | 43 * @param name Audio codec name 55 * @param codec Pointer to an OH_AVCodec instance 63 OH_AVErrCode OH_AudioDecoder_Destroy(OH_AVCodec *codec); 69 * @param codec Pointer to an OH_AVCodec instance 79 OH_AVErrCode OH_AudioDecoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData); 85 * @param codec Pointer to an OH_AVCodec instance 94 OH_AVErrCode OH_AudioDecoder_Configure(OH_AVCodec *codec, OH_AVFormat *format); 100 * @param codec Pointer to an OH_AVCodec instance 108 OH_AVErrCode OH_AudioDecoder_Prepare(OH_AVCodec *codec); 114 * @param codec Pointe [all...] |
H A D | native_avcodec_audioencoder.h | 55 * @param codec Pointer to an OH_AVCodec instance 63 OH_AVErrCode OH_AudioEncoder_Destroy(OH_AVCodec *codec); 69 * @param codec Pointer to an OH_AVCodec instance 79 OH_AVErrCode OH_AudioEncoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData); 85 * @param codec Pointer to an OH_AVCodec instance 94 OH_AVErrCode OH_AudioEncoder_Configure(OH_AVCodec *codec, OH_AVFormat *format); 100 * @param codec Pointer to an OH_AVCodec instance 108 OH_AVErrCode OH_AudioEncoder_Prepare(OH_AVCodec *codec); 114 * @param codec Pointer to an OH_AVCodec instance 122 OH_AVErrCode OH_AudioEncoder_Start(OH_AVCodec *codec); [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | hda_regmap.h | 15 int snd_hdac_regmap_init(struct hdac_device *codec); 16 void snd_hdac_regmap_exit(struct hdac_device *codec); 17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, 23 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 25 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 27 int snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg, 29 void snd_hdac_regmap_sync(struct hdac_device *codec); 34 * @verb: codec ver 79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int val) snd_hdac_regmap_write() argument 97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int mask, unsigned int val) snd_hdac_regmap_update() argument 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int *val) snd_hdac_regmap_read() argument 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, int ch, int dir, int idx) snd_hdac_regmap_get_amp() argument 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) snd_hdac_regmap_update_amp() argument 181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, int dir, int idx) snd_hdac_regmap_get_amp_stereo() argument 205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, int dir, int idx, int mask, int val) snd_hdac_regmap_update_amp_stereo() argument 219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid) snd_hdac_regmap_sync_node() argument [all...] |
/kernel/linux/linux-6.6/include/sound/ |
H A D | hda_regmap.h | 15 int snd_hdac_regmap_init(struct hdac_device *codec); 16 void snd_hdac_regmap_exit(struct hdac_device *codec); 17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, 23 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 25 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 27 int snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg, 29 void snd_hdac_regmap_sync(struct hdac_device *codec); 34 * @verb: codec ver 79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int val) snd_hdac_regmap_write() argument 97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int mask, unsigned int val) snd_hdac_regmap_update() argument 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int *val) snd_hdac_regmap_read() argument 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, int ch, int dir, int idx) snd_hdac_regmap_get_amp() argument 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) snd_hdac_regmap_update_amp() argument 181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, int dir, int idx) snd_hdac_regmap_get_amp_stereo() argument 205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, int dir, int idx, int mask, int val) snd_hdac_regmap_update_amp_stereo() argument 219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid) snd_hdac_regmap_sync_node() argument [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | fuzz_test.cpp | 54 OH_AVCodec *codec = nullptr; in HWTEST_F() local 59 codec = aDecBufferDemo->CreateByMime(commonTool->GetRandString().c_str()); in HWTEST_F() 60 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F() 74 OH_AVCodec *codec = nullptr; in HWTEST_F() local 79 codec = aDecBufferDemo->CreateByName(commonTool->GetRandString().c_str()); in HWTEST_F() 80 result0 = aDecBufferDemo->Destroy(codec); in HWTEST_F() 94 OH_AVCodec *codec = nullptr; in HWTEST_F() local 101 codec = aDecBufferDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F() 102 ASSERT_NE(codec, nullptr); in HWTEST_F() 103 result0 = aDecBufferDemo->SetCallback(codec); in HWTEST_F() 122 OH_AVCodec *codec = nullptr; HWTEST_F() local 150 OH_AVCodec *codec = nullptr; HWTEST_F() local 184 OH_AVCodec *codec = nullptr; HWTEST_F() local 221 OH_AVCodec *codec = nullptr; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | fuzz_test.cpp | 54 OH_AVCodec *codec = nullptr; in HWTEST_F() local 59 codec = audioBufferAacEncDemo->CreateByMime(commonTool->GetRandString().c_str()); in HWTEST_F() 60 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F() 74 OH_AVCodec *codec = nullptr; in HWTEST_F() local 79 codec = audioBufferAacEncDemo->CreateByName(commonTool->GetRandString().c_str()); in HWTEST_F() 80 result0 = audioBufferAacEncDemo->Destroy(codec); in HWTEST_F() 94 OH_AVCodec *codec = nullptr; in HWTEST_F() local 105 codec = audioBufferAacEncDemo->CreateByMime(OH_AVCODEC_MIMETYPE_AUDIO_G711MU); in HWTEST_F() 106 ASSERT_NE(codec, nullptr); in HWTEST_F() 107 result0 = audioBufferAacEncDemo->SetCallback(codec); in HWTEST_F() 127 OH_AVCodec *codec = nullptr; HWTEST_F() local 160 OH_AVCodec *codec = nullptr; HWTEST_F() local 193 OH_AVCodec *codec = nullptr; HWTEST_F() local 226 OH_AVCodec *codec = nullptr; HWTEST_F() local 259 OH_AVCodec *codec = nullptr; HWTEST_F() local 298 OH_AVCodec *codec = nullptr; HWTEST_F() local 337 OH_AVCodec *codec = nullptr; HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zr36016.c | 15 /* codec io API */ 28 * Local hardware I/O functions: read/write via codec layer 36 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_read() 39 if (ptr->codec->master_data->readreg) in zr36016_read() 40 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read() 51 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_write() 56 if (ptr->codec->master_data->writereg) in zr36016_write() 57 ptr->codec->master_data->writereg(ptr->codec, re in zr36016_write() 196 zr36016_set_mode(struct videocodec *codec, int mode) zr36016_set_mode() argument 213 zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) zr36016_set_video() argument 255 zr36016_control(struct videocodec *codec, int type, int size, void *data) zr36016_control() argument 306 zr36016_unset(struct videocodec *codec) zr36016_unset() argument 334 zr36016_setup(struct videocodec *codec) zr36016_setup() argument [all...] |
/kernel/linux/linux-5.10/sound/aoa/core/ |
H A D | core.c | 35 printk(KERN_ERR "snd-aoa: fabric didn't like codec %s\n", in attach_codec_to_fabric() 45 printk(KERN_ERR "snd-aoa: codec %s didn't init\n", c->name); in attach_codec_to_fabric() 57 int aoa_codec_register(struct aoa_codec *codec) in aoa_codec_register() argument 62 * will want to have this codec, so propagate error in aoa_codec_register() 65 err = attach_codec_to_fabric(codec); in aoa_codec_register() 67 list_add(&codec->list, &codec_list); in aoa_codec_register() 72 void aoa_codec_unregister(struct aoa_codec *codec) in aoa_codec_unregister() argument 74 list_del(&codec->list); in aoa_codec_unregister() 75 if (codec->fabric && codec in aoa_codec_unregister() 133 aoa_fabric_unlink_codec(struct aoa_codec *codec) aoa_fabric_unlink_codec() argument [all...] |
/kernel/linux/linux-6.6/sound/aoa/core/ |
H A D | core.c | 35 printk(KERN_ERR "snd-aoa: fabric didn't like codec %s\n", in attach_codec_to_fabric() 45 printk(KERN_ERR "snd-aoa: codec %s didn't init\n", c->name); in attach_codec_to_fabric() 57 int aoa_codec_register(struct aoa_codec *codec) in aoa_codec_register() argument 62 * will want to have this codec, so propagate error in aoa_codec_register() 65 err = attach_codec_to_fabric(codec); in aoa_codec_register() 67 list_add(&codec->list, &codec_list); in aoa_codec_register() 72 void aoa_codec_unregister(struct aoa_codec *codec) in aoa_codec_unregister() argument 74 list_del(&codec->list); in aoa_codec_unregister() 75 if (codec->fabric && codec in aoa_codec_unregister() 133 aoa_fabric_unlink_codec(struct aoa_codec *codec) aoa_fabric_unlink_codec() argument [all...] |
/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/ |
H A D | native_audio_codec.cpp | 60 NativeAudioCodec(OH_AVCodec *codec, struct OH_AVCodecCallback cb, void *userData) in NativeAudioCodec() argument 61 : codec_(codec), callback_(cb), userData_(userData) in NativeAudioCodec() 125 OH_AVBuffer *GetTransData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVBuffer> buffer) in GetTransData() argument 127 CHECK_AND_RETURN_RET_LOG(codec != nullptr, nullptr, "input codec is nullptr!"); in GetTransData() 128 CHECK_AND_RETURN_RET_LOG(codec->magic_ == AVMagic::AVCODEC_MAGIC_AUDIO_DECODER || in GetTransData() 129 codec->magic_ == AVMagic::AVCODEC_MAGIC_AUDIO_ENCODER, nullptr, "magic error!"); in GetTransData() 131 struct AudioCodecObject *audioCodecObj = reinterpret_cast<AudioCodecObject *>(codec); in GetTransData() 208 OH_AVErrCode OH_AudioCodec_Destroy(struct OH_AVCodec *codec) in OH_AudioCodec_Destroy() argument 210 CHECK_AND_RETURN_RET_LOG(codec ! in OH_AudioCodec_Destroy() 239 OH_AudioCodec_Configure(struct OH_AVCodec *codec, const OH_AVFormat *format) OH_AudioCodec_Configure() argument 257 OH_AudioCodec_Prepare(struct OH_AVCodec *codec) OH_AudioCodec_Prepare() argument 272 OH_AudioCodec_Start(struct OH_AVCodec *codec) OH_AudioCodec_Start() argument 290 OH_AudioCodec_Stop(struct OH_AVCodec *codec) OH_AudioCodec_Stop() argument 314 OH_AudioCodec_Flush(struct OH_AVCodec *codec) OH_AudioCodec_Flush() argument 340 OH_AudioCodec_Reset(struct OH_AVCodec *codec) OH_AudioCodec_Reset() argument 363 OH_AudioCodec_PushInputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_AudioCodec_PushInputBuffer() argument 378 OH_AudioCodec_GetOutputDescription(struct OH_AVCodec *codec) OH_AudioCodec_GetOutputDescription() argument 397 OH_AudioCodec_FreeOutputBuffer(struct OH_AVCodec *codec, uint32_t index) OH_AudioCodec_FreeOutputBuffer() argument 413 OH_AudioCodec_SetParameter(struct OH_AVCodec *codec, const OH_AVFormat *format) OH_AudioCodec_SetParameter() argument 431 OH_AudioCodec_RegisterCallback(OH_AVCodec *codec, OH_AVCodecCallback callback, void *userData) OH_AudioCodec_RegisterCallback() argument 457 OH_AudioCodec_IsValid(OH_AVCodec *codec, bool *isValid) OH_AudioCodec_IsValid() argument 467 OH_AudioCodec_SetDecryptionConfig(OH_AVCodec *codec, MediaKeySession *mediaKeySession, bool secureAudio) OH_AudioCodec_SetDecryptionConfig() argument 498 OH_AudioCodec_SetDecryptionConfig(OH_AVCodec *codec, MediaKeySession *mediaKeySession, bool secureAudio) OH_AudioCodec_SetDecryptionConfig() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-codec.c | 26 MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing"); 28 /* load the legacy HDA codec driver */ 29 static int request_codec_module(struct hda_codec *codec) in request_codec_module() argument 35 switch (codec->probe_id) { in request_codec_module() 38 mod = "snd-hda-codec-generic"; in request_codec_module() 42 snd_hdac_codec_modalias(&codec->core, alias, sizeof(alias)); in request_codec_module() 48 dev_dbg(&codec->core.dev, "loading codec module: %s\n", mod); in request_codec_module() 52 return device_attach(hda_codec_dev(codec)); in request_codec_module() 55 static int hda_codec_load_module(struct hda_codec *codec) in hda_codec_load_module() argument 80 struct hda_codec *codec; hda_codec_jack_wake_enable() local 101 struct hda_codec *codec; hda_codec_jack_check() local 126 struct hda_codec *codec; hda_codec_device_init() local 144 struct hda_codec *codec; hda_codec_probe() local [all...] |