/linux/drivers/pci/pcie/ |
H A D | aspm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Enable PCIe link L0s/L1 state and Clock Power Management 44 pci_err(dev, "no suspend buffer for LTR; ASPM issues possible after resume\n"); in pci_save_ltr_state() 49 cap = &save_state->cap.data[0]; in pci_save_ltr_state() 65 cap = &save_state->cap.data[0]; in pci_restore_ltr_state() 73 pdev->l1ss = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_L1SS); in pci_configure_aspm_l1ss() 78 pci_err(pdev, "unable to allocate ASPM L1SS save buffer (%pe)\n", in pci_configure_aspm_l1ss() 84 struct pci_dev *parent = pdev->bus->self; in pci_save_aspm_l1ss_state() 96 if (!pdev->l1ss || !parent->l1ss) in pci_save_aspm_l1ss_state() 100 * Save L1 substate configuration. The ASPM L0s/L1 configuration in pci_save_aspm_l1ss_state() [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | nvidia,tegra194-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 16 inherits all the common properties defined in snps,dw-pcie-ep.yaml. Some 23 Note: On Tegra194's P2972-0000 platform, only C5 controller can be enabled to 29 - nvidia,tegra194-pcie-ep [all …]
|
H A D | nvidia,tegra194-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 16 inherits all the common properties defined in snps,dw-pcie.yaml. Some of 20 See nvidia,tegra194-pcie-ep.yaml for details on the Endpoint mode device 26 - nvidia,tegra194-pcie [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra194.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra194-clock.h> 3 #include <dt-bindings/gpio/tegra194-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 8 #include <dt-bindings/power/tegra194-powergate.h> 9 #include <dt-bindings/reset/tegra194-reset.h> 10 #include <dt-bindings/thermal/tegra194-bpmp-thermal.h> [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | pci.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 49 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_wake_up() 56 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_release() 61 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start() 77 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 81 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window() 83 if (window != ab_pci->register_window) { in ath11k_pci_select_window() 85 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() [all …]
|
/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm7435.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <175625000>; 42 cpu_intc: interrupt-controller { 43 #address-cells = <0>; 44 compatible = "mti,cpu-interrupt-controller"; 46 interrupt-controller; [all …]
|
H A D | bcm7425.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #address-cells = <1>; 4 #size-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <0>; 11 mips-hpt-frequency = <163125000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; 32 compatible = "mti,cpu-interrupt-controller"; 34 interrupt-controller; [all …]
|
/linux/arch/sh/drivers/pci/ |
H A D | pcie-sh7786.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Low-Level PCI Express Support for the SH7786 5 * Copyright (C) 2009 - 2011 Paul Mundt 15 #include <linux/dma-map-ops.h> 21 #include "pcie-sh7786.h" 46 .end = 0xfd000000 + SZ_8M - 1, 51 .end = 0xc0000000 + SZ_512M - 1, 56 .end = 0x10000000 + SZ_64M - 1, 61 .end = 0xfe100000 + SZ_1M - 1, 70 .end = 0xfd800000 + SZ_8M - 1, [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | pci.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2019-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 35 /* BAR0 + 4k is always accessible, and no 37 * 4K - 32 = 0xFE0 82 "mhi-er0", 83 "mhi-er1", 100 "host2wbm-desc-feed", 101 "host2reo-re-injection", 102 "host2reo-command", [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 19 #include <linux/dma-mapping.h> 39 return -ETIMEDOUT; in _il_poll_bit() 48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit() 50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit() 59 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit() 61 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit() 79 * to/from host DRAM when sleeping/waking for power-saving. in _il_grab_nic_access() [all …]
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright(c) 2008 - 2009 Atheros Corporation. All rights reserved. 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 14 * atl1c_pci_tbl - PCI Device ID Table 98 if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) { in atl1c_pcie_patch() 107 /* aspm/PCIE setting only for l2cb 1.0 */ in atl1c_pcie_patch() 108 if (hw->nic_type == athr_l2c_b && hw->revision_id == L2CB_V10) { in atl1c_pcie_patch() 121 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l1d) { in atl1c_pcie_patch() 131 /* FIXME: no need any more ? */ 133 * atl1c_init_pcie - init PCIE module [all …]
|
/linux/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 28 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 58 return -ETIMEDOUT; in alx_wait_mdio_idle() 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_read_phy_core() 104 clk_sel = hw->link_speed != SPEED_UNKNOWN ? in alx_write_phy_core() 175 spin_lock(&hw->mdio_lock); in alx_read_phy_reg() 177 spin_unlock(&hw->mdio_lock); in alx_read_phy_reg() 186 spin_lock(&hw->mdio_lock); in alx_write_phy_reg() 188 spin_unlock(&hw->mdio_lock); in alx_write_phy_reg() 197 spin_lock(&hw->mdio_lock); in alx_read_phy_ext() 199 spin_unlock(&hw->mdio_lock); in alx_read_phy_ext() [all …]
|
/linux/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2003 - 2007 Francois Romieu <romieu@fr.zoreil.com> 26 #include <linux/dma-mapping.h> 38 #define FIRMWARE_8168D_1 "rtl_nic/rtl8168d-1.fw" 39 #define FIRMWARE_8168D_2 "rtl_nic/rtl8168d-2.fw" 40 #define FIRMWARE_8168E_1 "rtl_nic/rtl8168e-1.fw" 41 #define FIRMWARE_8168E_2 "rtl_nic/rtl8168e-2.fw" 42 #define FIRMWARE_8168E_3 "rtl_nic/rtl8168e-3.fw" 43 #define FIRMWARE_8168F_1 "rtl_nic/rtl8168f-1.fw" 44 #define FIRMWARE_8168F_2 "rtl_nic/rtl8168f-2.fw" [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 static int debug = -1; 112 * __ew32_prepare - prepare to write to MAC CSR register on certain parts 127 while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i) in __ew32_prepare() 133 if (hw->adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in __ew32() 136 writel(val, hw->hw_addr + reg); in __ew32() 140 * e1000_regdump - register printout routine 150 switch (reginfo->ofs) { in e1000_regdump() 164 pr_info("%-15s %08x\n", in e1000_regdump() [all …]
|
/linux/include/linux/ |
H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 9 * PCI Express ASPM defines and function prototypes 60 * The PCI interface treats multi-function devices as independent 68 * In the interest of not exposing interfaces to user-space unnecessarily, 69 * the following kernel-only defines are being added here. 80 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */ 86 return kobject_name(&slot->kobj); in pci_slot_name() 97 /* #0-5: standard PCI resources */ 99 PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1, [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 52 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92de_set_bcn_ctrl_reg() 53 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92de_set_bcn_ctrl_reg() 54 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl92de_set_bcn_ctrl_reg() 73 *((u32 *) (val)) = rtlpci->receive_config; in rtl92de_get_hw_reg() 91 if (rtlpci->acm_method != EACMWAY2_SW) in rtl92de_set_hw_reg() 92 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_ACM_CTRL, in rtl92de_set_hw_reg() 99 (union aci_aifsn *)(&(mac->ac[0].aifs)); in rtl92de_set_hw_reg() 100 u8 acm = p_aci_aifsn->f.acm; in rtl92de_set_hw_reg() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-base.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3399-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3399-power.h> 12 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; [all …]
|