| /OK3568_Linux_fs/kernel/drivers/net/pcs/ |
| H A D | pcs-xpcs.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/pcs/pcs-xpcs.h> 151 return mdiobus_read(xpcs->bus, xpcs->addr, reg_addr); in xpcs_read() 158 return mdiobus_write(xpcs->bus, xpcs->addr, reg_addr, val); in xpcs_write() 193 } while (ret & MDIO_CTRL1_RESET && --retries); in xpcs_poll_reset() 195 return (ret & MDIO_CTRL1_RESET) ? -ETIMEDOUT : 0; in xpcs_poll_reset() 211 if ((__state)->link) \ 212 dev_warn(&(__xpcs)->bus->dev, ##__args); \ 225 xpcs_warn(xpcs, state, "Link fault condition detected!\n"); in xpcs_read_fault() 226 return -EFAULT; in xpcs_read_fault() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 12 #define OPTION_UNSET -1 30 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 31 * Valid Range: 80-4096 for 82544 and newer 39 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 40 * Valid Range: 80-4096 for 82544 and newer 46 /* User Specified Speed Override 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A D | ti,j721e-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: "http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: "cdns-pcie-ep.yaml#" 19 - ti,j721e-pcie-ep 24 reg-names: 26 - const: intd_cfg [all …]
|
| H A D | ti,j721e-pci-host.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: "http://devicetree.org/schemas/pci/ti,j721e-pci-host.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: "cdns-pcie-host.yaml#" 19 - ti,j721e-pcie-host 24 reg-names: 26 - const: intd_cfg [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/ |
| H A D | apq8096-db820c.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 20 * LSEC = Low Speed External Connector 21 * P HSEC = Primary High Speed External Connector 22 * S HSEC = Secondary High Speed External Connector [all …]
|
| H A D | apq8016-sbc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 26 stdout-path = "serial0"; 29 camera_vdddo_1v8: camera-vdddo-1v8 { 30 compatible = "regulator-fixed"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | mad.h | 2 * Copyright(c) 2015 - 2017 Intel Corporation. 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 79 #define OPA_NOTICE_TRAP_LWDE_CHG 0x08 /* Link Width Downgrade Enable 82 #define OPA_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */ 83 #define OPA_NOTICE_TRAP_LWE_CHG 0x02 /* Link Width Enable changed */ 188 * The default link width is multiplied by 1000 323 __be16 ccti_limit; /* max CCTI for cc table */ 328 u16 ccti_limit; /* max CCTI for cc table */ [all …]
|
| H A D | pcie.c | 2 * Copyright(c) 2015 - 2019 Intel Corporation. 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 69 struct pci_dev *pdev = dd->pcidev; in hfi1_pcie_init() 85 dd_dev_err(dd, "pci enable failed: error %d\n", -ret); in hfi1_pcie_init() 91 dd_dev_err(dd, "pci_request_regions fails: err %d\n", -ret); in hfi1_pcie_init() 140 * fields required to re-initialize after a chip reset, or for 161 return -EINVAL; in hfi1_pcie_ddinit() 164 dd->kregbase1 = ioremap(addr, RCV_ARRAY); in hfi1_pcie_ddinit() [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | pci_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 18 * The HyperTransport I/O Link Specification 25 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of 26 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of 50 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 59 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 123 /* 0x35-0x3b are reserved */ 129 /* Header type 1 (PCI-to-PCI bridges) */ 157 /* 0x35-0x3b is reserved */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define OPTION_UNSET -1 17 * TxDescriptors - Transmit Descriptor Count 18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD 26 * RxDescriptors -Receive Descriptor Count 27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD 35 * Speed - User Specified Speed Override 37 * - 0: auto-negotiate at all supported speeds 38 * - 10: only link at 10 Mbps [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | ethernet-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David S. Miller <davem@davemloft.net> 16 local-mac-address: 19 $ref: /schemas/types.yaml#definitions/uint8-array 21 - minItems: 6 24 mac-address: 29 local-mac-address property. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | pci_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 20 * The HyperTransport I/O Link Specification 27 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of 28 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of 51 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 60 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 123 /* 0x35-0x3b are reserved */ 129 /* Header type 1 (PCI-to-PCI bridges) */ 157 /* 0x35-0x3b is reserved */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | pci_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 20 * The HyperTransport I/O Link Specification 27 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of 28 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of 51 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 60 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 123 /* 0x35-0x3b are reserved */ 129 /* Header type 1 (PCI-to-PCI bridges) */ 157 /* 0x35-0x3b is reserved */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | kirkwood-l-50.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Check Point L-50 Board Description 7 /dts-v1/; 10 #include "kirkwood-6281.dtsi" 13 model = "Check Point L-50"; 14 compatible = "checkpoint,l-50", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 23 stdout-path = &uart0; 27 pinctrl: pin-controller@10000 { 28 pinctrl-0 = <&pmx_led38 &pmx_sysrst &pmx_button29>; 29 pinctrl-names = "default"; [all …]
|
| H A D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 21 mdio-parent-bus = <&mdio1>; 22 #address-cells = <1>; [all …]
|
| H A D | imx51-zii-scu3-esb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 13 compatible = "zii,imx51-scu3-esb", "fsl,imx51"; 16 stdout-path = &uart1; 25 usb_vbus: regulator-usb-vbus { 26 compatible = "regulator-fixed"; 27 regulator-name = "usb_vbus"; 28 regulator-min-microvolt = <5000000>; 29 regulator-max-microvolt = <5000000>; 31 pinctrl-names = "default"; [all …]
|
| H A D | qcom-ipq8064-rb3011.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-ipq8064.dtsi" 3 #include <dt-bindings/input/input.h> 6 model = "MikroTik RB3011UiAS-RM"; 13 mdio-gpio0 = &mdio0; 14 mdio-gpio1 = &mdio1; 19 stdout-path = "serial0:115200n8"; 27 mdio0: mdio-0 { 29 compatible = "virtual,mdio-gpio"; 32 #address-cells = <1>; [all …]
|
| H A D | imx7d-zii-rpu2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * RPU - Remote Peripheral Unit 10 /dts-v1/; 11 #include <dt-bindings/thermal/thermal.h> 16 compatible = "zii,imx7d-rpu2", "fsl,imx7d"; 19 stdout-path = &uart2; 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <24576000>; 28 cs2000_in_dummy: dummy-oscillator { [all …]
|
| H A D | imx51-zii-scu2-mezz.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 13 compatible = "zii,imx51-scu2-mezz", "fsl,imx51"; 16 stdout-path = &uart1; 26 mdio-gpio0 = &mdio_gpio; 29 usb_vbus: regulator-usb-vbus { 30 compatible = "regulator-fixed"; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_usb_mmc_reset>; 34 startup-delay-us = <150000>; [all …]
|
| /OK3568_Linux_fs/u-boot/include/usb/ |
| H A D | xhci.h | 4 * Based on xHCI host controller driver in linux-kernel 14 * SPDX-License-Identifier: GPL-2.0+ 30 /* Max number of USB devices for any host controller - limit in section 6.1 */ 32 /* Section 5.3.3 - MaxPorts */ 43 * connect status, over-current status, port speed, and device removable. 44 * connect status and port speed are also sticky - meaning they're in 51 * link state, port power, port indicator state, "wake on" enable state 65 * over-current, reset, link state, and L1 change 69 * Bit 16 is RW, and writing a '1' to it causes the link state control to be 92 /* bits 7:0 - how long is the Capabilities register */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/dsa/ |
| H A D | ksz.txt | 6 - compatible: For external switch chips, compatible string must be exactly one 8 - "microchip,ksz8765" 9 - "microchip,ksz8794" 10 - "microchip,ksz8795" 11 - "microchip,ksz9477" 12 - "microchip,ksz9897" 13 - "microchip,ksz9896" 14 - "microchip,ksz9567" 15 - "microchip,ksz8565" 16 - "microchip,ksz9893" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmmii.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2017 Broadcom 24 #include <linux/platform_data/mdio-bcm-unimac.h> 28 /* setup netdev link state when PHY link status change and 29 * update UMAC and RGMII block when link up 34 struct phy_device *phydev = dev->phydev; in bcmgenet_mii_setup() 38 if (priv->old_link != phydev->link) { in bcmgenet_mii_setup() 40 priv->old_link = phydev->link; in bcmgenet_mii_setup() 43 if (phydev->link) { in bcmgenet_mii_setup() 44 /* check speed/duplex/pause changes */ in bcmgenet_mii_setup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/fwserial/ |
| H A D | fwserial.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/firewire-constants.h> 55 * @guid: unique 64-bit guid for this unit device 58 * @speed: link speed of peer (0 = S100, 2 = S400, ... 5 = S3200) 62 * @fifo_len: max length for single write to fifo_addr 63 * @list: link for insertion into fw_serial's peer_list 72 * @connect: work item for auto-connecting 82 unsigned int speed; member 118 FWPS_NO_MGMT_ADDR = -1, 127 peer->state = new; in peer_set_state() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| H A D | pcie.c | 33 nvkm_pcie_speed(enum pci_bus_speed speed) in nvkm_pcie_speed() argument 35 switch (speed) { in nvkm_pcie_speed() 44 if (speed == 0x17) in nvkm_pcie_speed() 46 return -1; in nvkm_pcie_speed() 53 if (!pci->func->pcie.version) in nvkm_pcie_get_version() 54 return -ENOSYS; in nvkm_pcie_get_version() 56 return pci->func->pcie.version(pci); in nvkm_pcie_get_version() 62 if (!pci->func->pcie.version_supported) in nvkm_pcie_get_max_version() 63 return -ENOSYS; in nvkm_pcie_get_max_version() 65 return pci->func->pcie.version_supported(pci); in nvkm_pcie_get_max_version() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/io-64-nonatomic-lo-hi.h> 22 /* Code sharing between pci-quirks and xhci hcd */ 23 #include "xhci-ext-caps.h" 24 #include "pci-quirks.h" 26 /* max buffer size for trace and debug messages */ 32 /* Max number of USB devices for any host controller - limit in section 6.1 */ 34 /* Section 5.3.3 - MaxPorts */ 44 * struct xhci_cap_regs - xHCI Host Controller Capability Registers. 46 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1 [all …]
|