Home
last modified time | relevance | path

Searched refs:link_status (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/lib/ptp/
Dport.h48 uint8_t link_status; member
Dport.c881 port->link_status = PORT_LINK_UP; in port_enable()
980 if (iface_state & port->link_status) { in port_link_monitor()
981 port->link_status = iface_state; in port_link_monitor()
983 port->link_status = iface_state | PORT_LINK_CHANGED; in port_link_monitor()
986 port->link_status & PORT_LINK_UP ? "up" : "down"); in port_link_monitor()
989 if (port->link_status & PORT_LINK_CHANGED) { in port_link_monitor()
992 port->link_status ^= PORT_LINK_CHANGED; in port_link_monitor()
995 if (port->link_status & PORT_LINK_DOWN) { in port_link_monitor()
/Zephyr-latest/drivers/ethernet/
Deth_gecko.c71 uint32_t link_status; in eth_gecko_setup_mac() local
75 result = phy_gecko_auto_negotiate(&cfg->phy, &link_status); in eth_gecko_setup_mac()
82 link_status & ETH_NETWORKCFG_SPEED ? "100" : "10"); in eth_gecko_setup_mac()
84 link_status & ETH_NETWORKCFG_FULLDUPLEX ? "Full" : "Half"); in eth_gecko_setup_mac()
87 link_configure(eth, link_status); in eth_gecko_setup_mac()
Deth_xlnx_gem.c1218 uint8_t link_status; in eth_xlnx_gem_poll_phy() local
1233 link_status = dev_data->phy_access_api->phy_poll_link_status_func(dev); in eth_xlnx_gem_poll_phy()
1235 if (link_status == 0) { in eth_xlnx_gem_poll_phy()