Lines Matching defs:phy_driver
461 struct phy_driver { struct
462 u32 phy_id;
463 char *name;
464 unsigned int phy_id_mask;
465 u32 features;
466 u32 flags;
467 const void *driver_data;
472 int (*soft_reset)(struct phy_device *phydev);
478 int (*config_init)(struct phy_device *phydev);
484 int (*probe)(struct phy_device *phydev);
487 int (*suspend)(struct phy_device *phydev);
488 int (*resume)(struct phy_device *phydev);
496 int (*config_aneg)(struct phy_device *phydev);
499 int (*aneg_done)(struct phy_device *phydev);
502 int (*read_status)(struct phy_device *phydev);
505 int (*ack_interrupt)(struct phy_device *phydev);
508 int (*config_intr)(struct phy_device *phydev);
514 int (*did_interrupt)(struct phy_device *phydev);
517 void (*remove)(struct phy_device *phydev);
523 int (*match_phy_device)(struct phy_device *phydev);
526 int (*ts_info)(struct phy_device *phydev, struct ethtool_ts_info *ti);
529 int (*hwtstamp)(struct phy_device *phydev, struct ifreq *ifr);
538 bool (*rxtstamp)(struct phy_device *dev, struct sk_buff *skb, int type);
546 void (*txtstamp)(struct phy_device *dev, struct sk_buff *skb, int type);
551 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
554 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
563 void (*link_change_notify)(struct phy_device *dev);
594 #define to_phy_driver(d) container_of(d, struct phy_driver, driver) argument