afg                56 include/sound/hdaudio.h 	hda_nid_t afg;			/* AFG node id */
afg                86 sound/hda/hdac_device.c 	if (!codec->afg && !codec->mfg) {
afg                92 sound/hda/hdac_device.c 	fg = codec->afg ? codec->afg : codec->mfg;
afg               379 sound/hda/hdac_device.c 			codec->afg = nid;
afg               408 sound/hda/hdac_device.c 	nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid);
afg               411 sound/hda/hdac_device.c 			codec->afg);
afg               785 sound/hda/hdac_device.c 	if (nid != codec->afg &&
afg               789 sound/hda/hdac_device.c 		val = snd_hdac_read_parm(codec, codec->afg, AC_PAR_PCM);
afg               800 sound/hda/hdac_device.c 		streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM);
afg                15 sound/hda/hdac_sysfs.c 	struct kobject *afg;
afg                44 sound/hda/hdac_sysfs.c CODEC_ATTR(afg);
afg               190 sound/hda/hdac_sysfs.c 	if (nid == codec->afg || nid == codec->mfg)
afg               222 sound/hda/hdac_sysfs.c 	if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_IN_AMP))
afg               231 sound/hda/hdac_sysfs.c 	if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_OUT_AMP))
afg               240 sound/hda/hdac_sysfs.c 	if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_POWER))
afg               327 sound/hda/hdac_sysfs.c 	free_widget_node(tree->afg, &widget_afg_group);
afg               387 sound/hda/hdac_sysfs.c 	if (codec->afg) {
afg               388 sound/hda/hdac_sysfs.c 		err = add_widget_node(tree->root, codec->afg,
afg               389 sound/hda/hdac_sysfs.c 				      &widget_afg_group, &tree->afg);
afg               967 sound/pci/hda/hda_codec.c 	fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
afg              1019 sound/pci/hda/hda_codec.c 	fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
afg              1217 sound/pci/hda/hda_codec.c 		nid = codec->core.afg;
afg              2762 sound/pci/hda/hda_codec.c 	if (nid == codec->core.afg || nid == codec->core.mfg)
afg              2782 sound/pci/hda/hda_codec.c 	hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
afg               632 sound/pci/hda/hda_generic.c 	if (nid == codec->core.afg)
afg               828 sound/pci/hda/hda_generic.c 		if (nid == codec->core.afg)
afg              4949 sound/pci/hda/hda_generic.c 	if (power_state != AC_PWRST_D0 || nid == codec->core.afg)
afg              6066 sound/pci/hda/hda_generic.c 	snd_hda_codec_set_power_to_all(codec, codec->core.afg, AC_PWRST_D3);
afg              6067 sound/pci/hda/hda_generic.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg               642 sound/pci/hda/hda_proc.c 		param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP);
afg               722 sound/pci/hda/hda_proc.c 	if (codec->afg)
afg               746 sound/pci/hda/hda_proc.c 	fg = codec->core.afg;
afg                74 sound/pci/hda/hda_sysfs.c CODEC_INFO_SHOW(afg, core.afg);
afg               506 sound/pci/hda/hda_sysfs.c static DEVICE_ATTR_RO(afg);
afg              3441 sound/pci/hda/patch_ca0132.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg              3461 sound/pci/hda/patch_ca0132.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg              3476 sound/pci/hda/patch_ca0132.c 		snd_hda_codec_write(codec, codec->core.afg, 0,
afg              3483 sound/pci/hda/patch_ca0132.c 		snd_hda_codec_write(codec, codec->core.afg, 0,
afg              3490 sound/pci/hda/patch_ca0132.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg              1823 sound/pci/hda/patch_hdmi.c 	nodes = snd_hda_get_sub_nodes(codec, codec->core.afg, &nid);
afg               248 sound/pci/hda/patch_realtek.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg               250 sound/pci/hda/patch_realtek.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg              4367 sound/pci/hda/patch_realtek.c 		snd_hda_codec_write_cache(codec, codec->core.afg, 0,
afg              4369 sound/pci/hda/patch_realtek.c 		snd_hda_jack_detect_enable_callback(codec, codec->core.afg,
afg              8719 sound/pci/hda/patch_realtek.c 	if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data)
afg               292 sound/pci/hda/patch_sigmatel.c 	hda_nid_t fg = codec->core.afg;
afg               363 sound/pci/hda/patch_sigmatel.c 	if (nid == codec->core.afg && power_state == AC_PWRST_D3)
afg               408 sound/pci/hda/patch_sigmatel.c 			!(snd_hda_codec_read(codec, codec->core.afg, 0,
afg               452 sound/pci/hda/patch_sigmatel.c 			snd_hda_codec_write(codec, codec->core.afg, 0,
afg               484 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_write(codec, codec->core.afg, 0,
afg               494 sound/pci/hda/patch_sigmatel.c 	data = snd_hda_codec_read(codec, codec->core.afg, 0,
afg               497 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0,
afg               599 sound/pci/hda/patch_sigmatel.c 	dac_mode = snd_hda_codec_read(codec, codec->core.afg, 0,
afg               611 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_write_cache(codec, codec->core.afg, 0,
afg               711 sound/pci/hda/patch_sigmatel.c 	gpio = snd_hda_param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP);
afg               755 sound/pci/hda/patch_sigmatel.c 			max_gpio = snd_hda_param_read(codec, codec->core.afg,
afg              3064 sound/pci/hda/patch_sigmatel.c 	snd_hda_codec_write_cache(codec, codec->core.afg, 0,
afg              3066 sound/pci/hda/patch_sigmatel.c 	jack = snd_hda_jack_detect_enable_callback(codec, codec->core.afg,
afg              4106 sound/pci/hda/patch_sigmatel.c 		snd_hda_codec_write_cache(codec, codec->core.afg, 0,
afg              4108 sound/pci/hda/patch_sigmatel.c 		jack = snd_hda_jack_detect_enable_callback(codec, codec->core.afg,
afg              4359 sound/pci/hda/patch_sigmatel.c 		snd_hda_codec_write(codec, codec->core.afg, 0,
afg              4395 sound/pci/hda/patch_sigmatel.c 	if (nid == codec->core.afg)
afg              4406 sound/pci/hda/patch_sigmatel.c 		    snd_hda_codec_read(codec, codec->core.afg, 0, verb, 0));
afg              4414 sound/pci/hda/patch_sigmatel.c 	if (nid == codec->core.afg)
afg              4421 sound/pci/hda/patch_sigmatel.c 	if (nid == codec->core.afg)
afg              4428 sound/pci/hda/patch_sigmatel.c 	if (nid == codec->core.afg)
afg               358 sound/pci/hda/patch_via.c 	snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm);
afg              1514 sound/soc/codecs/hdac_hdmi.c 	num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid);
afg              2152 sound/soc/codecs/hdac_hdmi.c 	snd_hdac_codec_read(hdev, hdev->afg, 0,	AC_VERB_SET_POWER_STATE,
afg              2196 sound/soc/codecs/hdac_hdmi.c 	snd_hdac_codec_read(hdev, hdev->afg, 0,	AC_VERB_SET_POWER_STATE,