Searched refs:phyad (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mdio.c | 34 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()
|
/drivers/net/ethernet/ |
D | fealnx.c | 696 static ulong m80x_send_cmd_to_phy(void __iomem *miiport, int opcode, int phyad, int regad) in m80x_send_cmd_to_phy() argument 720 data = opcode | (phyad << 7) | (regad << 2); in m80x_send_cmd_to_phy() 745 static int mdio_read(struct net_device *dev, int phyad, int regad) in mdio_read() argument 752 miir = m80x_send_cmd_to_phy(miiport, OP_READ, phyad, regad); in mdio_read() 784 static void mdio_write(struct net_device *dev, int phyad, int regad, int data) in mdio_write() argument 791 miir = m80x_send_cmd_to_phy(miiport, OP_WRITE, phyad, regad); in mdio_write()
|