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 */
113 /* Disable ASPM and Clock PM */ in policy_to_aspm_state()
116 /* Enable ASPM L0s/L1 */ in policy_to_aspm_state()
131 /* Disable ASPM and Clock PM */ in policy_to_clkpm_state()
229 * common clock. That will reduce the ASPM state exit latency.
269 pci_info(parent, "ASPM: current common clock configuration is inconsistent, reconfiguring\n"); in pcie_aspm_configure_common_clock()
296 pci_err(parent, "ASPM: Could not configure common clock\n"); in pcie_aspm_configure_common_clock()
594 * to this device, we can't use ASPM L1.2 because it relies on the in aspm_l1ss_init()
637 /* Set enabled/disable so that we will disable ASPM later */ in pcie_aspm_cap_init()
644 * If ASPM not supported, don't mess with the clocks and link, in pcie_aspm_cap_init()
706 /* Configure the ASPM L1 substates */
718 * - When enabling ASPM L1.x, need to disable L1 in pcie_config_aspm_l1ss()
720 * - The ASPM/PCIPM L1.2 must be disabled while programming timing in pcie_config_aspm_l1ss()
825 /* Convert ASPM state to upstream/downstream ASPM register state */ in pcie_config_aspm_link()
840 * same setting for ASPM. Enabling ASPM L1 should be done in in pcie_config_aspm_link()
842 * versa for disabling ASPM L1. Spec doesn't mention L0S. in pcie_config_aspm_link()
875 * very strange. Disable ASPM for the whole slot in pcie_aspm_sanity_check()
882 * If ASPM is disabled then we're not going to change in pcie_aspm_sanity_check()
891 * Disable ASPM for pre-1.1 PCIe device, we follow MS to use in pcie_aspm_sanity_check()
896 …pci_info(child, "disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'\… in pcie_aspm_sanity_check()
990 * Setup initial ASPM state. Note that we need to configure in pcie_aspm_init_link_state()
1001 * link policy setting. Enabling ASPM on broken hardware can cripple in pcie_aspm_init_link_state()
1002 * it even before the driver has had a chance to disable ASPM, so in pcie_aspm_init_link_state()
1003 * default to a safe level right now. If we're enabling ASPM beyond in pcie_aspm_init_link_state()
1067 /* All functions are removed, so just disable ASPM for the link */ in pcie_aspm_exit_link_state()
1123 * A driver requested that ASPM be disabled on this device, but in __pci_disable_link_state()
1124 * if we don't have permission to manage ASPM (e.g., on ACPI in __pci_disable_link_state()
1131 pci_warn(pdev, "can't disable ASPM; OS doesn't have ASPM control\n"); in __pci_disable_link_state()
1171 * never enter specific states. Note that if the BIOS didn't grant ASPM
1176 * @state: ASPM link state to disable
1226 * pcie_aspm_enabled - Check if PCIe ASPM has been enabled for a device.
1390 printk(KERN_INFO "PCIe ASPM is disabled\n"); in pcie_aspm_disable()
1393 printk(KERN_INFO "PCIe ASPM is forcibly enabled\n"); in pcie_aspm_disable()
1403 * Disabling ASPM is intended to prevent the kernel from modifying in pcie_no_aspm()