/Linux-v4.19/sound/hda/ |
D | hdac_sysfs.c | 15 struct kobject *afg; member 44 CODEC_ATTR(afg); 190 if (nid == codec->afg || nid == codec->mfg) in has_pcm_cap() 222 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_IN_AMP)) in amp_in_caps_show() 231 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_OUT_AMP)) in amp_out_caps_show() 240 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_POWER)) in power_caps_show() 327 free_widget_node(tree->afg, &widget_afg_group); in widget_tree_free() 387 if (codec->afg) { in widget_tree_create() 388 err = add_widget_node(tree->root, codec->afg, in widget_tree_create() 389 &widget_afg_group, &tree->afg); in widget_tree_create()
|
D | hdac_device.c | 83 if (!codec->afg && !codec->mfg) { in snd_hdac_device_init() 89 fg = codec->afg ? codec->afg : codec->mfg; in snd_hdac_device_init() 374 codec->afg = nid; in setup_fg_nodes() 399 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets() 402 codec->afg); in snd_hdac_refresh_widgets() 792 if (nid != codec->afg && in query_pcm_param() 796 val = snd_hdac_read_parm(codec, codec->afg, AC_PAR_PCM); in query_pcm_param() 807 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
|
/Linux-v4.19/sound/pci/hda/ |
D | patch_sigmatel.c | 304 hda_nid_t fg = codec->core.afg; in stac_gpio_set() 375 if (nid == codec->core.afg && power_state == AC_PWRST_D3) in stac_vref_led_power_filter() 420 !(snd_hda_codec_read(codec, codec->core.afg, 0, in stac_update_outputs() 464 snd_hda_codec_write(codec, codec->core.afg, 0, in stac_toggle_power_map() 496 snd_hda_codec_write(codec, codec->core.afg, 0, in jack_update_power() 506 data = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_vref_event() 509 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0, in stac_vref_event() 611 dac_mode = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_aloopback_put() 623 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in stac_aloopback_put() 723 gpio = snd_hda_param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); in set_hp_led_gpio() [all …]
|
D | hda_sysfs.c | 73 CODEC_INFO_SHOW(afg, core.afg); 505 static DEVICE_ATTR_RO(afg);
|
D | hda_proc.c | 656 param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); in print_gpio() 736 if (codec->afg) in print_codec_core_info() 760 fg = codec->core.afg; in print_codec_info()
|
D | hda_codec.c | 964 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_device_new() 1015 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets() 1213 nid = codec->core.afg; in query_amp_caps() 2755 if (nid == codec->core.afg || nid == codec->core.mfg) in snd_hda_codec_eapd_power_filter() 2775 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
|
D | patch_conexant.c | 192 snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3); in cx_auto_reboot_notify() 193 snd_hda_codec_write(codec, codec->core.afg, 0, in cx_auto_reboot_notify()
|
D | patch_realtek.c | 249 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio() 251 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio() 824 snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3); in alc_d3_at_reboot() 825 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_d3_at_reboot() 3912 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in alc280_fixup_hp_gpio2_mic_hotkey() 3914 snd_hda_jack_detect_enable_callback(codec, codec->core.afg, in alc280_fixup_hp_gpio2_mic_hotkey() 7638 if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data) in gpio_led_power_filter()
|
D | patch_via.c | 371 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
|
D | patch_ca0132.c | 3219 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_mic_set() 3239 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_out_set() 3254 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set() 3261 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set() 3268 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
|
D | hda_generic.c | 644 if (nid == codec->core.afg) in is_active_nid() 840 if (nid == codec->core.afg) in path_power_update() 4931 if (power_state != AC_PWRST_D0 || nid == codec->core.afg) in snd_hda_gen_path_power_filter()
|
D | patch_hdmi.c | 1803 nodes = snd_hda_get_sub_nodes(codec, codec->core.afg, &nid); in hdmi_parse_codec()
|
/Linux-v4.19/sound/soc/codecs/ |
D | hdac_hdmi.c | 1464 num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid); in hdac_hdmi_parse_and_map_nid() 1864 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdmi_codec_prepare() 1876 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdmi_codec_complete() 2185 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdac_hdmi_runtime_suspend() 2235 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdac_hdmi_runtime_resume()
|
/Linux-v4.19/include/sound/ |
D | hdaudio.h | 55 hda_nid_t afg; /* AFG node id */ member
|
/Linux-v4.19/Documentation/sound/hd-audio/ |
D | notes.rst | 374 afg
|