Lines Matching +full:phy +full:- +full:device
1 // SPDX-License-Identifier: GPL-2.0
6 //! C version of this driver: [`drivers/net/phy/ax88796b.c`](./ax88796b.c)
9 net::phy::{self, DeviceId, Driver},
31 // Performs a software PHY reset using the standard
33 // Toggle BMCR_RESET bit off to accommodate broken AX8796B PHY implementation
34 // such as used on the Individual Computers' X-Surf 100 Zorro card.
35 fn asix_soft_reset(dev: &mut phy::Device) -> Result { in asix_soft_reset()
44 const FLAGS: u32 = phy::flags::IS_INTERNAL;
51 fn read_status(dev: &mut phy::Device) -> Result<u16> { in read_status()
67 phy::DuplexMode::Full in read_status()
69 phy::DuplexMode::Half in read_status()
82 fn suspend(dev: &mut phy::Device) -> Result { in suspend()
86 fn resume(dev: &mut phy::Device) -> Result { in resume()
90 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()
94 fn link_change_notify(dev: &mut phy::Device) { in link_change_notify() argument
95 // Reset PHY, otherwise MII_LPA will provide outdated information. in link_change_notify()
97 if dev.state() == phy::DeviceState::NoLink { in link_change_notify()
108 const FLAGS: u32 = phy::flags::IS_INTERNAL;
112 fn suspend(dev: &mut phy::Device) -> Result { in suspend()
116 fn resume(dev: &mut phy::Device) -> Result { in resume()
120 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()
132 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()