Searched refs:mdio_transfer (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.6.0/drivers/mdio/ |
D | mdio_sam.c | 42 static int mdio_transfer(const struct device *dev, uint8_t prtad, uint8_t regad, in mdio_transfer() function 84 return mdio_transfer(dev, prtad, regad, MDIO_OP_C22_READ, false, in mdio_sam_read() 91 return mdio_transfer(dev, prtad, regad, MDIO_OP_C22_WRITE, false, in mdio_sam_write() 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() 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()
|
D | mdio_esp32.c | 33 static int mdio_transfer(const struct device *dev, uint8_t prtad, uint8_t regad, in mdio_transfer() function 79 return mdio_transfer(dev, prtad, regad, false, 0, data); in mdio_esp32_read() 86 return mdio_transfer(dev, prtad, regad, true, data, NULL); in mdio_esp32_write()
|