Lines Matching full:pub

18     pub trait Sealed {}
43 pub trait Register: private::Sealed {
56 pub struct C22(u8);
60 pub const BMCR: Self = C22(0x00);
62 pub const BMSR: Self = C22(0x01);
64 pub const PHYSID1: Self = C22(0x02);
66 pub const PHYSID2: Self = C22(0x03);
68 pub const ADVERTISE: Self = C22(0x04);
70 pub const LPA: Self = C22(0x05);
72 pub const EXPANSION: Self = C22(0x06);
74 pub const NEXT_PAGE_TRANSMIT: Self = C22(0x07);
76 pub const LP_RECEIVED_NEXT_PAGE: Self = C22(0x08);
78 pub const MASTER_SLAVE_CONTROL: Self = C22(0x09);
80 pub const MASTER_SLAVE_STATUS: Self = C22(0x0a);
82 pub const PSE_CONTROL: Self = C22(0x0b);
84 pub const PSE_STATUS: Self = C22(0x0c);
86 pub const MMD_CONTROL: Self = C22(0x0d);
88 pub const MMD_DATA: Self = C22(0x0e);
90 pub const EXTENDED_STATUS: Self = C22(0x0f);
93 pub const fn vendor_specific<const N: u8>() -> Self { in vendor_specific()
139 pub struct Mmd(u8);
143 pub const PMAPMD: Self = Mmd(uapi::MDIO_MMD_PMAPMD as u8);
145 pub const WIS: Self = Mmd(uapi::MDIO_MMD_WIS as u8);
147 pub const PCS: Self = Mmd(uapi::MDIO_MMD_PCS as u8);
149 pub const PHYXS: Self = Mmd(uapi::MDIO_MMD_PHYXS as u8);
151 pub const DTEXS: Self = Mmd(uapi::MDIO_MMD_DTEXS as u8);
153 pub const TC: Self = Mmd(uapi::MDIO_MMD_TC as u8);
155 pub const AN: Self = Mmd(uapi::MDIO_MMD_AN as u8);
157 pub const SEPARATED_PMA1: Self = Mmd(8);
159 pub const SEPARATED_PMA2: Self = Mmd(9);
161 pub const SEPARATED_PMA3: Self = Mmd(10);
163 pub const SEPARATED_PMA4: Self = Mmd(11);
165 pub const OFDM_PMAPMD: Self = Mmd(12);
167 pub const POWER_UNIT: Self = Mmd(13);
169 pub const C22_EXT: Self = Mmd(uapi::MDIO_MMD_C22EXT as u8);
171 pub const VEND1: Self = Mmd(uapi::MDIO_MMD_VEND1 as u8);
173 pub const VEND2: Self = Mmd(uapi::MDIO_MMD_VEND2 as u8);
182 pub struct C45 {
189 pub fn new(devad: Mmd, regnum: u16) -> Self { in new()