Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_proc.c742 hda_nid_t nid, fg; in print_codec_info() local
746 fg = codec->core.afg; in print_codec_info()
747 if (!fg) in print_codec_info()
751 print_pcm_caps(buffer, codec, fg); in print_codec_info()
753 print_amp_caps(buffer, codec, fg, HDA_INPUT); in print_codec_info()
755 print_amp_caps(buffer, codec, fg, HDA_OUTPUT); in print_codec_info()
756 snd_iprintf(buffer, "State of AFG node 0x%02x:\n", fg); in print_codec_info()
757 print_power_state(buffer, codec, fg); in print_codec_info()
759 nodes = snd_hda_get_sub_nodes(codec, fg, &nid); in print_codec_info()
766 print_gpio(buffer, codec, fg); in print_codec_info()
[all …]
Dhda_codec.c928 hda_nid_t fg; in snd_hda_codec_device_new() local
979 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_device_new()
980 err = read_widget_caps(codec, fg); in snd_hda_codec_device_new()
1023 hda_nid_t fg; in snd_hda_codec_update_widgets() local
1034 fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in snd_hda_codec_update_widgets()
1035 err = read_widget_caps(codec, fg); in snd_hda_codec_update_widgets()
2746 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
2800 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state() local
2817 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
2822 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()