Home
last modified time | relevance | path

Searched +full:auto +full:- +full:negotiation (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/drivers/net/phy/
Dphy-c45.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * genphy_c45_setup_forced - configures a forced speed
20 if (phydev->duplex != DUPLEX_FULL) in genphy_c45_pma_setup_forced()
21 return -EINVAL; in genphy_c45_pma_setup_forced()
34 * in 802.3-2012 and 802.3-2015. in genphy_c45_pma_setup_forced()
38 switch (phydev->speed) { in genphy_c45_pma_setup_forced()
48 /* Assume 1000base-T */ in genphy_c45_pma_setup_forced()
53 /* Assume 2.5Gbase-T */ in genphy_c45_pma_setup_forced()
58 /* Assume 5Gbase-T */ in genphy_c45_pma_setup_forced()
63 /* Assume 10Gbase-T */ in genphy_c45_pma_setup_forced()
[all …]
Ddp83848.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
27 #define DP83848_MISR_ANC_INT_EN BIT(2) /* Auto-negotiation complete */
55 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in dp83848_config_intr()
73 /* DP83620 always reports Auto Negotiation Ability on BMSR. Instead, in dp83848_config_init()
74 * we check initial value of BMCR Auto negotiation enable bit in dp83848_config_init()
78 phydev->autoneg = AUTONEG_DISABLE; in dp83848_config_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pcs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
25 #define GMAC_AN_CTRL_RAN BIT(9) /* Restart Auto-Negotiation */
26 #define GMAC_AN_CTRL_ANE BIT(12) /* Auto-Negotiation Enable */
34 #define GMAC_AN_STATUS_ANA BIT(3) /* Auto-Negotiation Ability */
35 #define GMAC_AN_STATUS_ANC BIT(5) /* Auto-Negotiation Complete */
48 * dwmac_pcs_isr - TBI, RTBI, or SGMII PHY ISR
53 * Description: it is the ISR for PCS events: Auto-Negotiation Completed and
63 x->irq_pcs_ane_n++; in dwmac_pcs_isr()
69 x->irq_pcs_link_n++; in dwmac_pcs_isr()
78 * dwmac_rane - To restart ANE
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pcs.h29 #define GMAC_AN_CTRL_RAN BIT(9) /* Restart Auto-Negotiation */
30 #define GMAC_AN_CTRL_ANE BIT(12) /* Auto-Negotiation Enable */
38 #define GMAC_AN_STATUS_ANA BIT(3) /* Auto-Negotiation Ability */
39 #define GMAC_AN_STATUS_ANC BIT(5) /* Auto-Negotiation Complete */
52 * dwmac_pcs_isr - TBI, RTBI, or SGMII PHY ISR
57 * Description: it is the ISR for PCS events: Auto-Negotiation Completed and
67 x->irq_pcs_ane_n++; in dwmac_pcs_isr()
73 x->irq_pcs_link_n++; in dwmac_pcs_isr()
82 * dwmac_rane - To restart ANE
86 * Description: this is to just restart the Auto-Negotiation.
[all …]
/kernel/linux/linux-4.19/drivers/net/phy/
Dphy-c45.c11 * genphy_c45_setup_forced - configures a forced speed
19 if (phydev->duplex != DUPLEX_FULL) in genphy_c45_pma_setup_forced()
20 return -EINVAL; in genphy_c45_pma_setup_forced()
33 * in 802.3-2012 and 802.3-2015. in genphy_c45_pma_setup_forced()
37 switch (phydev->speed) { in genphy_c45_pma_setup_forced()
47 /* Assume 1000base-T */ in genphy_c45_pma_setup_forced()
52 /* Assume 10Gbase-T */ in genphy_c45_pma_setup_forced()
56 return -EINVAL; in genphy_c45_pma_setup_forced()
68 * genphy_c45_an_disable_aneg - disable auto-negotiation
71 * Disable auto-negotiation in the Clause 45 PHY. The link parameters
[all …]
Ddp83848.c4 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
35 #define DP83848_MISR_ANC_INT_EN BIT(2) /* Auto-negotiation complete */
63 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in dp83848_config_intr()
86 /* DP83620 always reports Auto Negotiation Ability on BMSR. Instead, in dp83848_config_init()
87 * we check initial value of BMCR Auto negotiation enable bit in dp83848_config_init()
91 phydev->autoneg = AUTONEG_DISABLE; in dp83848_config_init()
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/e1000e/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 * e1000e_get_bus_info_pcie - Get PCIe bus information
16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie()
17 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie()
18 struct e1000_adapter *adapter = hw->adapter; in e1000e_get_bus_info_pcie()
21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
23 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie()
25 pci_read_config_word(adapter->pdev, in e1000e_get_bus_info_pcie()
28 bus->width = (enum e1000_bus_width)((pcie_link_status & in e1000e_get_bus_info_pcie()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 * e1000e_get_bus_info_pcie - Get PCIe bus information
16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie()
17 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie()
18 struct e1000_adapter *adapter = hw->adapter; in e1000e_get_bus_info_pcie()
21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
23 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie()
25 pci_read_config_word(adapter->pdev, in e1000e_get_bus_info_pcie()
28 bus->width = (enum e1000_bus_width)((pcie_link_status & in e1000e_get_bus_info_pcie()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsmscphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define MII_LAN83C185_ISF_INT1 (1<<1) /* Auto-Negotiation Page Received */
12 #define MII_LAN83C185_ISF_INT3 (1<<3) /* Auto-Negotiation LP Ack */
15 #define MII_LAN83C185_ISF_INT6 (1<<6) /* Auto-Negotiation complete */
/kernel/linux/linux-4.19/include/linux/
Dsmscphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define MII_LAN83C185_ISF_INT1 (1<<1) /* Auto-Negotiation Page Received */
12 #define MII_LAN83C185_ISF_INT3 (1<<3) /* Auto-Negotiation LP Ack */
15 #define MII_LAN83C185_ISF_INT6 (1<<6) /* Auto-Negotiation complete */
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_phy.c1 // SPDX-License-Identifier: GPL-2.0
7 * igc_check_reset_block - Check if PHY reset is blocked
25 * igc_get_phy_id - Retrieve the PHY ID and revision
33 struct igc_phy_info *phy = &hw->phy; in igc_get_phy_id()
37 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id()
41 phy->id = (u32)(phy_id << 16); in igc_get_phy_id()
43 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id()
47 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igc_get_phy_id()
48 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igc_get_phy_id()
55 * igc_phy_has_link - Polls PHY for link
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dmii.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * linux/mii.h: definitions for MII-compatible transceivers
23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */
24 #define MII_STAT1000 0x0a /* 1000BASE-T status */
30 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */
45 #define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */
48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */
55 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */
58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */
60 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/
Dmii.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * linux/mii.h: definitions for MII-compatible transceivers
23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */
24 #define MII_STAT1000 0x0a /* 1000BASE-T status */
30 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */
45 #define BMCR_ANRESTART 0x0200 /* Auto negotiation restart */
48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */
55 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */
58 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */
60 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-helper-spi.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
60 * auto negotiation. The result of this function may not match
61 * Octeon's link config if auto negotiation has changed since
72 * function does not influence auto negotiation at the PHY level.
Dcvmx-helper-xaui.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
63 * auto negotiation. The result of this function may not match
64 * Octeon's link config if auto negotiation has changed since
75 * function does not influence auto negotiation at the PHY level.
Dcvmx-helper-sgmii.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
63 * auto negotiation. The result of this function may not match
64 * Octeon's link config if auto negotiation has changed since
75 * function does not influence auto negotiation at the PHY level.
Dcvmx-helper-rgmii.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
43 * Returns Number of RGMII/GMII/MII ports (0-4).
69 * auto negotiation. The result of this function may not match
70 * Octeon's link config if auto negotiation has changed since
81 * function does not influence auto negotiation at the PHY level.
/kernel/linux/linux-4.19/arch/mips/include/asm/octeon/
Dcvmx-helper-spi.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
60 * auto negotiation. The result of this function may not match
61 * Octeon's link config if auto negotiation has changed since
72 * function does not influence auto negotiation at the PHY level.
Dcvmx-helper-sgmii.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
63 * auto negotiation. The result of this function may not match
64 * Octeon's link config if auto negotiation has changed since
75 * function does not influence auto negotiation at the PHY level.
Dcvmx-helper-xaui.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
63 * auto negotiation. The result of this function may not match
64 * Octeon's link config if auto negotiation has changed since
75 * function does not influence auto negotiation at the PHY level.
Dcvmx-helper-rgmii.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
43 * Returns Number of RGMII/GMII/MII ports (0-4).
69 * auto negotiation. The result of this function may not match
70 * Octeon's link config if auto negotiation has changed since
81 * function does not influence auto negotiation at the PHY level.
/kernel/linux/linux-4.19/arch/arm/mach-ks8695/include/mach/
Dregs-misc.h2 * arch/arm/mach-ks8695/include/mach/regs-misc.h
6 * KS8695 - Miscellaneous Registers
35 #define RID_SUBID (0xf << 4) /* Sub-Device ID */
43 #define WMC_WANC (1 << 30) /* Auto-negotiation complete */
44 #define WMC_WANR (1 << 29) /* Auto-negotiation restart */
58 #define WMC_WAND (1 << 15) /* Auto-negotiation disable */
85 #define WPPM_AMDIXP (1 << 7) /* Auto MDIX Parameter */
89 #define WPPM_DMDX (1 << 3) /* Disable Auto MDI/MDIX */
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/intel/
De1000.rst1 .. 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 …]
/kernel/linux/linux-4.19/Documentation/networking/
De1000.rst6 Copyright(c) 1999 - 2013 Intel Corporation.
11 - Identifying Your Adapter
12 - Command Line Parameters
13 - Speed and Duplex Configuration
14 - Additional Configurations
15 - Support
48 -------
52 :Valid Range: 0x01-0x0F, 0x20-0x2F
55 This parameter is a bit-mask that specifies the speed and duplex settings
64 ------
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
127 #include "xgbe-common.h"
132 if (!pdata->phy_if.phy_impl.module_eeprom) in xgbe_phy_module_eeprom()
133 return -ENXIO; in xgbe_phy_module_eeprom()
135 return pdata->phy_if.phy_impl.module_eeprom(pdata, eeprom, data); in xgbe_phy_module_eeprom()
141 if (!pdata->phy_if.phy_impl.module_info) in xgbe_phy_module_info()
142 return -ENXIO; in xgbe_phy_module_info()
144 return pdata->phy_if.phy_impl.module_info(pdata, modinfo); in xgbe_phy_module_info()
199 switch (pdata->an_mode) { in xgbe_an_enable_interrupts()
[all …]

12345678910>>...17