/Linux-v6.1/Documentation/devicetree/bindings/pci/ |
D | mediatek-pcie-gen3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/mediatek-pcie-gen3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Gen3 PCIe controller on MediaTek SoCs 10 - Jianjun Wang <jianjun.wang@mediatek.com> 13 PCIe Gen3 MAC controller for MediaTek SoCs, it supports Gen3 speed 16 This PCIe controller supports up to 256 MSI vectors, the MSI hardware 19 +-----+ 21 +-----+ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | mediatek,net.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Bianconi <lorenzo@kernel.org> 11 - Felix Fietkau <nbd@nbd.name> 20 - mediatek,mt2701-eth 21 - mediatek,mt7623-eth 22 - mediatek,mt7622-eth 23 - mediatek,mt7629-eth 24 - mediatek,mt7986-eth [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_common.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 7 * fm10k_get_bus_info_generic - Generic set PCI bus info 17 /* Get the maximum link width and speed from PCIe config space */ in fm10k_get_bus_info_generic() 22 hw->bus_caps.width = fm10k_bus_width_pcie_x1; in fm10k_get_bus_info_generic() 25 hw->bus_caps.width = fm10k_bus_width_pcie_x2; in fm10k_get_bus_info_generic() 28 hw->bus_caps.width = fm10k_bus_width_pcie_x4; in fm10k_get_bus_info_generic() 31 hw->bus_caps.width = fm10k_bus_width_pcie_x8; in fm10k_get_bus_info_generic() 34 hw->bus_caps.width = fm10k_bus_width_unknown; in fm10k_get_bus_info_generic() 40 hw->bus_caps.speed = fm10k_bus_speed_2500; in fm10k_get_bus_info_generic() [all …]
|
D | fm10k_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 16 * fm10k_pci_tbl - PCI Device ID Table 36 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word() 39 if (FM10K_REMOVED(hw->hw_addr)) in fm10k_read_pci_cfg_word() 42 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word() 51 u32 __iomem *hw_addr = READ_ONCE(hw->hw_addr); in fm10k_read_reg() 59 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg() 60 struct net_device *netdev = interface->netdev; in fm10k_read_reg() 62 hw->hw_addr = NULL; in fm10k_read_reg() [all …]
|
D | fm10k_type.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 41 /* PCIe payload size */ 53 /* PCIe MSI-X Capability info */ 60 /* PCIe SR-IOV Info */ 64 #define FM10K_ERR_PARAM -2 65 #define FM10K_ERR_NO_RESOURCES -3 66 #define FM10K_ERR_REQUESTS_PENDING -4 67 #define FM10K_ERR_RESET_REQUESTED -5 68 #define FM10K_ERR_DMA_PENDING -6 [all …]
|
/Linux-v6.1/drivers/bcma/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 16 # Support for Block-I/O. SELECT this from the driver that needs it. 26 bool "Support for BCMA on PCI-host bus" 46 BCMA bus may have many versions of PCIe core. This driver 48 1) PCIe core working in clientmode 49 2) PCIe Gen 2 clientmode core 51 In general PCIe (Gen 2) clientmode core is required on PCIe 54 This driver is also prerequisite for a hostmode PCIe core 78 bool "ChipCommon-attached serial flash support" 95 bool "BCMA Broadcom GBIT MAC COMMON core driver" [all …]
|
/Linux-v6.1/arch/mips/boot/dts/ralink/ |
D | mt7621.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 #include <dt-bindings/interrupt-controller/mips-gic.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/clock/mt7621-clk.h> 5 #include <dt-bindings/reset/mt7621-reset.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 10 compatible = "mediatek,mt7621-soc"; 13 #address-cells = <1>; 14 #size-cells = <0>; [all …]
|
/Linux-v6.1/drivers/pci/controller/ |
D | pcie-mediatek-gen3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MediaTek PCIe host controller driver. 61 #define PCIE_MSI_ENABLE GENMASK(PCIE_MSI_SET_NUM + 8 - 1, 8) 65 GENMASK(PCIE_INTX_SHIFT + PCI_NUM_INTX - 1, PCIE_INTX_SHIFT) 69 #define PCIE_MSI_SET_ENABLE GENMASK(PCIE_MSI_SET_NUM - 1, 0) 95 (((((size) - 1) << 1) & GENMASK(6, 1)) | PCIE_ATR_EN) 104 * struct mtk_msi_set - MSI information for each set 116 * struct mtk_gen3_pcie - PCIe port information 117 * @dev: pointer to PCIe device 120 * @mac_reset: MAC reset control [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 tristate "Marvell EBU PCIe controller" 14 Add support for Marvell EBU PCIe controller. This PCIe controller 15 is used on 32-bit Marvell ARM SoCs: Dove, Kirkwood, Armada 370, 19 tristate "Aardvark PCIe controller" 25 Add support for Aardvark 64bit PCIe Host Controller. This 30 bool "NWL PCIe Core" 35 NWL PCIe controller. The controller can act as Root Port 51 in the Intel IXP4xx XScale-based network processor SoC. 54 bool "NVIDIA Tegra PCIe controller" [all …]
|
D | pcie-mediatek.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MediaTek PCIe host controller driver. 32 /* PCIe shared registers */ 38 /* PCIe per port registers */ 69 /* PCIe V2 share registers */ 74 /* PCIe V2 per-port registers */ 97 * Define PCIe to AHB window size as 2^33 to support max 8GB address space 103 /* PCIe V2 configuration transaction header */ 127 (GENMASK(((size) - 1), 0) << ((where) & 0x3)) 145 * struct mtk_pcie_soc - differentiate between host generations [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | representors.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 used to control internal switching on SmartNICs. For the closely-related port 9 representors on physical (multi-port) switches, see 13 ---------- 15 Since the mid-2010s, network cards have started offering more complex 16 virtualisation capabilities than the legacy SR-IOV approach (with its simple 17 MAC/VLAN-based switching model) can support. This led to a desire to offload 18 software-defined networks (such as OpenVSwitch) to these NICs to specify the 23 virtual switches and IOV devices. Just as each physical port of a Linux- 41 ----------- [all …]
|
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 1 // SPDX-License-Identifier: ISC 21 #define BRCMF_FW_NVRAM_DEVPATH_LEN 19 /* devpath0=pcie/1/4/ */ 22 #define BRCMF_FW_NVRAM_PCIEDEV_LEN 10 /* pcie/1/4/ + \0 */ 36 * struct nvram_parser - internal info for parser. 46 * @multi_dev_v1: detect pcie multi device v1 (compressed). 47 * @multi_dev_v2: detect pcie multi device v2. 49 * @strip_mac: strip the MAC address. 67 * is_nvram_char() - check if char is a valid one for NVRAM entry 91 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_idle() 99 nvp->entry = nvp->pos; in brcmf_nvram_handle_idle() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | mt7629-rfb.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "mediatek,mt7629-rfb", "mediatek,mt7629"; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 button-reset { 32 button-wps { 44 reg_3p3v: regulator-3p3v { [all …]
|
D | mt7623n-rfb-emmc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 15 compatible = "mediatek,mt7623n-rfb-emmc", "mediatek,mt7623"; 24 stdout-path = "serial2:115200n8"; 28 compatible = "hdmi-connector"; 31 ddc-i2c-bus = <&hdmiddc0>; 35 remote-endpoint = <&hdmi0_out>; 42 proc-supply = <&mt6323_vproc_reg>; [all …]
|
D | mt7623a-rfb-emmc.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 15 compatible = "mediatek,mt7623a-rfb-emmc", "mediatek,mt7623"; 22 stdout-path = "serial2:115200n8"; 27 proc-supply = <&mt6323_vproc_reg>; 31 proc-supply = <&mt6323_vproc_reg>; 35 proc-supply = <&mt6323_vproc_reg>; 39 proc-supply = <&mt6323_vproc_reg>; [all …]
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | usb_halinit.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. 29 struct registry_priv *registrypriv = &adapter->registrypriv; in r8712_usb_hal_bus_init() 31 if (registrypriv->chip_version == RTL8712_FPGA) { in r8712_usb_hal_bus_init() 57 /* isolate PCIe Analog 1.2V to PCIe 3.3V and PCIE Digital */ in r8712_usb_hal_bus_init() 61 /* attach AFE PLL to MACTOP/BB/PCIe Digital */ in r8712_usb_hal_bus_init() 76 /* enable MAC clock */ in r8712_usb_hal_bus_init() 96 /* consideration of power consumption - init */ in r8712_usb_hal_bus_init() 99 } else if (registrypriv->chip_version == RTL8712_1stCUT) { in r8712_usb_hal_bus_init() 132 /* Attach AFE PLL to MACTOP/BB/PCIe Digital */ in r8712_usb_hal_bus_init() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | mvebu-gated-clock.txt | 12 ----------------------------------- 14 1 pex0_en PCIe 0 Clock out 15 2 pex1_en PCIe 1 Clock out 18 5 pex0 PCIe Cntrl 0 19 9 pex1 PCIe Cntrl 1 29 ----------------------------------- 33 5 pex0 PCIe 0 Clock out 34 6 pex1 PCIe 1 Clock out 42 19 gop Gigabit Ethernet MAC 56 ----------------------------------- [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/apm/ |
D | apm-storm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Storm SOC 9 compatible = "apm,xgene-storm"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 22 enable-method = "spin-table"; 23 cpu-release-addr = <0x1 0x0000fff8>; [all …]
|
/Linux-v6.1/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 36 * 00-0B-6A-F6-00-DC in atl1e_hw_set_mac_addr() 40 value = (((u32)hw->mac_addr[2]) << 24) | in atl1e_hw_set_mac_addr() 41 (((u32)hw->mac_addr[3]) << 16) | in atl1e_hw_set_mac_addr() 42 (((u32)hw->mac_addr[4]) << 8) | in atl1e_hw_set_mac_addr() 43 (((u32)hw->mac_addr[5])) ; in atl1e_hw_set_mac_addr() 46 value = (((u32)hw->mac_addr[0]) << 8) | in atl1e_hw_set_mac_addr() 47 (((u32)hw->mac_addr[1])) ; in atl1e_hw_set_mac_addr() 53 * return 0 if get valid mac address, [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt7622-bananapi-bpi-r64.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 17 model = "Bananapi BPI-R64"; 18 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 25 stdout-path = "serial0:115200n8"; 31 proc-supply = <&mt6380_vcpu_reg>; 32 sram-supply = <&mt6380_vm_reg>; [all …]
|
/Linux-v6.1/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005 - 2016 Broadcom 7 * linux-drivers@emulex.com 20 …"Optics faulted/incorrectly installed/not installed - Reseat optics. If issue not resolved, replac… 24 "Uncertified optics – Replace with Avago-certified optics to enable link operation." 35 "Link is non-operational", 103 u32 cmd_privileges = adapter->cmd_privileges; in be_cmd_allowed() 116 return wrb->payload.embedded_payload; in embedded_payload() 121 struct be_queue_info *mccq = &adapter->mcc_obj.q; in be_mcc_notify() 125 return -EIO; in be_mcc_notify() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/apple/ |
D | t8103-j457.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 2x USB-C, M1, 2020) 5 * target-type: J457 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j457", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 2x USB-C, M1, 2020)"; 25 brcm,board-type = "apple,santorini"; 30 * on-board devices and properties that are populated by the bootloader 31 * (such as MAC addresses). [all …]
|
/Linux-v6.1/arch/powerpc/boot/dts/ |
D | akebono.dts | 12 /dts-v1/; 17 #address-cells = <2>; 18 #size-cells = <2>; 21 dcr-parent = <&{/cpus/cpu@0}>; 28 #address-cells = <1>; 29 #size-cells = <0>; 35 clock-frequency = <1600000000>; // 1.6 GHz 36 timebase-frequency = <100000000>; // 100Mhz 37 i-cache-line-size = <32>; 38 d-cache-line-size = <32>; [all …]
|
/Linux-v6.1/drivers/net/ethernet/cavium/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 standalone PCIe NIC chip. 36 tristate "Thunder MAC interface driver (BGX)" 42 This driver supports programming and controlling of MAC 46 tristate "Thunder MAC interface driver (RGX)" 100 will be called liquidio_vf. MSI-X interrupt support is required
|
/Linux-v6.1/drivers/staging/rtl8723bs/hal/ |
D | Hal8723BReg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Note: 1. Define Mac register address and corresponding bit mask map 160 /* 0x0300h ~ 0x03FFh PCIe */ 177 #define REG_MDIO_WDATA_8723B 0x0354 /* MDIO for Write PCIE PHY */ 178 #define REG_MDIO_RDATA_8723B 0x0356 /* MDIO for Reads PCIE PHY */ 181 #define REG_PCIE_HRPWM_8723B 0x0361 /* PCIe RPWM */ 182 #define REG_PCIE_HCPWM_8723B 0x0363 /* PCIe CPWM */ 183 #define REG_PCIE_MULTIFET_CTRL_8723B 0x036A /* PCIE Multi-Fethc Control */ 261 /* Format for offset 540h-542h: */ 268 /* |<--Setup--|--Hold------------>| */ [all …]
|