Lines Matching defs:phy_driver
449 struct phy_driver { struct
450 u32 phy_id;
451 char *name;
452 unsigned int phy_id_mask;
453 u32 features;
454 u32 flags;
455 const void *driver_data;
460 int (*soft_reset)(struct phy_device *phydev);
466 int (*config_init)(struct phy_device *phydev);
472 int (*probe)(struct phy_device *phydev);
475 int (*suspend)(struct phy_device *phydev);
476 int (*resume)(struct phy_device *phydev);
484 int (*config_aneg)(struct phy_device *phydev);
487 int (*aneg_done)(struct phy_device *phydev);
490 int (*read_status)(struct phy_device *phydev);
493 int (*ack_interrupt)(struct phy_device *phydev);
496 int (*config_intr)(struct phy_device *phydev);
502 int (*did_interrupt)(struct phy_device *phydev);
505 void (*remove)(struct phy_device *phydev);
511 int (*match_phy_device)(struct phy_device *phydev);
514 int (*ts_info)(struct phy_device *phydev, struct ethtool_ts_info *ti);
517 int (*hwtstamp)(struct phy_device *phydev, struct ifreq *ifr);
526 bool (*rxtstamp)(struct phy_device *dev, struct sk_buff *skb, int type);
534 void (*txtstamp)(struct phy_device *dev, struct sk_buff *skb, int type);
539 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
542 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
551 void (*link_change_notify)(struct phy_device *dev);
582 #define to_phy_driver(d) container_of(d, struct phy_driver, driver) argument