Lines Matching defs:phy_driver
468 struct phy_driver { struct
469 struct mdio_driver_common mdiodrv;
470 u32 phy_id;
471 char *name;
472 u32 phy_id_mask;
473 const unsigned long * const features;
474 u32 flags;
475 const void *driver_data;
480 int (*soft_reset)(struct phy_device *phydev);
486 int (*config_init)(struct phy_device *phydev);
492 int (*probe)(struct phy_device *phydev);
498 int (*get_features)(struct phy_device *phydev);
501 int (*suspend)(struct phy_device *phydev);
502 int (*resume)(struct phy_device *phydev);
510 int (*config_aneg)(struct phy_device *phydev);
513 int (*aneg_done)(struct phy_device *phydev);
516 int (*read_status)(struct phy_device *phydev);
519 int (*ack_interrupt)(struct phy_device *phydev);
522 int (*config_intr)(struct phy_device *phydev);
528 int (*did_interrupt)(struct phy_device *phydev);
531 int (*handle_interrupt)(struct phy_device *phydev);
534 void (*remove)(struct phy_device *phydev);
540 int (*match_phy_device)(struct phy_device *phydev);
543 int (*ts_info)(struct phy_device *phydev, struct ethtool_ts_info *ti);
546 int (*hwtstamp)(struct phy_device *phydev, struct ifreq *ifr);
555 bool (*rxtstamp)(struct phy_device *dev, struct sk_buff *skb, int type);
563 void (*txtstamp)(struct phy_device *dev, struct sk_buff *skb, int type);
568 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
571 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
580 void (*link_change_notify)(struct phy_device *dev);
591 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
603 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
606 int (*read_page)(struct phy_device *dev);
607 int (*write_page)(struct phy_device *dev, int page);
633 struct phy_driver, mdiodrv) argument