| /linux/drivers/net/phy/ |
| H A D | motorcomm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Author: Frank <Frank.Sae@motor-comm.com> 21 * UTP Register space | FIBER Register space 22 * ------------------------------------------------------------ 23 * | UTP MII | FIBER MII | 25 * | UTP Extended | FIBER Extended | 26 * ------------------------------------------------------------ 28 * ------------------------------------------------------------ 104 /* FIBER Auto-Negotiation link partner ability */ 125 /* TX Gig-E Delay is bits 7:4, default 0x5 [all …]
|
| H A D | mxl-86110.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 /* SerDes/PHY Control Access Register - COM_EXT_SMI_SDS_PHY */ 34 /* SyncE Configuration Register - COM_EXT_SYNCE_CFG */ 75 /* RGMII In-Band Status and MDIO Configuration Register */ 125 /* Chip Configuration Register - COM_EXT_CHIP_CFG */ 147 /* Specific Status Register - PHY_STAT */ 158 /* 3 phy reg page modes,auto mode combines utp and fiber mode*/ 163 /* FIBER Auto-Negotiation link partner ability - SDS_AN_LPA */ 167 /* Miscellaneous Control Register - COM_EXT _MISC_CFG */ 173 /* Phy fiber Link timer cfg2 Register - EXT_SDS_LINK_TIMER_CFG2 */ [all …]
|
| H A D | sfp.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/mdio/mdio-i2c.h> 149 "mod-def0", 151 "tx-fault", 152 "tx-disable", 153 "rate-select0", 154 "rate-select1", 166 /* t_start_up (SFF-8431) or t_init (SFF-8472) is the time required for a 167 * non-cooled module to initialise its laser safety circuitry. We wait 199 * The SFF-8472 specifies t_serial ("Time from power on until module is [all …]
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | leds.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 err = mv88e6xxx_port_led_read(p->chip, p->port, in mv88e6xxx_led_brightness_set() 67 return mv88e6xxx_port_led_write(p->chip, p->port, reg); in mv88e6xxx_led_brightness_set() 76 mv88e6xxx_reg_lock(p->chip); in mv88e6xxx_led0_brightness_set_blocking() 78 mv88e6xxx_reg_unlock(p->chip); in mv88e6xxx_led0_brightness_set_blocking() 89 mv88e6xxx_reg_lock(p->chip); in mv88e6xxx_led1_brightness_set_blocking() 91 mv88e6xxx_reg_unlock(p->chip); in mv88e6xxx_led1_brightness_set_blocking() 100 bool fiber; member 106 * certain LED given restrictions such as that some rules only work with fiber 117 * different tables per-family here. [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | qcom,qca807x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Marangi <ansuelsmth@gmail.com> 11 - Robert Marko <robert.marko@sartura.hr> 15 IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and 16 1000BASE-T PHY-s. 19 MAC, while second one is SGMII for connection to MAC or fiber. 21 Both models have a combo port that supports 1000BASE-X and 22 100BASE-FX fiber. [all …]
|
| H A D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-phy.yaml# 14 - Andrew Davis <afd@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 22 SGMII The DP83869HM supports Media Conversion in Managed mode. In this mode, [all …]
|
| H A D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- 28 |-> NetCP Devices -> | [all …]
|
| /linux/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 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps 51 * - 100 - only link at 100 Mbps [all …]
|
| /linux/drivers/net/phy/qcom/ |
| H A D | qca807x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 * - With both FULL amplitude and FULL bias current: bias current 43 * - With only DSP amplitude: bias current is set to half and 45 * - With DSP bias current (included both DSP amplitude and 61 /* LED hw control pattern for fiber port */ 140 switch (phydev->port) { in qca807x_led_parse_netdev() 172 return -EOPNOTSUPP; in qca807x_led_parse_netdev() 176 return -EOPNOTSUPP; in qca807x_led_parse_netdev() 186 return -EINVAL; in qca807x_led_hw_control_enable() 198 return -EINVAL; in qca807x_led_hw_is_supported() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz8.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - KSZ8463 7 * - KSZ8863, KSZ8873 aka KSZ88X3 8 * - KSZ8895, KSZ8864 aka KSZ8895 family 9 * - KSZ8794, KSZ8795, KSZ8765 aka KSZ87XX 11 * - KSZ8563, KSZ8567 - see KSZ9477 driver 24 #include <linux/platform_data/microchip-ksz.h> 45 ksz_rmw8(dev, dev->dev_ops->get_port_addr(port, offset), bits, in ksz_port_cfg() 50 * ksz8_ind_write8 - EEE/ACL/PME indirect register write 57 * PME switch functionalities. Both 8-bit registers 110 and 111 are [all …]
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 9 * e1000e_get_bus_info_pcie - Get PCIe bus information 18 struct pci_dev *pdev = hw->adapter->pdev; in e1000e_get_bus_info_pcie() 19 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() 20 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie() 24 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie() 27 bus->width = (enum e1000_bus_width)FIELD_GET(PCI_EXP_LNKSTA_NLW, in e1000e_get_bus_info_pcie() 31 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie() 37 * e1000_set_lan_id_multi_port_pcie - Set LAN id for PCIe multiple port devices [all …]
|
| H A D | 82571.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 6 * 82571EB Gigabit Ethernet Controller (Fiber) 11 * 82572EI Gigabit Ethernet Controller (Fiber) 42 * e1000_init_phy_params_82571 - Init PHY func ptrs. 47 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82571() 50 if (hw->phy.media_type != e1000_media_type_copper) { in e1000_init_phy_params_82571() 51 phy->type = e1000_phy_none; in e1000_init_phy_params_82571() 55 phy->addr = 1; in e1000_init_phy_params_82571() 56 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT; in e1000_init_phy_params_82571() [all …]
|
| H A D | ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 28 "s0ix-enabled", 30 "disable-k1", 38 .sizeof_stat = sizeof(((struct e1000_adapter *)0)->m), \ 43 .sizeof_stat = sizeof(((struct rtnl_link_stats64 *)0)->m), \ 117 struct e1000_hw *hw = &adapter->hw; in e1000_get_link_ksettings() 119 if (hw->phy.media_type == e1000_media_type_copper) { in e1000_get_link_ksettings() 129 if (hw->phy.type == e1000_phy_ife) in e1000_get_link_ksettings() 133 if (hw->mac.autoneg == 1) { in e1000_get_link_ksettings() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | e1000e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2008-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Support 48 --------------------- 49 :Valid Range: 0,1,3,4,100-100000 82 - 0: Off 86 - 1: Dynamic mode [all …]
|
| H A D | e1000.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999 - 2013 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Speed and Duplex Configuration 16 - Additional Configurations 17 - Support 50 ------- 54 :Valid Range: 0x01-0x0F, 0x20-0x2F 57 This parameter is a bit-mask that specifies the speed and duplex settings [all …]
|
| H A D | ixgbe.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Known Issues 17 - Support 36 ---------------------------------- 38 82599-BASED ADAPTERS 41 - If your 82599-based Intel(R) Network Adapter came with Intel optics or is an [all …]
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 39 PCI_Y2_PME_LEGACY= 1<<15, /* PCI Express legacy power management mode */ [all …]
|
| H A D | skge.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */ 134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */ 135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */ 262 CHIP_ID_YUKON_LITE = 0xb1, /* Chip ID for YUKON-Lite (Rev. A1-A3) */ 263 CHIP_ID_YUKON_LP = 0xb2, /* Chip ID for YUKON-LP */ 264 CHIP_ID_YUKON_XL = 0xb3, /* Chip ID for YUKON-2 XL */ 265 CHIP_ID_YUKON_EC = 0xb6, /* Chip ID for YUKON-2 EC */ 266 CHIP_ID_YUKON_FE = 0xb7, /* Chip ID for YUKON-2 FE */ 268 CHIP_REV_YU_LITE_A1 = 3, /* Chip Rev. for YUKON-Lite A1,A2 */ [all …]
|
| /linux/drivers/net/ethernet/asix/ |
| H A D | ax88796c_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 190 #define WFCR_SLEEP BIT(4) /* Enable sleep mode */ 191 #define WFCR_WAKEUP BIT(5) /* Enable wakeup mode */ 207 #define PSCR_FPS BIT(3) /* Enable fiber mode PS */ 215 #define PSCR_FOF BIT(9) /* Force PHY in fiber mode */ 232 #define MACCR_PSI BIT(6) /* Software Cable-Off */ 529 /* bit 15-11: flags, bit 10-0: packet length */ 531 /* bit 15-11: sequence number, bit 11-0: packet length bar */ 536 /* bit 15-14: flags, bit 13-11: segment number */ 537 /* bit 10-0: segment length */ [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_dsaf_mac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2014-2015 Hisilicon Limited. 57 switch (mac_cb->max_speed) { in hns_get_enet_interface() 59 return g_mac_mode_100[mac_cb->phy_if]; in hns_get_enet_interface() 61 return g_mac_mode_1000[mac_cb->phy_if]; in hns_get_enet_interface() 77 if (!mac_ctrl_drv->get_link_status) in hns_mac_link_anti_shake() 82 mac_ctrl_drv->get_link_status(mac_ctrl_drv, &link_status); in hns_mac_link_anti_shake() 97 if (mac_ctrl_drv->get_link_status) in hns_mac_get_link_status() 98 mac_ctrl_drv->get_link_status(mac_ctrl_drv, link_status); in hns_mac_get_link_status() 102 if (mac_cb->media_type == HNAE_MEDIA_TYPE_FIBER) { in hns_mac_get_link_status() [all …]
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 34 BFA_MFG_TYPE_LIGHTNING_P0 = 902, /* Lightning mezz card - old */ 102 * All numerical fields are in big-endian format. 125 BFA_STATUS_ETIMER = 5, /* Timer expired - Retry, if persists, 129 BFA_STATUS_SFP_UNSUPP = 10, /* Unsupported SFP - Replace SFP */ 132 BFA_STATUS_DEVBUSY = 13, /* Device busy - Retry operation */ 148 BFA_STATUS_IOC_FAILURE = 56, /* IOC failure - Retry, if persists [all …]
|
| /linux/drivers/net/fddi/ |
| H A D | defza.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* FDDI network adapter driver for DEC FDDIcontroller 700/700-C devices. 36 #define FZA_RESET_CLR 0x0000 /* run self-test and return to work */ 43 #define FZA_EVENT_NXM_ERR 0x0080 /* non-existent memory access error; 45 * unsupported partial-word accesses 93 #define FZA_HALT_HOST 0x01 /* host-directed HALT */ 95 #define FZA_HALT_NXM 0x03 /* adapter non-existent memory ref. */ 102 #define FZA_TEST_FATAL 0x00 /* self-test catastrophic failure */ 106 #define FZA_TEST_SRAM_STUCK1 0x04 /* SRAM stuck-at range 1 */ 107 #define FZA_TEST_SRAM_STUCK2 0x05 /* SRAM stuck-at range 2 */ [all …]
|
| /linux/drivers/net/ethernet/alacritech/ |
| H A D | slicoss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/dma-mapping.h> 66 return (idx + 1) & (qlen - 1); in slic_next_queue_idx() 74 return (qlen - (put_idx - done_idx) - 1); in slic_get_free_queue_descs() 75 return (done_idx - put_idx - 1); in slic_get_free_queue_descs() 80 struct slic_stat_queue *stq = &sdev->stq; in slic_next_compl_idx() 81 unsigned int active = stq->active_array; in slic_next_compl_idx() 86 descs = stq->descs[active]; in slic_next_compl_idx() 87 stat = &descs[stq->done_idx]; in slic_next_compl_idx() 89 if (!stat->status) in slic_next_compl_idx() [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 19 * igb_get_bus_info_pcie - Get PCIe bus information 28 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie() 33 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie() 39 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie() 40 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() 44 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie() 47 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie() 50 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() [all …]
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip06.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip06-d03"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|