Searched refs:gcap (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/sound/pci/hda/ |
| H A D | hda_tegra.c | 264 unsigned short gcap; in hda_tegra_first_init() local 308 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init() 309 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init() 316 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init() 329 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
|
| H A D | hda_intel.c | 1853 unsigned short gcap; in azx_first_init() local 1910 gcap = azx_readw(chip, GCAP); in azx_first_init() 1911 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init() 1926 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1938 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1952 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init() 1961 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init() 1962 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
|
| /linux-6.15/sound/soc/sof/intel/ |
| H A D | hda-stream.c | 872 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-6.15/sound/soc/intel/avs/ |
| H A D | core.c | 87 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()
|