Home
last modified time | relevance | path

Searched refs:aspeed_mdio_op (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/mdio/
H A Dmdio-aspeed.c48 static int aspeed_mdio_op(struct mii_bus *bus, u8 st, u8 op, u8 phyad, u8 regad, in aspeed_mdio_op() function
92 rc = aspeed_mdio_op(bus, ASPEED_MDIO_CTRL_ST_C22, MDIO_C22_OP_READ, in aspeed_mdio_read_c22()
103 return aspeed_mdio_op(bus, ASPEED_MDIO_CTRL_ST_C22, MDIO_C22_OP_WRITE, in aspeed_mdio_write_c22()
112 rc = aspeed_mdio_op(bus, ASPEED_MDIO_CTRL_ST_C45, MDIO_C45_OP_ADDR, in aspeed_mdio_read_c45()
117 rc = aspeed_mdio_op(bus, ASPEED_MDIO_CTRL_ST_C45, MDIO_C45_OP_READ, in aspeed_mdio_read_c45()
130 rc = aspeed_mdio_op(bus, ASPEED_MDIO_CTRL_ST_C45, MDIO_C45_OP_ADDR, in aspeed_mdio_write_c45()
135 return aspeed_mdio_op(bus, ASPEED_MDIO_CTRL_ST_C45, MDIO_C45_OP_WRITE, in aspeed_mdio_write_c45()