Searched refs:gcap (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/sound/pci/hda/ |
D | hda_tegra.c | 265 unsigned short gcap; in hda_tegra_first_init() local 309 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init() 310 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init() 317 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init() 330 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
|
D | hda_intel.c | 1844 unsigned short gcap; in azx_first_init() local 1891 gcap = azx_readw(chip, GCAP); in azx_first_init() 1892 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init() 1907 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1919 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1933 if (!(gcap & AZX_GCAP_64OK)) in azx_first_init() 1942 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init() 1943 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init()
|
/Linux-v6.1/sound/soc/intel/avs/ |
D | core.c | 75 unsigned int gcap; in avs_hdac_bus_init_streams() local 77 gcap = snd_hdac_chip_readw(bus, GCAP); in avs_hdac_bus_init_streams() 78 cp_streams = (gcap >> 8) & 0x0F; in avs_hdac_bus_init_streams() 79 pb_streams = (gcap >> 12) & 0x0F; in avs_hdac_bus_init_streams()
|
/Linux-v6.1/sound/soc/intel/skylake/ |
D | skl.c | 929 unsigned short gcap; in skl_first_init() local 957 gcap = snd_hdac_chip_readw(bus, GCAP); in skl_first_init() 958 dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap); in skl_first_init() 961 cp_streams = (gcap >> 8) & 0x0f; in skl_first_init() 962 pb_streams = (gcap >> 12) & 0x0f; in skl_first_init()
|
/Linux-v6.1/sound/soc/sof/intel/ |
D | hda-stream.c | 819 u32 gcap; in hda_dsp_stream_init() local 821 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init() 822 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init() 825 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init() 826 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
|