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, reg::C22, DeviceId, Driver},
30 // Performs a software PHY reset using the standard
32 // Toggle BMCR_RESET bit off to accommodate broken AX8796B PHY implementation
33 // such as used on the Individual Computers' X-Surf 100 Zorro card.
34 fn asix_soft_reset(dev: &mut phy::Device) -> Result { in asix_soft_reset()
43 const FLAGS: u32 = phy::flags::IS_INTERNAL;
50 fn read_status(dev: &mut phy::Device) -> Result<u16> { in read_status()
66 phy::DuplexMode::Full in read_status()
68 phy::DuplexMode::Half in read_status()
81 fn suspend(dev: &mut phy::Device) -> Result { in suspend()
85 fn resume(dev: &mut phy::Device) -> Result { in resume()
89 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()
93 fn link_change_notify(dev: &mut phy::Device) { in link_change_notify() argument
94 // Reset PHY, otherwise MII_LPA will provide outdated information. in link_change_notify()
96 if dev.state() == phy::DeviceState::NoLink { in link_change_notify()
107 const FLAGS: u32 = phy::flags::IS_INTERNAL;
111 fn suspend(dev: &mut phy::Device) -> Result { in suspend()
115 fn resume(dev: &mut phy::Device) -> Result { in resume()
119 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()
131 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()