Home
last modified time | relevance | path

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

/linux/sound/hda/controllers/
H A Dacpi.c73 unsigned short gcap; in hda_acpi_init() local
104 gcap = azx_readw(azx, GCAP); in hda_acpi_init()
105 dev_dbg(dev, "chipset global capabilities = 0x%x\n", gcap); in hda_acpi_init()
109 azx->capture_streams = (gcap >> 8) & 0x0f; in hda_acpi_init()
110 azx->playback_streams = (gcap >> 12) & 0x0f; in hda_acpi_init()
H A Dtegra.c271 unsigned short gcap; in hda_tegra_first_init() local
315 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init()
316 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init()
323 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init()
336 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
338 /* gcap didn't give any info, switching to old method */ in hda_tegra_first_init()
H A Dcix-ipbloq.c106 unsigned short gcap; in cix_ipbloq_hda_init() local
129 gcap = azx_readw(chip, GCAP); in cix_ipbloq_hda_init()
130 chip->capture_streams = (gcap >> 8) & 0x0f; in cix_ipbloq_hda_init()
131 chip->playback_streams = (gcap >> 12) & 0x0f; in cix_ipbloq_hda_init()
H A Dintel.c1903 unsigned short gcap; in azx_first_init() local
1961 gcap = azx_readw(chip, GCAP); in azx_first_init()
1962 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init()
1977 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1989 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
2003 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init()
2017 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init()
2018 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
/linux/sound/soc/sof/intel/
H A Dhda-stream.c916 u32 gcap; in hda_dsp_stream_init()
918 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init()
919 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init()
922 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init()
923 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
872 u32 gcap; hda_dsp_stream_init() local