Searched refs:gcap (Results 1 – 5 of 5) sorted by relevance
| /linux/sound/hda/controllers/ |
| H A D | acpi.c | 73 unsigned short gcap; in hda_acpi_init() local 104 gcap = azx_readw(azx, GCAP); in hda_acpi_init() 105 dev_dbg(dev, "chipset global capabilities = 0x%x\n", gcap); in hda_acpi_init() 109 azx->capture_streams = (gcap >> 8) & 0x0f; in hda_acpi_init() 110 azx->playback_streams = (gcap >> 12) & 0x0f; in hda_acpi_init()
|
| H A D | tegra.c | 271 unsigned short gcap; in hda_tegra_first_init() local 315 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init() 316 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init() 323 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init() 336 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init() 338 /* gcap didn't give any info, switching to old method */ in hda_tegra_first_init()
|
| H A D | cix-ipbloq.c | 106 unsigned short gcap; in cix_ipbloq_hda_init() local 129 gcap = azx_readw(chip, GCAP); in cix_ipbloq_hda_init() 130 chip->capture_streams = (gcap >> 8) & 0x0f; in cix_ipbloq_hda_init() 131 chip->playback_streams = (gcap >> 12) & 0x0f; in cix_ipbloq_hda_init()
|
| H A D | intel.c | 1856 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() 1966 chip->capture_streams = (gcap >> 8) & 0x0f; in azx_first_init() 1967 chip->playback_streams = (gcap >> 12) & 0x0f; in azx_first_init() 1969 /* gcap didn't give any info, switching to old method */ in azx_first_init()
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-stream.c | 904 u32 gcap; in hda_dsp_stream_init() 906 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init() 907 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init() 910 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init() 911 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init() 872 u32 gcap; hda_dsp_stream_init() local
|