Home
last modified time | relevance | path

Searched refs:afg (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/sound/hda/
Dhdac_sysfs.c14 struct kobject *afg; member
43 CODEC_ATTR(afg);
181 if (nid == codec->afg || nid == codec->mfg) in has_pcm_cap()
213 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_IN_AMP)) in amp_in_caps_show()
222 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_OUT_AMP)) in amp_out_caps_show()
231 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_POWER)) in power_caps_show()
318 free_widget_node(tree->afg, &widget_afg_group); in widget_tree_free()
379 if (codec->afg) { in widget_tree_create()
380 err = add_widget_node(tree->root, codec->afg, in widget_tree_create()
381 &widget_afg_group, &tree->afg); in widget_tree_create()
Dhdac_device.c81 if (!codec->afg && !codec->mfg) { in snd_hdac_device_init()
87 fg = codec->afg ? codec->afg : codec->mfg; in snd_hdac_device_init()
336 codec->afg = nid; in setup_fg_nodes()
360 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets()
363 codec->afg); in snd_hdac_refresh_widgets()
/linux-4.1.27/sound/pci/hda/
Dhda_bind.c32 if (preset->afg && preset->afg != codec->core.afg) in hda_codec_match()
263 if (codec->core.afg || !*codec->card->mixername) in snd_hda_codec_configure()
Dpatch_sigmatel.c303 hda_nid_t fg = codec->core.afg; in stac_gpio_set()
392 if (nid == codec->core.afg && power_state == AC_PWRST_D3) in stac_vref_led_power_filter()
437 !(snd_hda_codec_read(codec, codec->core.afg, 0, in stac_update_outputs()
481 snd_hda_codec_write(codec, codec->core.afg, 0, in stac_toggle_power_map()
513 snd_hda_codec_write(codec, codec->core.afg, 0, in jack_update_power()
523 data = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_vref_event()
526 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0, in stac_vref_event()
628 dac_mode = snd_hda_codec_read(codec, codec->core.afg, 0, in stac_aloopback_put()
640 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in stac_aloopback_put()
740 gpio = snd_hda_param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); in set_hp_led_gpio()
[all …]
Dhda_sysfs.c73 CODEC_INFO_SHOW(afg, core.afg);
505 static DEVICE_ATTR_RO(afg);
Dhda_proc.c601 param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); in print_gpio()
681 if (codec->afg) in print_codec_core_info()
705 fg = codec->core.afg; in print_codec_info()
Dhda_codec.c1072 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_new()
1125 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets()
1325 nid = codec->core.afg; in query_amp_caps()
3051 if (nid == codec->core.afg || nid == codec->core.mfg) in snd_hda_codec_eapd_power_filter()
3071 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
3425 if (nid != codec->core.afg && in query_pcm_param()
3429 val = snd_hda_param_read(codec, codec->core.afg, AC_PAR_PCM); in query_pcm_param()
3439 streams = snd_hda_param_read(codec, codec->core.afg, AC_PAR_STREAM); in query_stream_param()
Dpatch_realtek.c790 snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3); in alc_d3_at_reboot()
791 snd_hda_codec_write(codec, codec->core.afg, 0, in alc_d3_at_reboot()
1810 gpiostate = snd_hda_codec_read(codec, codec->core.afg, 0, in alc882_gpio_mute()
1818 gpiomask = snd_hda_codec_read(codec, codec->core.afg, 0, in alc882_gpio_mute()
1822 gpiodir = snd_hda_codec_read(codec, codec->core.afg, 0, in alc882_gpio_mute()
1827 snd_hda_codec_write(codec, codec->core.afg, 0, in alc882_gpio_mute()
1829 snd_hda_codec_write(codec, codec->core.afg, 0, in alc882_gpio_mute()
1834 snd_hda_codec_write(codec, codec->core.afg, 0, in alc882_gpio_mute()
3101 snd_hda_codec_write(codec, codec->core.afg, 0, AC_VERB_SET_GPIO_DATA, in alc269_resume()
3524 snd_hda_codec_write_cache(codec, codec->core.afg, 0, in alc280_fixup_hp_gpio2_mic_hotkey()
[all …]
Dpatch_conexant.c219 snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3); in cx_auto_reboot_notify()
220 snd_hda_codec_write(codec, codec->core.afg, 0, in cx_auto_reboot_notify()
Dhda_codec.h115 hda_nid_t afg, mfg; member
Dpatch_via.c395 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
Dhda_generic.c657 if (nid == codec->core.afg) in is_active_nid()
852 if (nid == codec->core.afg) in path_power_update()
4763 if (power_state != AC_PWRST_D0 || nid == codec->core.afg) in snd_hda_gen_path_power_filter()
Dpatch_hdmi.c1735 nodes = snd_hda_get_sub_nodes(codec, codec->core.afg, &nid); in hdmi_parse_codec()
/linux-4.1.27/include/sound/
Dhdaudio.h45 hda_nid_t afg; /* AFG node id */ member
/linux-4.1.27/Documentation/sound/alsa/
DHD-Audio.txt369 afg::