Home
last modified time | relevance | path

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

/linux/sound/soc/sof/intel/
H A Dhda-stream.c872 u32 gcap; in hda_dsp_stream_init() local
874 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init()
875 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init()
878 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init()
879 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
/linux/sound/soc/intel/avs/
H A Dcore.c87 unsigned int gcap; in avs_hdac_bus_init_streams() local
89 gcap = snd_hdac_chip_readw(bus, GCAP); in avs_hdac_bus_init_streams()
90 cp_streams = (gcap >> 8) & 0x0F; in avs_hdac_bus_init_streams()
91 pb_streams = (gcap >> 12) & 0x0F; in avs_hdac_bus_init_streams()
/linux/sound/pci/hda/
H A Dhda_intel.c1839 unsigned short gcap; in azx_first_init() local
1896 gcap = azx_readw(chip, GCAP); in azx_first_init()
1897 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init()
1912 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1924 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1938 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init()
1947 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init()
1948 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()