Searched refs:gcap (Results 1 – 3 of 3) sorted by relevance
872 u32 gcap; in hda_dsp_stream_init() local874 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()
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()
1839 unsigned short gcap; in azx_first_init() local1896 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()