Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/mdio/
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() argument
55 __func__, st, op, phyad, regad, data); in aspeed_mdio_op()
60 | FIELD_PREP(ASPEED_MDIO_CTRL_PHYAD, phyad) in aspeed_mdio_op()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_mdio.c34 u8 phyad; member
59 hnae3_set_field(mdio_cmd->phyad, HCLGE_MDIO_PHYREG_M, in hclge_mdio_write()
97 hnae3_set_field(mdio_cmd->phyad, HCLGE_MDIO_PHYREG_M, in hclge_mdio_read()
/linux-6.3-rc2/drivers/net/ethernet/
A Dfealnx.c698 static ulong m80x_send_cmd_to_phy(void __iomem *miiport, int opcode, int phyad, int regad) in m80x_send_cmd_to_phy() argument
722 data = opcode | (phyad << 7) | (regad << 2); in m80x_send_cmd_to_phy()
747 static int mdio_read(struct net_device *dev, int phyad, int regad) in mdio_read() argument
754 miir = m80x_send_cmd_to_phy(miiport, OP_READ, phyad, regad); in mdio_read()
786 static void mdio_write(struct net_device *dev, int phyad, int regad, int data) in mdio_write() argument
793 miir = m80x_send_cmd_to_phy(miiport, OP_WRITE, phyad, regad); in mdio_write()
/linux-6.3-rc2/drivers/net/ethernet/renesas/
A Drswitch.c1074 int phyad, int devad, int regad, int data) in rswitch_etha_set_access() argument
1086 iowrite32((regad << 16) | (devad << 8) | (phyad << 3) | val, etha->addr + MPSM); in rswitch_etha_set_access()
1095 writel((pop << 13) | (devad << 8) | (phyad << 3) | val, etha->addr + MPSM); in rswitch_etha_set_access()
1105 iowrite32((data << 16) | (pop << 13) | (devad << 8) | (phyad << 3) | val, in rswitch_etha_set_access()

Completed in 15 milliseconds