Searched refs:gcap (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/sound/pci/hda/ |
H A D | hda_tegra.c | 266 unsigned short gcap; in hda_tegra_first_init() local 310 gcap = azx_readw(chip, GCAP); in hda_tegra_first_init() 311 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in hda_tegra_first_init() 318 chip->capture_streams = (gcap >> 8) & 0x0f; in hda_tegra_first_init() 331 chip->playback_streams = (gcap >> 12) & 0x0f; in hda_tegra_first_init()
|
H A D | hda_intel.c | 1856 unsigned short gcap; in azx_first_init() local 1915 gcap = azx_readw(chip, GCAP); in azx_first_init() 1916 dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); in azx_first_init() 1931 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1943 gcap &= ~AZX_GCAP_64OK; in azx_first_init() 1957 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()
|
/openbmc/u-boot/drivers/sound/ |
H A D | hda_codec.c | 25 u16 gcap; member 157 writew(readw(®s->gcap), ®s->gcap); in hda_codec_detect()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-stream.c | 824 u32 gcap; in hda_dsp_stream_init() local 826 gcap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCAP); in hda_dsp_stream_init() 827 dev_dbg(sdev->dev, "hda global caps = 0x%x\n", gcap); in hda_dsp_stream_init() 830 num_capture = (gcap >> 8) & 0x0f; in hda_dsp_stream_init() 831 num_playback = (gcap >> 12) & 0x0f; in hda_dsp_stream_init()
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | core.c | 79 unsigned int gcap; in avs_hdac_bus_init_streams() local 81 gcap = snd_hdac_chip_readw(bus, GCAP); in avs_hdac_bus_init_streams() 82 cp_streams = (gcap >> 8) & 0x0F; in avs_hdac_bus_init_streams() 83 pb_streams = (gcap >> 12) & 0x0F; in avs_hdac_bus_init_streams()
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl.c | 920 unsigned short gcap; in skl_first_init() local 948 gcap = snd_hdac_chip_readw(bus, GCAP); in skl_first_init() 949 dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap); in skl_first_init() 952 cp_streams = (gcap >> 8) & 0x0f; in skl_first_init() 953 pb_streams = (gcap >> 12) & 0x0f; in skl_first_init()
|