Lines Matching +full:auto +full:- +full:negotiation
1 // SPDX-License-Identifier: GPL-2.0
45 fn read(&self, dev: &mut Device) -> Result<u16>; in read()
48 fn write(&self, dev: &mut Device, val: u16) -> Result; in write()
51 fn read_status(dev: &mut Device) -> Result<u16>; in read_status()
67 /// Auto-negotiation advertisement.
69 /// Auto-negotiation link partner base page ability.
71 /// Auto-negotiation expansion.
73 /// Auto-negotiation next page transmit.
75 /// Auto-negotiation link partner received next page.
77 /// Master-slave control.
79 /// Master-slave status.
93 pub const fn vendor_specific<const N: u8>() -> Self { in vendor_specific()
96 "Vendor-specific register address must be between 16 and 31" in vendor_specific()
105 fn read(&self, dev: &mut Device) -> Result<u16> { in read()
117 fn write(&self, dev: &mut Device, val: u16) -> Result { in write()
127 fn read_status(dev: &mut Device) -> Result<u16> { in read_status()
154 /// Auto negotiation.
178 /// Clause 45 uses a 5-bit device address to access a specific MMD within
179 /// a port, then a 16-bit register address to access a location within
189 pub fn new(devad: Mmd, regnum: u16) -> Self { in new()
197 fn read(&self, dev: &mut Device) -> Result<u16> { in read()
207 fn write(&self, dev: &mut Device, val: u16) -> Result { in write()
216 fn read_status(dev: &mut Device) -> Result<u16> { in read_status()