Lines Matching defs:phy_driver
702 struct phy_driver { struct
703 struct mdio_driver_common mdiodrv;
704 u32 phy_id;
705 char *name;
706 u32 phy_id_mask;
707 const unsigned long * const features;
708 u32 flags;
709 const void *driver_data;
714 int (*soft_reset)(struct phy_device *phydev);
720 int (*config_init)(struct phy_device *phydev);
726 int (*probe)(struct phy_device *phydev);
732 int (*get_features)(struct phy_device *phydev);
736 int (*suspend)(struct phy_device *phydev);
738 int (*resume)(struct phy_device *phydev);
746 int (*config_aneg)(struct phy_device *phydev);
749 int (*aneg_done)(struct phy_device *phydev);
752 int (*read_status)(struct phy_device *phydev);
755 int (*ack_interrupt)(struct phy_device *phydev);
758 int (*config_intr)(struct phy_device *phydev);
765 int (*did_interrupt)(struct phy_device *phydev);
768 irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
771 void (*remove)(struct phy_device *phydev);
778 int (*match_phy_device)(struct phy_device *phydev);
786 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
792 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
802 void (*link_change_notify)(struct phy_device *dev);
814 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
826 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
830 int (*read_page)(struct phy_device *dev);
832 int (*write_page)(struct phy_device *dev, int page);
838 int (*module_info)(struct phy_device *dev,
845 int (*module_eeprom)(struct phy_device *dev,
849 int (*cable_test_start)(struct phy_device *dev);
852 int (*cable_test_tdr_start)(struct phy_device *dev,
859 int (*cable_test_get_status)(struct phy_device *dev, bool *finished);
863 int (*get_sset_count)(struct phy_device *dev);
888 #define to_phy_driver(d) container_of(to_mdio_common_driver(d), \ argument
889 struct phy_driver, mdiodrv) argument