Lines Matching full:aspm
33 #define ASPM_STATE_L1_1 (8) /* ASPM L1.1 state */
34 #define ASPM_STATE_L1_2 (0x10) /* ASPM L1.2 state */
52 /* ASPM state */
53 u32 aspm_support:7; /* Supported ASPM state */
54 u32 aspm_enabled:7; /* Enabled ASPM state */
55 u32 aspm_capable:7; /* Capable ASPM state with latency */
56 u32 aspm_default:7; /* Default ASPM state by BIOS */
57 u32 aspm_disable:7; /* Disabled ASPM state */
111 /* Disable ASPM and Clock PM */ in policy_to_aspm_state()
114 /* Enable ASPM L0s/L1 */ in policy_to_aspm_state()
129 /* Disable ASPM and Clock PM */ in policy_to_clkpm_state()
197 * common clock. That will reduce the ASPM state exit latency.
238 pci_info(parent, "ASPM: current common clock configuration is inconsistent, reconfiguring\n"); in pcie_aspm_configure_common_clock()
257 pci_err(parent, "ASPM: Could not configure common clock\n"); in pcie_aspm_configure_common_clock()
549 * to this device, we can't use ASPM L1.2 because it relies on the in aspm_l1ss_init()
592 /* Set enabled/disable so that we will disable ASPM later */ in pcie_aspm_cap_init()
599 * If ASPM not supported, don't mess with the clocks and link, in pcie_aspm_cap_init()
661 /* Configure the ASPM L1 substates */
673 * - When enabling ASPM L1.x, need to disable L1 in pcie_config_aspm_l1ss()
675 * - The ASPM/PCIPM L1.2 must be disabled while programming timing in pcie_config_aspm_l1ss()
743 /* Convert ASPM state to upstream/downstream ASPM register state */ in pcie_config_aspm_link()
758 * same setting for ASPM. Enabling ASPM L1 should be done in in pcie_config_aspm_link()
760 * versa for disabling ASPM L1. Spec doesn't mention L0S. in pcie_config_aspm_link()
793 * very strange. Disable ASPM for the whole slot in pcie_aspm_sanity_check()
800 * If ASPM is disabled then we're not going to change in pcie_aspm_sanity_check()
809 * Disable ASPM for pre-1.1 PCIe device, we follow MS to use in pcie_aspm_sanity_check()
814 …pci_info(child, "disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'\… in pcie_aspm_sanity_check()
908 * Setup initial ASPM state. Note that we need to configure in pcie_aspm_init_link_state()
919 * link policy setting. Enabling ASPM on broken hardware can cripple in pcie_aspm_init_link_state()
920 * it even before the driver has had a chance to disable ASPM, so in pcie_aspm_init_link_state()
921 * default to a safe level right now. If we're enabling ASPM beyond in pcie_aspm_init_link_state()
1069 * A driver requested that ASPM be disabled on this device, but in __pci_disable_link_state()
1070 * if we don't have permission to manage ASPM (e.g., on ACPI in __pci_disable_link_state()
1077 pci_warn(pdev, "can't disable ASPM; OS doesn't have ASPM control\n"); in __pci_disable_link_state()
1117 * never enter specific states. Note that if the BIOS didn't grant ASPM
1122 * @state: ASPM link state to disable
1137 * A driver requested that ASPM be enabled on this device, but in __pci_enable_link_state()
1138 * if we don't have permission to manage ASPM (e.g., on ACPI in __pci_enable_link_state()
1143 pci_warn(pdev, "can't override BIOS ASPM; OS doesn't have ASPM control\n"); in __pci_enable_link_state()
1178 * BIOS didn't grant ASPM control to the OS, this does nothing because we can't
1183 * @state: Mask of ASPM link states to enable
1194 * the BIOS didn't grant ASPM control to the OS, this does nothing because we
1199 * @state: Mask of ASPM link states to enable
1253 * pcie_aspm_enabled - Check if PCIe ASPM has been enabled for a device.
1419 printk(KERN_INFO "PCIe ASPM is disabled\n"); in pcie_aspm_disable()
1422 printk(KERN_INFO "PCIe ASPM is forcibly enabled\n"); in pcie_aspm_disable()
1432 * Disabling ASPM is intended to prevent the kernel from modifying in pcie_no_aspm()