Lines Matching +full:0 +full:xc302
40 const PHY_DEVICE_ID: phy::DeviceId = phy::DeviceId::new_with_exact_mask(0x0043a400);
44 // Only 0x3b works with this driver and firmware. in probe()
45 let hw_rev = dev.read(C45::new(Mmd::PMAPMD, 0xd001))?; in probe()
46 if (hw_rev >> 8) != 0xb3 { in probe()
51 dev.write(C45::new(Mmd::PMAPMD, 0xc300), 0x0000)?; in probe()
53 dev.write(C45::new(Mmd::PMAPMD, 0xc302), 0x0004)?; in probe()
55 dev.write(C45::new(Mmd::PMAPMD, 0xc319), 0x0038)?; in probe()
57 dev.write(C45::new(Mmd::PMAPMD, 0xc31a), 0x0098)?; in probe()
61 dev.write(C45::new(Mmd::PCS, 0x0026), 0x0e00)?; in probe()
62 dev.write(C45::new(Mmd::PCS, 0x0027), 0x0893)?; in probe()
63 dev.write(C45::new(Mmd::PCS, 0x0028), 0xa528)?; in probe()
64 dev.write(C45::new(Mmd::PCS, 0x0029), 0x0003)?; in probe()
66 dev.write(C45::new(Mmd::PMAPMD, 0xa30a), 0x06e1)?; in probe()
68 dev.write(C45::new(Mmd::PMAPMD, 0xc300), 0x0002)?; in probe()
70 dev.write(C45::new(Mmd::PCS, 0xe854), 0x00c0)?; in probe()
80 let mut dst_offset = 0; in probe()
85 dst_offset = 0; in probe()
89 dev.write(C45::new(dst_mmd, 0x8000 + dst_offset), (*val).into())?; in probe()
94 dev.write(C45::new(Mmd::PCS, 0xe854), 0x0040)?; in probe()