Lines Matching full:l1
3 * Enable PCIe link L0s/L1 state and Clock Power Management
101 * Save L1 substate configuration. The ASPM L0s/L1 configuration in pci_save_aspm_l1ss_state()
113 * Save parent's L1 substate configuration so we have it for in pci_save_aspm_l1ss_state()
134 * In case BIOS enabled L1.2 when resuming, we need to disable it first in pci_restore_aspm_l1ss_state()
156 /* Make sure L0s/L1 are disabled before updating L1SS config */ in pci_restore_aspm_l1ss_state()
168 * Disable L1.2 on this downstream endpoint device first, followed in pci_restore_aspm_l1ss_state()
178 * in PCI_L1SS_CTL1 must be programmed *before* setting the L1.2 in pci_restore_aspm_l1ss_state()
200 /* Restore L0s/L1 if they were enabled */ in pci_restore_aspm_l1ss_state()
279 * The L1 PM substate capability is only implemented in function 0 in a
299 /* Enable ASPM L0s/L1 */ in policy_to_aspm_state()
509 /* Convert L1 latency encoding to ns */
519 /* Convert L1 acceptable latency encoding to ns */
543 * Encode an LTR_L1.2_THRESHOLD value for the L1 PM Substates Control 1
544 * register. Ports enter L1.2 when the most recent LTR value is greater
546 * don't enter L1.2 too aggressively.
601 /* Calculate endpoint L1 acceptable latency */ in pcie_aspm_check_latency()
628 * Check L1 latency. in pcie_aspm_check_latency()
630 * more microsecond for L1. Spec doesn't mention L0s. in pcie_aspm_check_latency()
632 * The exit latencies for L1 substates are not advertised in pcie_aspm_check_latency()
634 * to determine max latencies introduced by enabling L1 in pcie_aspm_check_latency()
636 * a L1 substate exit latency check. We assume that the in pcie_aspm_check_latency()
637 * L1 exit latencies advertised by a device include L1 in pcie_aspm_check_latency()
650 /* Calculate L1.2 PM substate timing parameters */
685 * Link from L0 to L1.2 and back to L0 so we enter L1.2 only if in aspm_calc_l12_info()
690 * Table 5-11. T(POWER_OFF) is at most 2us and T(L1.2) is at in aspm_calc_l12_info()
699 /* Some broken devices only support dword access to L1 SS */ in aspm_calc_l12_info()
709 /* Disable L1.2 while updating. See PCIe r5.0, sec 5.5.4, 7.8.3.3 */ in aspm_calc_l12_info()
759 /* Setup L1 substate */ in aspm_l1ss_init()
772 * to this device, we can't use ASPM L1.2 because it relies on the in aspm_l1ss_init()
822 FLAG(override, L1, " L1"), in pcie_aspm_override_default_link_state()
823 FLAG(override, L1_1, " ASPM-L1.1"), in pcie_aspm_override_default_link_state()
824 FLAG(override, L1_2, " ASPM-L1.2"), in pcie_aspm_override_default_link_state()
825 FLAG(override, L1_1_PCIPM, " PCI-PM-L1.1"), in pcie_aspm_override_default_link_state()
826 FLAG(override, L1_2_PCIPM, " PCI-PM-L1.2")); in pcie_aspm_override_default_link_state()
858 * clock configuration. L0s & L1 exit latencies in the otherwise in pcie_aspm_cap_init()
867 /* Disable L0s/L1 before updating L1SS config */ in pcie_aspm_cap_init()
891 /* Setup L1 state */ in pcie_aspm_cap_init()
900 /* Restore L0s/L1 if they were enabled */ in pcie_aspm_cap_init()
925 /* Configure the ASPM L1 substates. Caller must disable L1 first. */
941 * PCIe r6.2, sec 5.5.4, rules for enabling L1 PM Substates: in pcie_config_aspm_l1ss()
942 * - Clear L1.x enable bits at child first, then at parent in pcie_config_aspm_l1ss()
943 * - Set L1.x enable bits at parent first, then at child in pcie_config_aspm_l1ss()
944 * - ASPM/PCIPM L1.2 must be disabled while programming timing in pcie_config_aspm_l1ss()
948 /* Disable all L1 substates */ in pcie_config_aspm_l1ss()
976 /* Can't enable any substates if L1 is not enabled */ in pcie_config_aspm_link()
1001 * bits for ASPM L1 PM Substates must be done while ASPM L1 is in pcie_config_aspm_link()
1002 * disabled. Disable L1 here and apply new configuration after L1SS in pcie_config_aspm_link()
1005 * Per sec 7.5.3.7, when disabling ASPM L1, software must disable in pcie_config_aspm_link()
1007 * Upstream component, and ASPM L1 must be enabled in the Upstream in pcie_config_aspm_link()
1399 /* L1 PM substates require L1 */ in pci_calc_aspm_disable_mask()
1410 /* L1 PM substates require L1 */ in pci_calc_aspm_enable_mask()
1514 * Note: Ensure devices are in D0 before enabling PCI-PM L1 PM Substates, per
1533 * Note: Ensure devices are in D0 before enabling PCI-PM L1 PM Substates, per
1636 /* need to enable L1 for substates */ in aspm_attr_store_common()
1664 ASPM_ATTR(l1_aspm, L1) in ASPM_ATTR()