Lines Matching defs:phy_driver

694 struct phy_driver {  struct
695 struct mdio_driver_common mdiodrv;
696 u32 phy_id;
697 char *name;
698 u32 phy_id_mask;
699 const unsigned long * const features;
700 u32 flags;
701 const void *driver_data;
706 int (*soft_reset)(struct phy_device *phydev);
712 int (*config_init)(struct phy_device *phydev);
718 int (*probe)(struct phy_device *phydev);
724 int (*get_features)(struct phy_device *phydev);
728 int (*suspend)(struct phy_device *phydev);
730 int (*resume)(struct phy_device *phydev);
738 int (*config_aneg)(struct phy_device *phydev);
741 int (*aneg_done)(struct phy_device *phydev);
744 int (*read_status)(struct phy_device *phydev);
747 int (*ack_interrupt)(struct phy_device *phydev);
750 int (*config_intr)(struct phy_device *phydev);
757 int (*did_interrupt)(struct phy_device *phydev);
760 irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
763 void (*remove)(struct phy_device *phydev);
770 int (*match_phy_device)(struct phy_device *phydev);
778 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
784 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
794 void (*link_change_notify)(struct phy_device *dev);
806 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
818 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
822 int (*read_page)(struct phy_device *dev);
824 int (*write_page)(struct phy_device *dev, int page);
830 int (*module_info)(struct phy_device *dev,
837 int (*module_eeprom)(struct phy_device *dev,
841 int (*cable_test_start)(struct phy_device *dev);
844 int (*cable_test_tdr_start)(struct phy_device *dev,
851 int (*cable_test_get_status)(struct phy_device *dev, bool *finished);
878 struct phy_driver, mdiodrv) argument