Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/pci/hda/
H A Dhda_tegra.c260 unsigned short gcap; in hda_tegra_first_init() local
304 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init()
305 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init()
312 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init()
313 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
H A Dhda_intel.c1892 unsigned short gcap; in azx_first_init() local
1944 gcap = azx_readw(chip, GCAP); in azx_first_init()
1945 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init()
1960 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1972 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1986 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init()
1998 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init()
1999 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
/OK3568_Linux_fs/kernel/sound/soc/sof/intel/
H A Dhda-stream.c753 u32 gcap; in hda_dsp_stream_init() local
755 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init()
756 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init()
759 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init()
760 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
/OK3568_Linux_fs/kernel/sound/soc/intel/skylake/
H A Dskl.c910 unsigned short gcap; in skl_first_init() local
938 gcap = snd_hdac_chip_readw(bus, GCAP); in skl_first_init()
939 dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap); in skl_first_init()
942 cp_streams = (gcap >> 8) & 0x0f; in skl_first_init()
943 pb_streams = (gcap >> 12) & 0x0f; in skl_first_init()