Lines Matching refs:devad
138 * @devad: device address used in Clause 45 access
143 int devad;
456 static int adin_cl45_to_adin_reg(struct phy_device *phydev, int devad,
462 if (devad == MDIO_MMD_VEND1)
467 if (m->devad == devad && m->cl45_regnum == cl45_regnum)
472 "No translation available for devad: %d reg: %04x\n",
473 devad, cl45_regnum);
478 static int adin_read_mmd(struct phy_device *phydev, int devad, u16 regnum)
485 adin_regnum = adin_cl45_to_adin_reg(phydev, devad, regnum);
497 static int adin_write_mmd(struct phy_device *phydev, int devad, u16 regnum,
505 adin_regnum = adin_cl45_to_adin_reg(phydev, devad, regnum);