Searched refs:afg (Results 1 - 13 of 13) sorted by relevance

/linux-master/sound/hda/
H A Dhdac_sysfs.c15 struct kobject *afg; member in struct:hdac_widget_tree
44 CODEC_ATTR(afg); variable
190 if (nid == codec->afg || nid == codec->mfg)
222 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_IN_AMP))
231 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_OUT_AMP))
240 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_POWER))
327 free_widget_node(tree->afg, &widget_afg_group);
389 if (codec->afg) {
390 err = add_widget_node(tree->root, codec->afg,
391 &widget_afg_group, &tree->afg);
[all...]
H A Dhdac_device.c87 if (!codec->afg && !codec->mfg) {
93 fg = codec->afg ? codec->afg : codec->mfg;
386 codec->afg = nid;
415 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid);
418 codec->afg);
856 if (nid != codec->afg &&
860 val = snd_hdac_read_parm(codec, codec->afg, AC_PAR_PCM);
871 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM);
/linux-master/sound/pci/hda/
H A Dhda_sysfs.c72 CODEC_INFO_SHOW(afg, core.afg);
501 static DEVICE_ATTR_RO(afg);
H A Dpatch_sigmatel.c293 hda_nid_t fg = codec->core.afg;
367 if (nid == codec->core.afg && power_state == AC_PWRST_D3)
415 !(snd_hda_codec_read(codec, codec->core.afg, 0,
459 snd_hda_codec_write(codec, codec->core.afg, 0,
491 snd_hda_codec_write(codec, codec->core.afg, 0,
501 data = snd_hda_codec_read(codec, codec->core.afg, 0,
504 snd_hda_codec_write(codec, codec->core.afg, 0, 0x7e0,
606 dac_mode = snd_hda_codec_read(codec, codec->core.afg, 0,
618 snd_hda_codec_write_cache(codec, codec->core.afg, 0,
718 gpio = snd_hda_param_read(codec, codec->core.afg, AC_PAR_GPIO_CA
[all...]
H A Dhda_proc.c642 param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP);
758 if (codec->afg)
782 fg = codec->core.afg;
H A Dhda_codec.c1012 fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
1072 fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
1268 nid = codec->core.afg;
2762 if (nid == codec->core.afg || nid == codec->core.mfg)
2782 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg;
H A Dpatch_via.c359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm);
H A Dpatch_ca0132.c3851 snd_hda_codec_write(codec, codec->core.afg, 0,
3866 snd_hda_codec_write(codec, codec->core.afg, 0,
3873 snd_hda_codec_write(codec, codec->core.afg, 0,
3880 snd_hda_codec_write(codec, codec->core.afg, 0,
4677 gpio_data = snd_hda_codec_read(codec, codec->core.afg, 0,
4685 snd_hda_codec_write(codec, codec->core.afg, 0,
8713 /*set afg to D3*/
8794 snd_hda_codec_write(codec, codec->core.afg, 0,
8796 snd_hda_codec_write(codec, codec->core.afg, 0,
H A Dhda_generic.c638 if (nid == codec->core.afg)
834 if (nid == codec->core.afg)
4914 if (power_state != AC_PWRST_D0 || nid == codec->core.afg)
H A Dpatch_realtek.c303 snd_hda_codec_write(codec, codec->core.afg, 0,
305 snd_hda_codec_write(codec, codec->core.afg, 0,
4863 snd_hda_codec_write_cache(codec, codec->core.afg, 0,
4865 snd_hda_jack_detect_enable_callback(codec, codec->core.afg,
11805 if (nid == codec->core.afg && power_state == AC_PWRST_D3 && spec->gpio_data)
H A Dpatch_hdmi.c2012 nodes = snd_hda_get_sub_nodes(codec, codec->core.afg, &start_nid);
2014 codec_warn(codec, "HDMI: failed to get afg sub nodes\n");
/linux-master/sound/soc/codecs/
H A Dhdac_hdmi.c1642 num_nodes = snd_hdac_get_sub_nodes(hdev, hdev->afg, &nid);
1644 dev_warn(&hdev->dev, "HDMI: failed to get afg sub nodes\n");
2245 * Power down afg.
2251 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE,
2294 /* Power up afg */
2295 snd_hdac_codec_read(hdev, hdev->afg, 0, AC_VERB_SET_POWER_STATE,
/linux-master/include/sound/
H A Dhdaudio.h59 hda_nid_t afg; /* AFG node id */ member in struct:hdac_device

Completed in 1592 milliseconds