/linux-master/sound/hda/ |
H A D | hdac_sysfs.c | 15 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 D | hdac_device.c | 87 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 D | hda_sysfs.c | 72 CODEC_INFO_SHOW(afg, core.afg); 501 static DEVICE_ATTR_RO(afg);
|
H A D | patch_sigmatel.c | 293 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 D | hda_proc.c | 642 param_read(codec, codec->core.afg, AC_PAR_GPIO_CAP); 758 if (codec->afg) 782 fg = codec->core.afg;
|
H A D | hda_codec.c | 1012 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 D | patch_via.c | 359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm);
|
H A D | patch_ca0132.c | 3851 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 D | hda_generic.c | 638 if (nid == codec->core.afg) 834 if (nid == codec->core.afg) 4914 if (power_state != AC_PWRST_D0 || nid == codec->core.afg)
|
H A D | patch_realtek.c | 303 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 D | patch_hdmi.c | 2012 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 D | hdac_hdmi.c | 1642 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 D | hdaudio.h | 59 hda_nid_t afg; /* AFG node id */ member in struct:hdac_device
|