Lines Matching refs:DeviceState
22 pub enum DeviceState { enum
103 pub fn state(&self) -> DeviceState { in state() argument
111 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()
119 _ => DeviceState::Error, in state()