Lines Matching defs:enable
132 void hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev *sdev, bool enable)
134 u32 val = enable ? SOF_HDA_PPCTL_GPROCEN : 0;
140 void hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev *sdev, bool enable)
142 u32 val = enable ? SOF_HDA_PPCTL_PIE : 0;
148 void hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev *sdev, bool enable)
150 u32 val = enable ? PCI_CGCTL_MISCBDCGE_MASK : 0;
156 * enable/disable audio dsp clock gating and power gating bits.
160 int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable)
165 /* enable/disable audio dsp clock gating */
166 val = enable ? PCI_CGCTL_ADSPDCGE : 0;
169 /* disable the DMI link when requested. But enable only if it wasn't disabled previously */
170 val = enable ? HDA_VS_INTEL_EM2_L1SEN : 0;
171 if (!enable || !hda->l1_disabled)
175 /* enable/disable audio dsp power gating */
176 val = enable ? 0 : PCI_PGCTL_ADSPPGD;
234 /* enable CIE and GIE interrupts */