Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/hda/
Dhda_tegra.c361 unsigned short gcap; in hda_tegra_first_init() local
380 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init()
381 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init()
386 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init()
387 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
Dhda_intel.c1831 unsigned short gcap; in azx_first_init() local
1887 gcap = azx_readw(chip, GCAP); in azx_first_init()
1888 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init()
1903 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1915 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1929 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init()
1941 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init()
1942 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl.c823 unsigned short gcap; in skl_first_init() local
847 gcap = snd_hdac_chip_readw(bus, GCAP); in skl_first_init()
848 dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap); in skl_first_init()
859 cp_streams = (gcap >> 8) & 0x0f; in skl_first_init()
860 pb_streams = (gcap >> 12) & 0x0f; in skl_first_init()