Home
last modified time | relevance | path

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

/Linux-v6.6/sound/pci/hda/
Dhda_tegra.c266 unsigned short gcap; in hda_tegra_first_init() local
310 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init()
311 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init()
318 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init()
331 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
Dhda_intel.c1854 unsigned short gcap; in azx_first_init() local
1913 gcap = azx_readw(chip, GCAP); in azx_first_init()
1914 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init()
1929 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1941 gcap &= ~AZX_GCAP_64OK; in azx_first_init()
1955 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init()
1964 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init()
1965 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
/Linux-v6.6/sound/soc/sof/intel/
Dhda-stream.c824 u32 gcap; in hda_dsp_stream_init() local
826 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init()
827 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init()
830 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init()
831 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
/Linux-v6.6/sound/soc/intel/avs/
Dcore.c79 unsigned int gcap; in avs_hdac_bus_init_streams() local
81 gcap = snd_hdac_chip_readw(bus, GCAP); in avs_hdac_bus_init_streams()
82 cp_streams = (gcap >> 8) & 0x0F; in avs_hdac_bus_init_streams()
83 pb_streams = (gcap >> 12) & 0x0F; in avs_hdac_bus_init_streams()
/Linux-v6.6/sound/soc/intel/skylake/
Dskl.c920 unsigned short gcap; in skl_first_init() local
948 gcap = snd_hdac_chip_readw(bus, GCAP); in skl_first_init()
949 dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap); in skl_first_init()
952 cp_streams = (gcap >> 8) & 0x0f; in skl_first_init()
953 pb_streams = (gcap >> 12) & 0x0f; in skl_first_init()