/Linux-v5.15/sound/pci/hda/ |
D | patch_cirrus.c | 134 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_get() 145 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set() 147 snd_hda_codec_write(codec, spec->vendor_nid, 0, in cs_vendor_coef_set() 173 snd_hda_codec_write(codec, 0x01, 0, in cs_automute() 307 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_MASK, in cs_init() 309 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DIRECTION, in cs_init() 311 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in cs_init() 1075 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_MASK, in cs421x_init() 1077 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DIRECTION, in cs421x_init() 1079 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in cs421x_init() [all …]
|
D | patch_ca0132.c | 1774 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_flag() 1789 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param() 1794 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param() 1797 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param() 1815 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param_no_mutex() 1819 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param_no_mutex() 1822 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param_no_mutex() 1914 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, verb, addr); in chipio_8051_write_direct() 1931 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_8051_set_address() 1936 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_8051_set_address() [all …]
|
D | patch_hdmi.c | 445 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_INDEX, val); in hdmi_set_dip_index() 451 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_DATA, val); in hdmi_write_dip_byte() 461 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_init_pin() 473 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_init_pin() 551 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_XMIT, in hdmi_start_infoframe_trans() 562 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_XMIT, in hdmi_stop_infoframe_trans() 737 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_setup_audio_infoframe() 871 snd_hda_codec_write(codec, cvt_nid, 0, AC_VERB_SET_POWER_STATE, AC_PWRST_D0); in haswell_verify_D0() 874 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_POWER_STATE, in haswell_verify_D0() 917 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_pin_hbr_setup() [all …]
|
D | patch_cs8409.c | 74 snd_hda_codec_write(codec, CS8409_PIN_VENDOR_WIDGET, 0, AC_VERB_SET_COEF_INDEX, idx); in cs8409_vendor_coef_get() 81 snd_hda_codec_write(codec, CS8409_PIN_VENDOR_WIDGET, 0, AC_VERB_SET_COEF_INDEX, idx); in cs8409_vendor_coef_set() 82 snd_hda_codec_write(codec, CS8409_PIN_VENDOR_WIDGET, 0, AC_VERB_SET_PROC_COEF, coef); in cs8409_vendor_coef_set() 393 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK, in cs8409_enable_ur() 396 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_UNSOLICITED_ENABLE, in cs8409_enable_ur() 738 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, gpio_data); in cs42l42_resume() 793 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, gpio_data); in cs42l42_suspend() 885 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_MASK, in cs8409_cs42l42_hw_init() 887 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DIRECTION, in cs8409_cs42l42_hw_init() 889 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, in cs8409_cs42l42_hw_init() [all …]
|
D | hda_eld.c | 665 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_PORT_ID_LOW); in snd_hdmi_get_eld_ati() 669 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_PORT_ID_HIGH); in snd_hdmi_get_eld_ati() 673 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_MANUFACTURER_ID); in snd_hdmi_get_eld_ati() 677 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_PRODUCT_ID); in snd_hdmi_get_eld_ati() 681 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_SINK_DESC_LEN); in snd_hdmi_get_eld_ati() 693 …snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_SINK_DESC_FIRST + i); in snd_hdmi_get_eld_ati() 702 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_AUDIO_DESCRIPTOR, i << 3); in snd_hdmi_get_eld_ati()
|
D | patch_realtek.c | 140 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in alc_read_coefex_idx() 151 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in alc_write_coefex_idx() 152 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PROC_COEF, coef_val); in alc_write_coefex_idx() 226 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in alc_write_gpio_data() 251 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio() 253 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio() 484 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_EAPD_BTLENABLE, in set_eapd() 3291 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init() 3297 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init() 3326 snd_hda_codec_write(codec, hp_pin, 0, in alc282_shutup() [all …]
|
D | patch_si3054.c | 65 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) 215 snd_hda_codec_write(codec, AC_NODE_ROOT, 0, AC_VERB_SET_CODEC_RESET, 0); in si3054_init() 216 snd_hda_codec_write(codec, codec->core.mfg, 0, AC_VERB_SET_STREAM_FORMAT, 0); in si3054_init()
|
D | patch_conexant.c | 124 snd_hda_codec_write(codec, pins[i], 0, in cx_auto_turn_eapd() 146 snd_hda_codec_write(codec, spec->mute_led_eapd, 0, in cx_auto_vmaster_mute_led() 158 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_MASK, in cxt_init_gpio_led() 160 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DIRECTION, in cxt_init_gpio_led() 162 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in cxt_init_gpio_led() 368 snd_hda_codec_write(codec, 0x17, 0, in olpc_xo_update_mic_boost() 655 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in cxt_update_gpio_led()
|
D | patch_via.c | 190 snd_hda_codec_write(codec, 0x1, 0, 0xf81, 1); in vt1708_stop_hp_work() 205 snd_hda_codec_write(codec, 0x1, 0, 0xf81, 0); in vt1708_update_hp_work() 359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode() 908 snd_hda_codec_write(codec, 0x26, 0, in vt1716s_dmic_put()
|
D | hda_codec.c | 82 snd_hda_codec_write(codec, seq->nid, 0, seq->verb, seq->param); in snd_hda_sequence_write() 406 ret = snd_hda_codec_write(codec, nid, 0, in snd_hda_set_dev_select() 631 snd_hda_codec_write(codec, pin->nid, 0, in restore_shutup_pins() 1058 snd_hda_codec_write(codec, nid, 0, in update_pcm_stream_id() 1077 snd_hda_codec_write(codec, nid, 0, in update_pcm_format() 1175 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CHANNEL_STREAMID, 0); in really_cleanup_stream() 1177 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_STREAM_FORMAT, 0 in really_cleanup_stream() 2703 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_POWER_STATE, in snd_hda_codec_set_power_to_all() 2799 snd_hda_codec_write(codec, nid, 0, in sync_power_up_states() 3927 return snd_hda_codec_write(codec, pin, 0, in _snd_hda_set_pin_ctl()
|
D | patch_sigmatel.c | 271 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 276 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 309 snd_hda_codec_write(codec, fg, 0, 0x7e7, 0); in stac_gpio_set() 311 snd_hda_codec_write(codec, fg, 0, in stac_gpio_set() 458 snd_hda_codec_write(codec, codec->core.afg, 0, in stac_toggle_power_map() 490 snd_hda_codec_write(codec, codec->core.afg, 0, in jack_update_power() 503 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0, in stac_vref_event() 4365 snd_hda_codec_write(codec, codec->core.afg, 0, in stac_init() 4374 snd_hda_codec_write(codec, spec->gen.all_adcs[i], 0, in stac_init()
|
D | hda_beep.c | 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone()
|
D | patch_analog.c | 80 snd_hda_codec_write(codec, front, 0, AC_VERB_SET_EAPD_BTLENABLE, in ad198x_power_eapd_write() 83 snd_hda_codec_write(codec, hp, 0, AC_VERB_SET_EAPD_BTLENABLE, in ad198x_power_eapd_write()
|
D | hda_proc.c | 590 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, i); in print_proc_caps() 595 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, oldindex); in print_proc_caps()
|
D | hda_generic.c | 837 snd_hda_codec_write(codec, nid, 0, in path_power_update()
|
/Linux-v5.15/include/sound/ |
D | hda_codec.h | 326 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() function
|