Lines Matching refs:fg
1308 hda_nid_t fg, unsigned int power_state);
1327 hda_nid_t fg; in snd_hda_codec_new() local
1408 fg = codec->afg ? codec->afg : codec->mfg; in snd_hda_codec_new()
1409 err = read_widget_caps(codec, fg); in snd_hda_codec_new()
1420 snd_hda_codec_read(codec, fg, 0, in snd_hda_codec_new()
1425 codec->d3_stop_clk = snd_hda_codec_get_supported_ps(codec, fg, in snd_hda_codec_new()
1430 codec->epss = snd_hda_codec_get_supported_ps(codec, fg, in snd_hda_codec_new()
1456 hda_nid_t fg; in snd_hda_codec_update_widgets() local
1463 fg = codec->afg ? codec->afg : codec->mfg; in snd_hda_codec_update_widgets()
1464 err = read_widget_caps(codec, fg); in snd_hda_codec_update_widgets()
3719 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
3744 static bool snd_hda_codec_get_supported_ps(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_get_supported_ps() argument
3747 int sup = snd_hda_param_read(codec, fg, AC_PAR_POWER_STATE); in snd_hda_codec_get_supported_ps()
3761 hda_nid_t fg, in hda_sync_power_state() argument
3768 state = snd_hda_codec_read(codec, fg, 0, in hda_sync_power_state()
3806 hda_nid_t fg = codec->afg ? codec->afg : codec->mfg; in hda_set_power_state() local
3819 codec->patch_ops.set_power_state(codec, fg, in hda_set_power_state()
3822 snd_hda_codec_read(codec, fg, 0, in hda_set_power_state()
3825 snd_hda_codec_set_power_to_all(codec, fg, power_state); in hda_set_power_state()
3827 state = hda_sync_power_state(codec, fg, power_state); in hda_set_power_state()