Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 5 of 5) sorted by relevance

/sound/pci/hda/
Dhda_proc.c778 hda_nid_t nid, fg; in print_codec_info() local
782 fg = codec->core.afg; in print_codec_info()
783 if (!fg) in print_codec_info()
787 print_pcm_caps(buffer, codec, fg); in print_codec_info()
789 print_amp_caps(buffer, codec, fg, HDA_INPUT); in print_codec_info()
791 print_amp_caps(buffer, codec, fg, HDA_OUTPUT); in print_codec_info()
792 snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg); in print_codec_info()
793 print_power_state(buffer, codec, fg); in print_codec_info()
795 nodes = snd_hda_get_sub_nodes(codec, fg, &nid); in print_codec_info()
802 print_gpio(buffer, codec, fg); in print_codec_info()
[all …]
Dhda_codec.c936 hda_nid_t fg; in snd_hda_codec_device_new() local
989 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_device_new()
990 err = read_widget_caps(codec, fg); in snd_hda_codec_device_new()
1033 hda_nid_t fg; in snd_hda_codec_update_widgets() local
1044 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets()
1045 err = read_widget_caps(codec, fg); in snd_hda_codec_update_widgets()
2700 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_set_power_to_all() argument
2754 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state() local
2771 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
2776 state = codec->power_filter(codec, fg, state); in hda_set_power_state()
[all …]
Dpatch_sigmatel.c293 hda_nid_t fg = codec->core.afg; in stac_gpio_set() local
297 gpiostate = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
301 gpiomask = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
305 gpiodir = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
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()
314 snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
319 snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
Dpatch_hdmi.c2785 static void haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg, in haswell_set_power_state() argument
2793 snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE, power_state); in haswell_set_power_state()
2794 snd_hda_codec_set_power_to_all(codec, fg, power_state); in haswell_set_power_state()
/sound/hda/
Dhdac_device.c44 hda_nid_t fg; in snd_hdac_device_init() local
92 fg = codec->afg ? codec->afg : codec->mfg; in snd_hdac_device_init()
98 codec->power_caps = snd_hdac_read_parm(codec, fg, AC_PAR_POWER_STATE); in snd_hdac_device_init()
101 snd_hdac_read(codec, fg, AC_VERB_GET_SUBSYSTEM_ID, 0, in snd_hdac_device_init()