phydrv            237 drivers/net/phy/phy_device.c 	struct phy_driver *phydrv = to_phy_driver(drv);
phydrv            240 drivers/net/phy/phy_device.c 	if (!drv || !phydrv->suspend)
phydrv            484 drivers/net/phy/phy_device.c 	struct phy_driver *phydrv = to_phy_driver(drv);
phydrv            488 drivers/net/phy/phy_device.c 	if (!(phydrv->mdiodrv.flags & MDIO_DEVICE_IS_PHY))
phydrv            491 drivers/net/phy/phy_device.c 	if (phydrv->match_phy_device)
phydrv            492 drivers/net/phy/phy_device.c 		return phydrv->match_phy_device(phydev);
phydrv            499 drivers/net/phy/phy_device.c 			if ((phydrv->phy_id & phydrv->phy_id_mask) ==
phydrv            501 drivers/net/phy/phy_device.c 			     phydrv->phy_id_mask))
phydrv            506 drivers/net/phy/phy_device.c 		return (phydrv->phy_id & phydrv->phy_id_mask) ==
phydrv            507 drivers/net/phy/phy_device.c 			(phydev->phy_id & phydrv->phy_id_mask);
phydrv           1452 drivers/net/phy/phy_device.c 	struct phy_driver *phydrv = to_phy_driver(phydev->mdio.dev.driver);
phydrv           1462 drivers/net/phy/phy_device.c 	if (phydev->drv && phydrv->suspend)
phydrv           1463 drivers/net/phy/phy_device.c 		ret = phydrv->suspend(phydev);
phydrv           1476 drivers/net/phy/phy_device.c 	struct phy_driver *phydrv = to_phy_driver(phydev->mdio.dev.driver);
phydrv           1481 drivers/net/phy/phy_device.c 	if (phydev->drv && phydrv->resume)
phydrv           1482 drivers/net/phy/phy_device.c 		ret = phydrv->resume(phydev);
phydrv           1507 drivers/net/phy/phy_device.c 	struct phy_driver *phydrv = to_phy_driver(phydev->mdio.dev.driver);
phydrv           1522 drivers/net/phy/phy_device.c 	if (phydev->drv && phydrv->set_loopback)
phydrv           1523 drivers/net/phy/phy_device.c 		ret = phydrv->set_loopback(phydev, enable);
phydrv           2171 drivers/net/phy/phy_device.c static bool phy_drv_supports_irq(struct phy_driver *phydrv)
phydrv           2173 drivers/net/phy/phy_device.c 	return phydrv->config_intr && phydrv->ack_interrupt;
phydrv           2188 drivers/net/phy/phy_device.c 	struct phy_driver *phydrv = to_phy_driver(drv);
phydrv           2191 drivers/net/phy/phy_device.c 	phydev->drv = phydrv;
phydrv           2196 drivers/net/phy/phy_device.c 	 if (!phy_drv_supports_irq(phydrv) && phy_interrupt_is_valid(phydev))
phydrv           2199 drivers/net/phy/phy_device.c 	if (phydrv->flags & PHY_IS_INTERNAL)
phydrv           2220 drivers/net/phy/phy_device.c 	if (phydrv->features) {
phydrv           2221 drivers/net/phy/phy_device.c 		linkmode_copy(phydev->supported, phydrv->features);
phydrv           2222 drivers/net/phy/phy_device.c 	} else if (phydrv->get_features) {
phydrv           2223 drivers/net/phy/phy_device.c 		err = phydrv->get_features(phydev);