Lines Matching +full:full +full:- +full:duplex
5 * SPDX-License-Identifier: Apache-2.0
18 /* Maximum time to establish a link through auto-negotiation for
19 * 10BASE-T, 100BASE-TX is 3.7s, to add an extra margin the timeout
27 eth->NETWORKCTRL |= ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_enable()
33 eth->NETWORKCTRL &= ~ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_disable()
41 while (!(eth->NETWORKSTATUS & ETH_NETWORKSTATUS_MANDONE)) { in mdio_bus_wait()
42 if (retries-- == 0U) { in mdio_bus_wait()
44 return -ETIMEDOUT; in mdio_bus_wait()
60 eth->PHYMNGMNT = ETH_PHYMNGMNT_WRITE0_DEFAULT in mdio_bus_send()
83 ETH_TypeDef *const eth = phy->regs; in phy_read()
84 uint8_t phy_addr = phy->address; in phy_read()
93 *value = eth->PHYMNGMNT & _ETH_PHYMNGMNT_PHYRWDATA_MASK; in phy_read()
102 ETH_TypeDef *const eth = phy->regs; in phy_write()
103 uint8_t phy_addr = phy->address; in phy_write()
126 if (retries-- == 0U) { in phy_soft_reset()
127 return -ETIMEDOUT; in phy_soft_reset()
143 ETH_TypeDef *const eth = phy->regs; in phy_gecko_init()
155 return -1; in phy_gecko_init()
158 LOG_INF("PHYID: 0x%X at addr: %d", phy_id, phy->address); in phy_gecko_init()
167 ETH_TypeDef *const eth = phy->regs; in phy_gecko_id_get()
193 ETH_TypeDef *const eth = phy->regs; in phy_gecko_auto_negotiate()
202 LOG_DBG("Starting ETH PHY auto-negotiate sequence"); in phy_gecko_auto_negotiate()
210 /* Configure and start auto-negotiation process */ in phy_gecko_auto_negotiate()
224 /* Wait for the auto-negotiation process to complete */ in phy_gecko_auto_negotiate()
226 if (retries-- == 0U) { in phy_gecko_auto_negotiate()
227 retval = -ETIMEDOUT; in phy_gecko_auto_negotiate()
239 LOG_DBG("PHY auto-negotiate sequence completed"); in phy_gecko_auto_negotiate()
258 LOG_DBG("common abilities: speed %s Mb, %s duplex", in phy_gecko_auto_negotiate()
260 *status & ETH_NETWORKCFG_FULLDUPLEX ? "full" : "half"); in phy_gecko_auto_negotiate()
269 ETH_TypeDef *const eth = phy->regs; in phy_gecko_is_linked()