Searched refs:DeviceState (Results 1 – 5 of 5) sorted by relevance
22 pub enum DeviceState { enum103 pub fn state(&self) -> DeviceState { in state() argument111 bindings::phy_state_PHY_DOWN => DeviceState::Down, in state()112 bindings::phy_state_PHY_READY => DeviceState::Ready, in state()113 bindings::phy_state_PHY_HALTED => DeviceState::Halted, in state()114 bindings::phy_state_PHY_ERROR => DeviceState::Error, in state()115 bindings::phy_state_PHY_UP => DeviceState::Up, in state()116 bindings::phy_state_PHY_RUNNING => DeviceState::Running, in state()117 bindings::phy_state_PHY_NOLINK => DeviceState::NoLink, in state()118 bindings::phy_state_PHY_CABLETEST => DeviceState::CableTest, in state()[all …]
96 if dev.state() == phy::DeviceState::NoLink { in link_change_notify()
199 uint16_t DeviceState; member
30 static inline void myrb_translate_devstate(void *DeviceState);