Home
last modified time | relevance | path

Searched refs:afg (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_sysfs.c15 struct kobject *afg; member
44 CODEC_ATTR(afg); variable
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()
389 if (codec->afg) { in widget_tree_create()
390 err = add_widget_node(tree->root, codec->afg, in widget_tree_create()
391 &widget_afg_group, &tree->afg); in widget_tree_create()
[all...]
H A Dhdac_device.c86 if (!codec->afg && !codec->mfg) { in snd_hdac_device_init()
92 fg = codec->afg ? codec->afg : codec->mfg; in snd_hdac_device_init()
385 codec->afg = nid; in setup_fg_nodes()
414 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets()
417 codec->afg); in snd_hdac_refresh_widgets()
793 if (nid != codec->afg && in query_pcm_param()
797 val = snd_hdac_read_parm(codec, codec->afg, AC_PAR_PCM); in query_pcm_param()
808 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_sysfs.c15 struct kobject *afg; member
44 CODEC_ATTR(afg); variable
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()
389 if (codec->afg) { in widget_tree_create()
390 err = add_widget_node(tree->root, codec->afg, in widget_tree_create()
391 &widget_afg_group, &tree->afg); in widget_tree_create()
[all...]
H A Dhdac_device.c86 if (!codec->afg && !codec->mfg) { in snd_hdac_device_init()
92 fg = codec->afg ? codec->afg : codec->mfg; in snd_hdac_device_init()
385 codec->afg = nid; in setup_fg_nodes()
414 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets()
417 codec->afg); in snd_hdac_refresh_widgets()
793 if (nid != codec->afg && in query_pcm_param()
797 val = snd_hdac_read_parm(codec, codec->afg, AC_PAR_PCM); in query_pcm_param()
808 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_sigmatel.c293 hda_nid_t fg = codec->core.afg; in stac_gpio_set()
367 if (nid == codec->core.afg && power_state == AC_PWRST_D3) in stac_vref_led_power_filter()
415 !(snd_hda_codec_read(codec, codec->core.afg, 0, in stac_update_outputs()
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()
501 data = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_vref_event()
504 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0, in stac_vref_event()
606 dac_mode = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_aloopback_put()
618 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in stac_aloopback_put()
718 gpio = snd_hda_param_read(codec, codec->core.afg, AC_PAR_GPIO_CA in set_hp_led_gpio()
[all...]
H A Dhda_sysfs.c74 CODEC_INFO_SHOW(afg, core.afg);
506 static DEVICE_ATTR_RO(afg);
H A Dhda_proc.c642 param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); in print_gpio()
722 if (codec->afg) in print_codec_core_info()
746 fg = codec->core.afg; in print_codec_info()
H A Dhda_codec.c979 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_device_new()
1034 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets()
1232 nid = codec->core.afg; in query_amp_caps()
2780 if (nid == codec->core.afg || nid == codec->core.mfg) in snd_hda_codec_eapd_power_filter()
2800 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
H A Dpatch_ca0132.c3732 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_mic_set()
3747 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
3754 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
3761 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
4558 gpio_data = snd_hda_codec_read(codec, codec->core.afg, 0, in ca0132_alt_select_out_quirk_set()
4566 snd_hda_codec_write(codec, codec->core.afg, 0, in ca0132_alt_select_out_quirk_set()
8579 /*set afg to D3*/
H A Dpatch_via.c359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
H A Dhda_generic.c638 if (nid == codec->core.afg) in is_active_nid()
834 if (nid == codec->core.afg) in path_power_update()
5026 if (power_state != AC_PWRST_D0 || nid == codec->core.afg) in snd_hda_gen_path_power_filter()
6143 snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3); in snd_hda_gen_reboot_notify()
6144 snd_hda_codec_write(codec, codec->core.afg, 0, in snd_hda_gen_reboot_notify()
H A Dpatch_realtek.c301 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio()
303 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_write_gpio()
4792 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in alc280_fixup_hp_gpio2_mic_hotkey()
4794 snd_hda_jack_detect_enable_callback(codec, codec->core.afg, in alc280_fixup_hp_gpio2_mic_hotkey()
10527 if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data) in gpio_led_power_filter()
H A Dpatch_hdmi.c1986 nodes = snd_hda_get_sub_nodes(codec, codec->core.afg, &start_nid); in hdmi_parse_codec()
1988 codec_warn(codec, "HDMI: failed to get afg sub nodes\n"); in hdmi_parse_codec()
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dpatch_sigmatel.c293 hda_nid_t fg = codec->core.afg; in stac_gpio_set()
367 if (nid == codec->core.afg && power_state == AC_PWRST_D3) in stac_vref_led_power_filter()
415 !(snd_hda_codec_read(codec, codec->core.afg, 0, in stac_update_outputs()
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()
501 data = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_vref_event()
504 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0, in stac_vref_event()
606 dac_mode = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_aloopback_put()
618 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in stac_aloopback_put()
718 gpio = snd_hda_param_read(codec, codec->core.afg, AC_PAR_GPIO_CA in set_hp_led_gpio()
[all...]
H A Dhda_sysfs.c74 CODEC_INFO_SHOW(afg, core.afg);
503 static DEVICE_ATTR_RO(afg);
H A Dhda_proc.c642 param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); in print_gpio()
758 if (codec->afg) in print_codec_core_info()
782 fg = codec->core.afg; in print_codec_info()
H A Dhda_codec.c1016 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_device_new()
1076 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets()
1274 nid = codec->core.afg; in query_amp_caps()
2768 if (nid == codec->core.afg || nid == codec->core.mfg) in snd_hda_codec_eapd_power_filter()
2788 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
H A Dpatch_ca0132.c3852 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_mic_set()
3867 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
3874 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
3881 snd_hda_codec_write(codec, codec->core.afg, 0, in r3di_gpio_dsp_status_set()
4678 gpio_data = snd_hda_codec_read(codec, codec->core.afg, 0, in ca0132_alt_select_out_quirk_set()
4686 snd_hda_codec_write(codec, codec->core.afg, 0, in ca0132_alt_select_out_quirk_set()
8714 /*set afg to D3*/
8795 snd_hda_codec_write(codec, codec->core.afg, 0, in ca0132_init_chip()
8797 snd_hda_codec_write(codec, codec->core.afg, 0, in ca0132_init_chip()
H A Dpatch_via.c359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
H A Dhda_generic.c638 if (nid == codec->core.afg) in is_active_nid()
834 if (nid == codec->core.afg) in path_power_update()
4915 if (power_state != AC_PWRST_D0 || nid == codec->core.afg) in snd_hda_gen_path_power_filter()
H A Dpatch_realtek.c305 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()
4868 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in alc280_fixup_hp_gpio2_mic_hotkey()
4870 snd_hda_jack_detect_enable_callback(codec, codec->core.afg, in alc280_fixup_hp_gpio2_mic_hotkey()
11514 if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data) in gpio_led_power_filter()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dhdac_hdmi.c1639 num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid); in hdac_hdmi_parse_and_map_nid()
1641 dev_warn(&hdev->dev, "HDMI: failed to get afg sub nodes\n"); in hdac_hdmi_parse_and_map_nid()
2244 * Power down afg. in hdac_hdmi_runtime_suspend()
2250 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdac_hdmi_runtime_suspend()
2293 /* Power up afg */ in hdac_hdmi_runtime_resume()
2294 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdac_hdmi_runtime_resume()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dhdac_hdmi.c1639 num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid); in hdac_hdmi_parse_and_map_nid()
1641 dev_warn(&hdev->dev, "HDMI: failed to get afg sub nodes\n"); in hdac_hdmi_parse_and_map_nid()
2243 * Power down afg. in hdac_hdmi_runtime_suspend()
2249 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdac_hdmi_runtime_suspend()
2292 /* Power up afg */ in hdac_hdmi_runtime_resume()
2293 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE, in hdac_hdmi_runtime_resume()
/kernel/linux/linux-5.10/include/sound/
H A Dhdaudio.h56 hda_nid_t afg; /* AFG node id */ member
/kernel/linux/linux-6.6/include/sound/
H A Dhdaudio.h59 hda_nid_t afg; /* AFG node id */ member

Completed in 114 milliseconds

12