/openbmc/linux/sound/pci/hda/ |
H A 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() 173 snd_hda_codec_write(codec, 0x1c, 0, 0x320, 0x010); in cx_fixup_headset_recog() 177 snd_hda_codec_write(codec, 0x1c, 0, 0x3b0, 0xe10); in cx_fixup_headset_recog() 182 snd_hda_codec_write(codec, 0x19, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24); in cx_fixup_headset_recog() 185 snd_hda_codec_write(codec, 0x19, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x20); in cx_fixup_headset_recog() 237 snd_hda_codec_write(codec, 0x19, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24); in cx_process_headset_plugin() [all …]
|
H A 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() 1076 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_MASK, in cs421x_init() 1078 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DIRECTION, in cs421x_init() 1080 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in cs421x_init() [all …]
|
H A D | patch_ca0132.c | 1788 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_flag() 1803 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param() 1808 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param() 1811 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param() 1829 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param_no_mutex() 1833 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param_no_mutex() 1836 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_set_control_param_no_mutex() 1928 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, verb, addr); in chipio_8051_write_direct() 1945 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_8051_set_address() 1950 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, in chipio_8051_set_address() [all …]
|
H A D | patch_hdmi.c | 456 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_INDEX, val); in hdmi_set_dip_index() 462 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_DATA, val); in hdmi_write_dip_byte() 472 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_init_pin() 484 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_init_pin() 563 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_XMIT, in hdmi_start_infoframe_trans() 574 snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_XMIT, in hdmi_stop_infoframe_trans() 758 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_setup_audio_infoframe() 892 snd_hda_codec_write(codec, cvt_nid, 0, AC_VERB_SET_POWER_STATE, AC_PWRST_D0); in haswell_verify_D0() 895 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_POWER_STATE, in haswell_verify_D0() 938 snd_hda_codec_write(codec, pin_nid, 0, in hdmi_pin_hbr_setup() [all …]
|
H A 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() 444 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); in cs8409_spk_sw_gpio_put() 884 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); in cs42l42_resume() 951 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); in cs42l42_suspend() 1043 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_MASK, in cs8409_cs42l42_hw_init() 1045 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DIRECTION, in cs8409_cs42l42_hw_init() [all …]
|
H A D | hda_eld.c | 669 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() 673 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() 677 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_MANUFACTURER_ID); in snd_hdmi_get_eld_ati() 681 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_SINK_INFO_INDEX, ATI_INFO_IDX_PRODUCT_ID); in snd_hdmi_get_eld_ati() 685 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() 697 …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() 706 snd_hda_codec_write(codec, nid, 0, ATI_VERB_SET_AUDIO_DESCRIPTOR, i << 3); in snd_hdmi_get_eld_ati()
|
H A D | patch_realtek.c | 164 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in __alc_read_coefex_idx() 186 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in __alc_write_coefex_idx() 187 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PROC_COEF, coef_val); in __alc_write_coefex_idx() 280 snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, in alc_write_gpio_data() 305 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio() 307 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio() 543 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_EAPD_BTLENABLE, in set_eapd() 3417 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init() 3423 snd_hda_codec_write(codec, hp_pin, 0, in alc282_init() 3452 snd_hda_codec_write(codec, hp_pin, 0, in alc282_shutup() [all …]
|
H A 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()
|
H A 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() 909 snd_hda_codec_write(codec, 0x26, 0, in vt1716s_dmic_put()
|
H A 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() 1099 snd_hda_codec_write(codec, nid, 0, in update_pcm_stream_id() 1118 snd_hda_codec_write(codec, nid, 0, in update_pcm_format() 1216 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CHANNEL_STREAMID, 0); in really_cleanup_stream() 1218 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_STREAM_FORMAT, 0 in really_cleanup_stream() 2751 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_POWER_STATE, in snd_hda_codec_set_power_to_all() 2847 snd_hda_codec_write(codec, nid, 0, in sync_power_up_states() 4006 return snd_hda_codec_write(codec, pin, 0, in _snd_hda_set_pin_ctl()
|
H A D | patch_sigmatel.c | 272 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 277 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 310 snd_hda_codec_write(codec, fg, 0, 0x7e7, 0); in stac_gpio_set() 312 snd_hda_codec_write(codec, fg, 0, in stac_gpio_set() 459 snd_hda_codec_write(codec, codec->core.afg, 0, in stac_toggle_power_map() 491 snd_hda_codec_write(codec, codec->core.afg, 0, in jack_update_power() 504 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0, in stac_vref_event() 4378 snd_hda_codec_write(codec, codec->core.afg, 0, in stac_init() 4387 snd_hda_codec_write(codec, spec->gen.all_adcs[i], 0, in stac_init()
|
H A D | hda_beep.c | 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone()
|
H A 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()
|
H A 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()
|
H A D | hda_generic.c | 843 snd_hda_codec_write(codec, nid, 0, in path_power_update() 4972 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE, in force_mute_output_path()
|
/openbmc/linux/include/sound/ |
H A D | hda_codec.h | 333 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() function
|