Searched refs:gcap (Results 1 – 2 of 2) sorted by relevance
362 unsigned short gcap; in hda_tegra_first_init() local381 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init()382 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init()387 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init()388 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
1496 unsigned short gcap; in azx_first_init() local1536 gcap = azx_readw(chip, GCAP); in azx_first_init()1537 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init()1552 gcap &= ~AZX_GCAP_64OK; in azx_first_init()1560 gcap &= ~AZX_GCAP_64OK; in azx_first_init()1576 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init()1588 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init()1589 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()