Searched refs:gcap (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/sound/pci/hda/ |
D | hda_tegra.c | 283 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() 310 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init() 311 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
|
D | hda_intel.c | 1787 unsigned short gcap; in azx_first_init() local 1840 gcap = azx_readw(chip, GCAP); in azx_first_init() 1841 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init() 1856 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1868 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1882 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init() 1894 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init() 1895 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
|
/Linux-v5.4/sound/soc/sof/intel/ |
D | hda-stream.c | 637 u32 gcap; in hda_dsp_stream_init() local 639 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init() 640 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init() 643 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init() 644 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
|
/Linux-v5.4/sound/soc/intel/skylake/ |
D | skl.c | 911 unsigned short gcap; in skl_first_init() local 941 gcap = snd_hdac_chip_readw(bus, GCAP); in skl_first_init() 942 dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap); in skl_first_init() 945 cp_streams = (gcap >> 8) & 0x0f; in skl_first_init() 946 pb_streams = (gcap >> 12) & 0x0f; in skl_first_init()
|