Lines Matching refs:prtad
42 static int mdio_transfer(const struct device *dev, uint8_t prtad, uint8_t regad, in mdio_transfer() argument
56 | GMAC_MAN_PHYA(prtad) in mdio_transfer()
81 static int mdio_sam_read(const struct device *dev, uint8_t prtad, uint8_t regad, in mdio_sam_read() argument
84 return mdio_transfer(dev, prtad, regad, MDIO_OP_C22_READ, false, in mdio_sam_read()
88 static int mdio_sam_write(const struct device *dev, uint8_t prtad, in mdio_sam_write() argument
91 return mdio_transfer(dev, prtad, regad, MDIO_OP_C22_WRITE, false, in mdio_sam_write()
95 static int mdio_sam_read_c45(const struct device *dev, uint8_t prtad, in mdio_sam_read_c45() argument
100 err = mdio_transfer(dev, prtad, devad, MDIO_OP_C45_ADDRESS, true, in mdio_sam_read_c45()
103 err = mdio_transfer(dev, prtad, devad, MDIO_OP_C45_READ, true, in mdio_sam_read_c45()
110 static int mdio_sam_write_c45(const struct device *dev, uint8_t prtad, in mdio_sam_write_c45() argument
115 err = mdio_transfer(dev, prtad, devad, MDIO_OP_C45_ADDRESS, true, in mdio_sam_write_c45()
118 err = mdio_transfer(dev, prtad, devad, MDIO_OP_C45_WRITE, true, in mdio_sam_write_c45()