| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | aspm.c | 7 #include "aspm.h" 9 /* Time after which the timer interrupt will re-enable ASPM */ 13 /* Two interrupts within this time trigger ASPM disable */ 20 module_param_named(aspm, aspm_mode, uint, 0444); 21 MODULE_PARM_DESC(aspm, "PCIe ASPM: 0: disable, 1: enable, 2: dynamic"); 30 * it cannot support ASPM L1 at all. in aspm_hw_l1_supported() 41 /* ASPM works on A-step but is reported as not supported */ in aspm_hw_l1_supported() 63 * it cannot support ASPM L1 at all. in aspm_hw_enable_l1() 68 /* Enable ASPM L1 first in upstream component and then downstream */ in aspm_hw_enable_l1() 81 /* Disable ASPM L1 first in downstream component and then upstream */ in aspm_hw_disable_l1() [all …]
|
| H A D | aspm.h | 14 ASPM_MODE_DISABLED = 0, /* ASPM always disabled, performance mode */ 15 ASPM_MODE_ENABLED = 1, /* ASPM always enabled, power saving mode */ 16 ASPM_MODE_DYNAMIC = 2, /* ASPM enabled/disabled dynamically */
|
| H A D | Makefile | 13 aspm.o \
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A D | sw.c | 28 * ASPM PS mode. in rtl92c_init_aspm_vars() 29 * 0 - Disable ASPM, in rtl92c_init_aspm_vars() 30 * 1 - Enable ASPM without Clock Req, in rtl92c_init_aspm_vars() 31 * 2 - Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 33 * 4 - Always Enable ASPM without Clock Req. in rtl92c_init_aspm_vars() 47 * 1 - From ASPM setting without low Mac Pwr, in rtl92c_init_aspm_vars() 48 * 2 - From ASPM setting with low Mac Pwr, in rtl92c_init_aspm_vars() 56 * backdoor ASPM setting such as EPHY setting. in rtl92c_init_aspm_vars() 57 * 0 - Not support ASPM, in rtl92c_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | sw.c | 28 * ASPM PS mode. in rtl92ee_init_aspm_vars() 29 * 0 - Disable ASPM, in rtl92ee_init_aspm_vars() 30 * 1 - Enable ASPM without Clock Req, in rtl92ee_init_aspm_vars() 31 * 2 - Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 33 * 4 - Always Enable ASPM without Clock Req. in rtl92ee_init_aspm_vars() 47 * 1 - From ASPM setting without low Mac Pwr, in rtl92ee_init_aspm_vars() 48 * 2 - From ASPM setting with low Mac Pwr, in rtl92ee_init_aspm_vars() 56 * backdoor ASPM setting such as EPHY setting. in rtl92ee_init_aspm_vars() 57 * 0 - Not support ASPM, in rtl92ee_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | sw.c | 29 /* ASPM PS mode. in rtl8723be_init_aspm_vars() 30 * 0 - Disable ASPM, in rtl8723be_init_aspm_vars() 31 * 1 - Enable ASPM without Clock Req, in rtl8723be_init_aspm_vars() 32 * 2 - Enable ASPM with Clock Req, in rtl8723be_init_aspm_vars() 33 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723be_init_aspm_vars() 34 * 4 - Always Enable ASPM without Clock Req. in rtl8723be_init_aspm_vars() 47 * 1 - From ASPM setting without low Mac Pwr, in rtl8723be_init_aspm_vars() 48 * 2 - From ASPM setting with low Mac Pwr, in rtl8723be_init_aspm_vars() 55 * backdoor ASPM setting such as EPHY setting. in rtl8723be_init_aspm_vars() 56 * 0 - Not support ASPM, in rtl8723be_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| H A D | sw.c | 24 /* ASPM PS mode. in rtl92s_init_aspm_vars() 25 * 0 - Disable ASPM, in rtl92s_init_aspm_vars() 26 * 1 - Enable ASPM without Clock Req, in rtl92s_init_aspm_vars() 27 * 2 - Enable ASPM with Clock Req, in rtl92s_init_aspm_vars() 28 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92s_init_aspm_vars() 29 * 4 - Always Enable ASPM without Clock Req. in rtl92s_init_aspm_vars() 42 * 1 - From ASPM setting without low Mac Pwr, in rtl92s_init_aspm_vars() 43 * 2 - From ASPM setting with low Mac Pwr, in rtl92s_init_aspm_vars() 50 * backdoor ASPM setting such as EPHY setting. in rtl92s_init_aspm_vars() 51 * 0 - Not support ASPM, in rtl92s_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| H A D | sw.c | 29 * ASPM PS mode. in rtl92d_init_aspm_vars() 30 * 0 - Disable ASPM, in rtl92d_init_aspm_vars() 31 * 1 - Enable ASPM without Clock Req, in rtl92d_init_aspm_vars() 32 * 2 - Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 33 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 34 * 4 - Always Enable ASPM without Clock Req. in rtl92d_init_aspm_vars() 48 * 1 - From ASPM setting without low Mac Pwr, in rtl92d_init_aspm_vars() 49 * 2 - From ASPM setting with low Mac Pwr, in rtl92d_init_aspm_vars() 57 * backdoor ASPM setting such as EPHY setting. in rtl92d_init_aspm_vars() 58 * 0 - Not support ASPM, in rtl92d_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | sw.c | 24 /* ASPM PS mode. in rtl88e_init_aspm_vars() 25 * 0 - Disable ASPM, in rtl88e_init_aspm_vars() 26 * 1 - Enable ASPM without Clock Req, in rtl88e_init_aspm_vars() 27 * 2 - Enable ASPM with Clock Req, in rtl88e_init_aspm_vars() 28 * 3 - Alwyas Enable ASPM with Clock Req, in rtl88e_init_aspm_vars() 29 * 4 - Always Enable ASPM without Clock Req. in rtl88e_init_aspm_vars() 42 * 1 - From ASPM setting without low Mac Pwr, in rtl88e_init_aspm_vars() 43 * 2 - From ASPM setting with low Mac Pwr, in rtl88e_init_aspm_vars() 50 * backdoor ASPM setting such as EPHY setting. in rtl88e_init_aspm_vars() 51 * 0 - Not support ASPM, in rtl88e_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | sw.c | 30 * ASPM PS mode. in rtl8723e_init_aspm_vars() 31 * 0 - Disable ASPM, in rtl8723e_init_aspm_vars() 32 * 1 - Enable ASPM without Clock Req, in rtl8723e_init_aspm_vars() 33 * 2 - Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars() 34 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars() 35 * 4 - Always Enable ASPM without Clock Req. in rtl8723e_init_aspm_vars() 49 * 1 - From ASPM setting without low Mac Pwr, in rtl8723e_init_aspm_vars() 50 * 2 - From ASPM setting with low Mac Pwr, in rtl8723e_init_aspm_vars() 58 * backdoor ASPM setting such as EPHY setting. in rtl8723e_init_aspm_vars() 59 * 0 - Not support ASPM, in rtl8723e_init_aspm_vars() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | sw.c | 27 * ASPM PS mode. in rtl8821ae_init_aspm_vars() 28 * 0 - Disable ASPM, in rtl8821ae_init_aspm_vars() 29 * 1 - Enable ASPM without Clock Req, in rtl8821ae_init_aspm_vars() 30 * 2 - Enable ASPM with Clock Req, in rtl8821ae_init_aspm_vars() 31 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8821ae_init_aspm_vars() 32 * 4 - Always Enable ASPM without Clock Req. in rtl8821ae_init_aspm_vars() 46 * 1 - From ASPM setting without low Mac Pwr, in rtl8821ae_init_aspm_vars() 47 * 2 - From ASPM setting with low Mac Pwr, in rtl8821ae_init_aspm_vars() 55 * backdoor ASPM setting such as EPHY setting. in rtl8821ae_init_aspm_vars() 56 * 0 - Not support ASPM, in rtl8821ae_init_aspm_vars() [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | nvidia,tegra194-pcie-ep.yaml | 151 nvidia,aspm-cmrt-us: 152 description: Common Mode Restore Time for proper operation of ASPM to be 155 nvidia,aspm-pwr-on-t-us: 156 description: Power On time for proper operation of ASPM to be specified in 159 nvidia,aspm-l0s-entrance-latency-us: 160 description: ASPM L0s entrance latency to be specified in microseconds 242 nvidia,aspm-cmrt-us = <60>; 243 nvidia,aspm-pwr-on-t-us = <20>; 244 nvidia,aspm-l0s-entrance-latency-us = <3>; 298 nvidia,aspm-cmrt-us = <60>; [all …]
|
| H A D | nvidia,tegra194-pcie.yaml | 166 nvidia,aspm-cmrt-us: 167 description: Common Mode Restore Time for proper operation of ASPM to be 170 nvidia,aspm-pwr-on-t-us: 171 description: Power On time for proper operation of ASPM to be specified in 174 nvidia,aspm-l0s-entrance-latency-us: 175 description: ASPM L0s entrance latency to be specified in microseconds 301 nvidia,aspm-cmrt-us = <60>; 302 nvidia,aspm-pwr-on-t-us = <20>; 303 nvidia,aspm-l0s-entrance-latency-us = <3>; 365 nvidia,aspm-cmrt-us = <60>; [all …]
|
| H A D | mediatek-pcie-cfg.yaml | 15 LTSSM, ASPM and so on.
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | pci.c | 23 /* aspm already disabled */ in mt76_pci_disable_aspm() 27 dev_info(&pdev->dev, "disabling ASPM %s %s\n", in mt76_pci_disable_aspm() 39 /* both device and parent should have the same ASPM setting. in mt76_pci_disable_aspm() 40 * disable ASPM in downstream component first and then upstream. in mt76_pci_disable_aspm() 64 /* aspm already disabled */ in mt76_pci_aspm_supported()
|
| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | rtw_pwrctrl.h | 73 #define RT_RF_OFF_LEVL_ASPM BIT(0) /* PCI ASPM */ 79 #define RT_RF_PS_LEVEL_ALWAYS_ASPM BIT(6) /* Always enable ASPM and Clock Req in initialization. */ 81 #define RT_RF_LPS_LEVEL_ASPM BIT(31) /* LPS with ASPM */ 87 /* ASPM OSC Control bit, added by Roger, 2013.03.29. */ 88 #define RT_PCI_ASPM_OSC_IGNORE 0 /* PCI ASPM ignore OSC control in default */ 89 #define RT_PCI_ASPM_OSC_ENABLE BIT0 /* PCI ASPM controlled by OS according to ACPI Spec 5.0 */ 90 #define RT_PCI_ASPM_OSC_DISABLE BIT1 /* PCI ASPM controlled by driver or BIOS, i.e., force enable…
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_pcie.h | 196 * ipc_pcie_check_aspm_enabled - Check if ASPM L1 is already enabled 198 * @parent: True if checking ASPM L1 for parent else false 200 * Returns: true if ASPM is already enabled else false 205 * ipc_pcie_config_aspm - Configure ASPM L1
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | pci.c | 825 u16 aspm; in ath_pci_aspm_init() local 837 /* Bluetooth coexistence requires disabling ASPM. */ in ath_pci_aspm_init() 843 * have the same ASPM settings. in ath_pci_aspm_init() 848 ath_info(common, "Disabling ASPM since BTCOEX is enabled\n"); in ath_pci_aspm_init() 868 ret = pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &aspm); in ath_pci_aspm_init() 869 if (!ret && (aspm & (PCI_EXP_LNKCTL_ASPM_L0S | PCI_EXP_LNKCTL_ASPM_L1))) { in ath_pci_aspm_init() 873 ath_info(common, "ASPM enabled: 0x%x\n", aspm); in ath_pci_aspm_init()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | pci.c | 72 /*Update PCI ASPM setting */ in _rtl_pci_update_default_setting() 75 /*No ASPM */ in _rtl_pci_update_default_setting() 79 /*ASPM dynamically enabled/disable. */ in _rtl_pci_update_default_setting() 84 /*ASPM with Clock Req dynamically enabled/disable. */ in _rtl_pci_update_default_setting() 90 /* Always enable ASPM and Clock Req in _rtl_pci_update_default_setting() 99 /* Always enable ASPM without Clock Req in _rtl_pci_update_default_setting() 128 /*Set HW definition to determine if it supports ASPM. */ in _rtl_pci_update_default_setting() 131 /*Not support ASPM. */ in _rtl_pci_update_default_setting() 135 /*Support ASPM. */ in _rtl_pci_update_default_setting() 140 /*ASPM value set by chipset. */ in _rtl_pci_update_default_setting() [all …]
|
| H A D | pci.h | 180 /*ASPM*/ u8 const_pci_aspm; 187 /* If it supports ASPM, Offset[560h] = 0x40,
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra234.dtsi | 4487 nvidia,aspm-cmrt-us = <60>; 4488 nvidia,aspm-pwr-on-t-us = <20>; 4489 nvidia,aspm-l0s-entrance-latency-us = <3>; 4541 nvidia,aspm-cmrt-us = <60>; 4542 nvidia,aspm-pwr-on-t-us = <20>; 4543 nvidia,aspm-l0s-entrance-latency-us = <3>; 4595 nvidia,aspm-cmrt-us = <60>; 4596 nvidia,aspm-pwr-on-t-us = <20>; 4597 nvidia,aspm-l0s-entrance-latency-us = <3>; 4639 nvidia,aspm-cmrt-us = <60>; [all …]
|
| H A D | tegra194.dtsi | 2395 nvidia,aspm-cmrt-us = <60>; 2396 nvidia,aspm-pwr-on-t-us = <20>; 2397 nvidia,aspm-l0s-entrance-latency-us = <3>; 2447 nvidia,aspm-cmrt-us = <60>; 2448 nvidia,aspm-pwr-on-t-us = <20>; 2449 nvidia,aspm-l0s-entrance-latency-us = <3>; 2499 nvidia,aspm-cmrt-us = <60>; 2500 nvidia,aspm-pwr-on-t-us = <20>; 2501 nvidia,aspm-l0s-entrance-latency-us = <3>; 2551 nvidia,aspm-cmrt-us = <60>; [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-tegra194.c | 572 * when it is accessed with link being in ASPM-L1 state. in tegra_pcie_dw_rd_own_conf() 594 * when it is accessed with link being in ASPM-L1 state. in tegra_pcie_dw_wr_own_conf() 693 /* Enable ASPM counters */ in init_host_aspm() 934 /* Disable ASPM-L1SS advertisement if there is no CLKREQ routing */ in tegra_pcie_dw_host_init() 1113 ret = of_property_read_u32(np, "nvidia,aspm-cmrt-us", &pcie->aspm_cmrt); in tegra_pcie_dw_parse_dt() 1115 dev_info(pcie->dev, "Failed to read ASPM T_cmrt: %d\n", ret); in tegra_pcie_dw_parse_dt() 1119 ret = of_property_read_u32(np, "nvidia,aspm-pwr-on-t-us", in tegra_pcie_dw_parse_dt() 1122 dev_info(pcie->dev, "Failed to read ASPM Power On time: %d\n", in tegra_pcie_dw_parse_dt() 1125 ret = of_property_read_u32(np, "nvidia,aspm-l0s-entrance-latency-us", in tegra_pcie_dw_parse_dt() 1129 "Failed to read ASPM L0s Entrance latency: %d\n", ret); in tegra_pcie_dw_parse_dt() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | pci_regs.h | 548 #define PCI_EXP_LNKCAP_ASPMS 0x00000c00 /* ASPM Support */ 549 #define PCI_EXP_LNKCAP_ASPM_L0S 0x00000400 /* ASPM L0s Support */ 550 #define PCI_EXP_LNKCAP_ASPM_L1 0x00000800 /* ASPM L1 Support */ 559 #define PCI_EXP_LNKCTL_ASPMC 0x0003 /* ASPM Control */ 1123 /* ASPM L1 PM Substates */ 1127 #define PCI_L1SS_CAP_ASPM_L1_2 0x00000004 /* ASPM L1.2 Supported */ 1128 #define PCI_L1SS_CAP_ASPM_L1_1 0x00000008 /* ASPM L1.1 Supported */ 1136 #define PCI_L1SS_CTL1_ASPM_L1_2 0x00000004 /* ASPM L1.2 Enable */ 1137 #define PCI_L1SS_CTL1_ASPM_L1_1 0x00000008 /* ASPM L1.1 Enable */
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | pci.c | 22 MODULE_PARM_DESC(disable_aspm, "Set Y to disable PCI ASPM support"); 1361 rtw_err(rtwdev, "failed to read ASPM, ret=%d", ret); in rtw_pci_aspm_set() 1377 /* Like CLKREQ, ASPM is also implemented by two HW modules, and can in rtw_pci_link_ps() 1380 * And ASPM mechanism should be enabled when driver/firmware enters in rtw_pci_link_ps() 1384 * throughput. This is probably because the ASPM behavior slightly in rtw_pci_link_ps() 1411 * check if host supports CLKREQ/ASPM to enable the HW module. in rtw_pci_link_cfg() 1416 * CLKREQ/ASPM mechanisms, it is default disabled. Because sometimes in rtw_pci_link_cfg() 1806 /* Disable PCIe ASPM L1 while doing NAPI poll for 8821CE */ in rtw_pci_probe()
|