Lines Matching defs:enable
141 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable)
145 u32 val = enable ? PCI_EXP_LNKCTL_CLKREQ_EN : 0;
151 link->clkpm_enabled = !!enable;
154 static void pcie_set_clkpm(struct pcie_link_state *link, int enable)
157 * Don't enable Clock PM if the link is not Clock PM capable
161 enable = 0;
163 if (link->clkpm_enabled == enable)
165 pcie_set_clkpm_nocheck(link, enable);
624 * Note that we must not enable L0s in either direction on a
671 * - When enabling L1.x, enable bit at parent first, then at child
678 * To keep it simple, disable all L1SS bits first, and later enable
708 /* Enable what we need to enable */
730 /* Can't enable any substates if L1 is not enabled */
814 pci_info(child, "disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'\n");
1173 * touch the LNKCTL register. Also note that this does not enable states
1177 * @state: Mask of ASPM link states to enable
1189 * can't touch the LNKCTL register. Also note that this does not enable states
1193 * @state: Mask of ASPM link states to enable
1292 /* need to enable L1 for substates */