| /sound/hda/codecs/realtek/ |
| A D | realtek.c | 14 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock() 153 void alc_write_gpio(struct hda_codec *codec) in alc_write_gpio() 177 void alc_fixup_gpio1(struct hda_codec *codec, in alc_fixup_gpio1() 184 void alc_fixup_gpio2(struct hda_codec *codec, in alc_fixup_gpio2() 191 void alc_fixup_gpio3(struct hda_codec *codec, in alc_fixup_gpio3() 198 void alc_fixup_gpio4(struct hda_codec *codec, in alc_fixup_gpio4() 218 void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll() 806 int alc_init(struct hda_codec *codec) in alc_init() 829 void alc_shutup(struct hda_codec *codec) in alc_shutup() 849 int alc_suspend(struct hda_codec *codec) in alc_suspend() [all …]
|
| A D | alc269.c | 214 static void alc269_shutup(struct hda_codec *codec) in alc269_shutup() 265 static void alc282_init(struct hda_codec *codec) in alc282_init() 302 static void alc282_shutup(struct hda_codec *codec) in alc282_shutup() 381 static void alc283_init(struct hda_codec *codec) in alc283_init() 454 static void alc256_init(struct hda_codec *codec) in alc256_init() 601 static void alc225_init(struct hda_codec *codec) in alc225_init() 706 static void alc222_init(struct hda_codec *codec) in alc222_init() 869 static void alc294_init(struct hda_codec *codec) in alc294_init() 1426 struct hda_codec *codec, in alc274_hp_envy_pcm_hook() 1777 struct hda_codec *codec, in alc298_samsung_v2_playback_hook() [all …]
|
| A D | alc882.c | 66 static void alc889_fixup_coef(struct hda_codec *codec, in alc889_fixup_coef() 75 static void alc885_fixup_macpro_gpio(struct hda_codec *codec, in alc885_fixup_macpro_gpio() 88 static void alc889_fixup_dac_route(struct hda_codec *codec, in alc889_fixup_dac_route() 110 static void alc889_fixup_mbp_vref(struct hda_codec *codec, in alc889_fixup_mbp_vref() 131 static void alc889_fixup_mac_pins(struct hda_codec *codec, in alc889_fixup_mac_pins() 147 static void alc889_fixup_imac91_vref(struct hda_codec *codec, in alc889_fixup_imac91_vref() 157 static void alc889_fixup_mba11_vref(struct hda_codec *codec, in alc889_fixup_mba11_vref() 167 static void alc889_fixup_mba21_vref(struct hda_codec *codec, in alc889_fixup_mba21_vref() 190 static void alc1220_fixup_gb_x570(struct hda_codec *codec, in alc1220_fixup_gb_x570() 214 static void alc1220_fixup_clevo_p950(struct hda_codec *codec, in alc1220_fixup_clevo_p950() [all …]
|
| /sound/hda/common/ |
| A D | codec.c | 29 #define codec_has_epss(codec) \ argument 31 #define codec_has_clkstop(codec) \ argument 630 struct hda_codec *codec = in hda_jackpoll_work() local 884 struct hda_codec *codec; in snd_hda_codec_device_init() local 944 struct hda_codec *codec; in snd_hda_codec_new() local 1743 struct hda_codec *codec; in snd_hda_lock_devices() local 1867 struct hda_codec *codec; member 3101 struct hda_codec *codec, in hda_pcm_default_open_close() 3108 struct hda_codec *codec, in hda_pcm_default_prepare() 3118 struct hda_codec *codec, in hda_pcm_default_cleanup() [all …]
|
| A D | bind.c | 89 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local 154 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local 205 static inline bool codec_probed(struct hda_codec *codec) in codec_probed() 211 static void request_codec_module(struct hda_codec *codec) in request_codec_module() 240 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module() 251 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec() 277 #define is_likely_hdmi_codec(codec) false argument 280 static int codec_bind_generic(struct hda_codec *codec) in codec_bind_generic() 300 #define is_generic_config(codec) \ argument 303 #define is_generic_config(codec) 0 argument [all …]
|
| A D | jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 92 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, in snd_hda_jack_tbl_get_from_tag() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 161 void snd_hda_jack_tbl_disconnect(struct hda_codec *codec) in snd_hda_jack_tbl_disconnect() 172 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear() 195 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update() 233 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all() 274 int snd_hda_jack_detect_state_mst(struct hda_codec *codec, in snd_hda_jack_detect_state_mst() 469 void snd_hda_jack_report_sync(struct hda_codec *codec) in snd_hda_jack_report_sync() 627 int snd_hda_jack_add_kctls(struct hda_codec *codec, in snd_hda_jack_add_kctls() [all …]
|
| A D | proc.c | 22 #define param_read(codec, nid, parm) \ argument 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() 451 struct hda_codec *codec, hda_nid_t nid, in print_audio_io() 574 struct hda_codec *codec, hda_nid_t nid) in print_proc_caps() [all …]
|
| A D | sysfs.c | 33 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local 42 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local 97 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() local 105 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() local 115 static int clear_codec(struct hda_codec *codec) in clear_codec() 128 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec() 218 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_show() local 256 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local 267 struct hda_codec *codec = dev_get_drvdata(dev); in hints_show() local 539 struct hda_codec *codec; in parse_codec_mode() local [all …]
|
| /sound/hda/codecs/ |
| A D | generic.c | 5306 struct hda_codec *codec, in call_pcm_playback_hook() 5316 struct hda_codec *codec, in call_pcm_capture_hook() 5349 struct hda_codec *codec, in playback_pcm_prepare() 5366 struct hda_codec *codec, in playback_pcm_cleanup() 5393 struct hda_codec *codec, in capture_pcm_open() 5431 struct hda_codec *codec, in alt_playback_pcm_open() 5449 struct hda_codec *codec, in alt_playback_pcm_close() 5487 struct hda_codec *codec, in dig_playback_pcm_open() 5514 struct hda_codec *codec, in dig_playback_pcm_close() 5528 struct hda_codec *codec, in alt_capture_pcm_prepare() [all …]
|
| A D | via.c | 180 #define hp_detect_with_aa(codec) \ argument 288 #define auto_parse_beep(codec) 0 argument 368 struct hda_codec *codec, in via_playback_pcm_hook() 376 static void via_remove(struct hda_codec *codec) in via_remove() 382 static int via_suspend(struct hda_codec *codec) in via_suspend() 394 static int via_resume(struct hda_codec *codec) in via_resume() 518 static int via_init(struct hda_codec *codec) in via_init() 571 static int probe_vt1708(struct hda_codec *codec) in probe_vt1708() 611 static int probe_vt1709(struct hda_codec *codec) in probe_vt1709() 688 static int probe_vt1702(struct hda_codec *codec) in probe_vt1702() [all …]
|
| A D | conexant.c | 74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() 85 #define cx_auto_parse_beep(codec) 0 argument 93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() 133 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() local 152 static void cxt_init_gpio_led(struct hda_codec *codec) in cxt_init_gpio_led() 188 static int cx_init(struct hda_codec *codec) in cx_init() 204 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown() 213 static void cx_remove(struct hda_codec *codec) in cx_remove() 261 static int cx_suspend(struct hda_codec *codec) in cx_suspend() 419 #define update_mic_pin(codec, nid, val) \ argument [all …]
|
| A D | analog.c | 59 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 81 #define create_beep_ctls(codec) 0 argument 123 static int ad_codec_suspend(struct hda_codec *codec) in ad_codec_suspend() 133 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local 190 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec() 375 static int ad1986a_probe(struct hda_codec *codec) in ad1986a_probe() 500 static int ad1983_probe(struct hda_codec *codec) in ad1983_probe() 581 static int ad1981_probe(struct hda_codec *codec) in ad1981_probe() 864 static int ad1988_probe(struct hda_codec *codec) in ad1988_probe() 933 struct hda_codec *codec = private_data; in ad1884_vmaster_hp_gpio_hook() local [all …]
|
| A D | ca0132.c | 1135 struct hda_codec *codec; member 3018 struct hda_codec *codec; member 3900 struct hda_codec *codec, in ca0132_playback_pcm_prepare() 3913 struct hda_codec *codec, in ca0132_playback_pcm_cleanup() 3932 struct hda_codec *codec, in ca0132_playback_pcm_delay() 3960 struct hda_codec *codec, in ca0132_dig_playback_pcm_open() 3968 struct hda_codec *codec, in ca0132_dig_playback_pcm_prepare() 3979 struct hda_codec *codec, in ca0132_dig_playback_pcm_cleanup() 3998 struct hda_codec *codec, in ca0132_capture_pcm_prepare() 4010 struct hda_codec *codec, in ca0132_capture_pcm_cleanup() [all …]
|
| A D | sigmatel.c | 242 struct hda_codec *codec, in stac_playback_pcm_hook() 252 struct hda_codec *codec, in stac_capture_pcm_hook() 338 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set() 496 static void stac_vref_event(struct hda_codec *codec, in stac_vref_event() 4356 static int stac_init(struct hda_codec *codec) in stac_init() 4396 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook() 4405 struct hda_codec *codec, in analog_loop_proc_hook() 4414 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook() 4422 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook() 4429 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook() [all …]
|
| A D | senarytech.c | 63 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep() 75 #define senary_auto_parse_beep(codec) 0 argument 79 static void senary_auto_parse_eapd(struct hda_codec *codec) in senary_auto_parse_eapd() 95 static void senary_auto_turn_eapd(struct hda_codec *codec, int num_pins, in senary_auto_turn_eapd() 111 struct hda_codec *codec = private_data; in senary_auto_vmaster_hook() local 117 static void senary_init_gpio_led(struct hda_codec *codec) in senary_init_gpio_led() 132 static int senary_init(struct hda_codec *codec) in senary_init() 141 static void senary_shutdown(struct hda_codec *codec) in senary_shutdown() 151 static void senary_remove(struct hda_codec *codec) in senary_remove() 157 static int senary_suspend(struct hda_codec *codec) in senary_suspend() [all …]
|
| /sound/hda/core/ |
| A D | regmap.c | 25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() 30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() 40 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local 67 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local 116 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local 242 struct hdac_device *codec = context; in hda_reg_read() local 281 struct hdac_device *codec = context; in hda_reg_write() local 374 int snd_hdac_regmap_init(struct hdac_device *codec) in snd_hdac_regmap_init() 391 void snd_hdac_regmap_exit(struct hdac_device *codec) in snd_hdac_regmap_exit() 440 #define CALL_RAW_FUNC(codec, func_call) \ argument [all …]
|
| A D | device.c | 128 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit() 143 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register() 166 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister() 276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 375 static void setup_fg_nodes(struct hdac_device *codec) in setup_fg_nodes() 405 int snd_hdac_refresh_widgets(struct hdac_device *codec) in snd_hdac_refresh_widgets() 568 int snd_hdac_power_up(struct hdac_device *codec) in snd_hdac_power_up() 580 int snd_hdac_power_down(struct hdac_device *codec) in snd_hdac_power_down() 599 int snd_hdac_power_up_pm(struct hdac_device *codec) in snd_hdac_power_up_pm() 611 int snd_hdac_keep_power_up(struct hdac_device *codec) in snd_hdac_keep_power_up() [all …]
|
| A D | sysfs.c | 114 struct hdac_device *codec; in widget_attr_show() local 130 struct hdac_device *codec; in widget_attr_store() local 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 320 static void widget_tree_free(struct hdac_device *codec) in widget_tree_free() 363 static int widget_tree_create(struct hdac_device *codec) in widget_tree_create() 401 int hda_widget_sysfs_init(struct hdac_device *codec) in hda_widget_sysfs_init() 418 void hda_widget_sysfs_exit(struct hdac_device *codec) in hda_widget_sysfs_exit() [all …]
|
| /sound/hda/codecs/hdmi/ |
| A D | intelhdmi.c | 103 static int intel_base_nid(struct hda_codec *codec) in intel_base_nid() 117 struct hda_codec *codec = audio_ptr; in intel_pin2port() local 159 struct hda_codec *codec = audio_ptr; in intel_pin_eld_notify() local 268 static void haswell_verify_D0(struct hda_codec *codec, in haswell_verify_D0() 456 static void i915_pin_cvt_fixup(struct hda_codec *codec, in i915_pin_cvt_fixup() 472 static int i915_hdmi_suspend(struct hda_codec *codec) in i915_hdmi_suspend() 513 static int i915_hdmi_resume(struct hda_codec *codec) in i915_hdmi_resume() 557 static int alloc_intel_hdmi(struct hda_codec *codec) in alloc_intel_hdmi() 571 static int parse_intel_hdmi(struct hda_codec *codec) in parse_intel_hdmi() 624 static int probe_i915_hsw_hdmi(struct hda_codec *codec) in probe_i915_hsw_hdmi() [all …]
|
| A D | hdmi.c | 317 struct hda_codec *codec = per_pin->codec; in eld_proc_new() local 846 struct hda_codec *codec, in hdmi_pcm_open_no_pin() 894 struct hda_codec *codec, in hdmi_pcm_open() 1085 struct hda_codec *codec = per_pin->codec; in hdmi_pcm_setup_pin() local 1258 struct hda_codec *codec = per_pin->codec; in hdmi_present_sense_via_verbs() local 1437 struct hda_codec *codec = per_pin->codec; in hdmi_present_sense() local 1449 struct hda_codec *codec = per_pin->codec; in hdmi_repoll_eld() local 1678 struct hda_codec *codec, in snd_hda_hdmi_generic_pcm_prepare() 1757 struct hda_codec *codec, in snd_hda_hdmi_generic_pcm_cleanup() 1766 struct hda_codec *codec, in hdmi_pcm_close() [all …]
|
| A D | simplehdmi.c | 11 int snd_hda_hdmi_simple_build_pcms(struct hda_codec *codec) in snd_hda_hdmi_simple_build_pcms() 39 void snd_hda_hdmi_simple_unsol_event(struct hda_codec *codec, in snd_hda_hdmi_simple_unsol_event() 54 static int simple_hdmi_build_jack(struct hda_codec *codec) in simple_hdmi_build_jack() 77 int snd_hda_hdmi_simple_build_controls(struct hda_codec *codec) in snd_hda_hdmi_simple_build_controls() 93 int snd_hda_hdmi_simple_init(struct hda_codec *codec) in snd_hda_hdmi_simple_init() 110 void snd_hda_hdmi_simple_remove(struct hda_codec *codec) in snd_hda_hdmi_simple_remove() 121 struct hda_codec *codec, in snd_hda_hdmi_simple_pcm_open() 140 struct hda_codec *codec, in simple_playback_pcm_close() 149 struct hda_codec *codec, in simple_playback_pcm_prepare() 171 int snd_hda_hdmi_simple_probe(struct hda_codec *codec, in snd_hda_hdmi_simple_probe() [all …]
|
| /sound/hda/codecs/cirrus/ |
| A D | cs8409.c | 178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page() local 199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read() local 242 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_read() local 287 struct hda_codec *codec = scodec->codec; in cs8409_i2c_write() local 328 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_write() local 366 static int cs8409_init(struct hda_codec *codec) in cs8409_init() 582 struct hda_codec *codec, in cs42l42_playback_pcm_hook() 611 struct hda_codec *codec, in cs42l42_capture_pcm_hook() 876 struct hda_codec *codec = cs42l42->codec; in cs42l42_resume() local 920 struct hda_codec *codec = cs42l42->codec; in cs42l42_suspend() local [all …]
|
| A D | cs420x.c | 121 static void cs_automute(struct hda_codec *codec) in cs_automute() 147 static void init_input_coef(struct hda_codec *codec) in init_input_coef() 239 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef() 253 static int cs_init(struct hda_codec *codec) in cs_init() 284 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls() 295 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config() 538 static int cs420x_probe(struct hda_codec *codec) in cs420x_probe() 592 static void cs4208_fixup_gpio0(struct hda_codec *codec, in cs4208_fixup_gpio0() 608 static void cs4208_fixup_mac(struct hda_codec *codec, in cs4208_fixup_mac() 709 static int cs4208_probe(struct hda_codec *codec) in cs4208_probe() [all …]
|
| A D | cs421x.c | 132 static void cs_automute(struct hda_codec *codec) in cs_automute() 153 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 221 static void cs421x_fixup_sense_b(struct hda_codec *codec, in cs421x_fixup_sense_b() 321 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cs421x_boost_vol_get() local 331 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cs421x_boost_vol_put() local 360 static void cs4210_pinmux_init(struct hda_codec *codec) in cs4210_pinmux_init() 393 static void cs4210_spdif_automute(struct hda_codec *codec, in cs4210_spdif_automute() 416 static void parse_cs421x_digital(struct hda_codec *codec) in parse_cs421x_digital() 433 static int cs421x_init(struct hda_codec *codec) in cs421x_init() 471 static int cs421x_parse_auto_config(struct hda_codec *codec) in cs421x_parse_auto_config() [all …]
|
| /sound/pci/ali5451/ |
| A D | ali5451.c | 141 #define ALI_REG(codec, x) ((codec)->port + x) argument 180 struct snd_ali *codec; member 391 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_write() local 407 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_read() local 880 struct snd_ali *codec = dev_id; in snd_ali_card_interrupt() local 1615 struct snd_ali *codec = pcm->private_data; in snd_ali_pcm_free() local 1784 static int snd_ali_mixer(struct snd_ali *codec) in snd_ali_mixer() 1904 struct snd_ali *codec = card->private_data; in snd_ali_free() local 1976 struct snd_ali *codec = entry->private_data; in snd_ali_proc_read() local 2014 struct snd_ali *codec = card->private_data; in snd_ali_create() local [all …]
|