Lines Matching defs:phy_driver
930 struct phy_driver { struct
931 struct mdio_driver_common mdiodrv;
932 u32 phy_id;
933 char *name;
934 u32 phy_id_mask;
935 const unsigned long * const features;
936 u32 flags;
937 const void *driver_data;
942 int (*soft_reset)(struct phy_device *phydev);
948 int (*config_init)(struct phy_device *phydev);
954 int (*probe)(struct phy_device *phydev);
960 int (*get_features)(struct phy_device *phydev);
971 int (*get_rate_matching)(struct phy_device *phydev,
976 int (*suspend)(struct phy_device *phydev);
978 int (*resume)(struct phy_device *phydev);
986 int (*config_aneg)(struct phy_device *phydev);
989 int (*aneg_done)(struct phy_device *phydev);
992 int (*read_status)(struct phy_device *phydev);
999 int (*config_intr)(struct phy_device *phydev);
1002 irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
1005 void (*remove)(struct phy_device *phydev);
1012 int (*match_phy_device)(struct phy_device *phydev);
1020 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1026 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1036 void (*link_change_notify)(struct phy_device *dev);
1048 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
1060 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
1064 int (*read_page)(struct phy_device *dev);
1066 int (*write_page)(struct phy_device *dev, int page);
1072 int (*module_info)(struct phy_device *dev,
1079 int (*module_eeprom)(struct phy_device *dev,
1083 int (*cable_test_start)(struct phy_device *dev);
1086 int (*cable_test_tdr_start)(struct phy_device *dev,
1093 int (*cable_test_get_status)(struct phy_device *dev, bool *finished);
1108 void (*get_phy_stats)(struct phy_device *dev,
1123 void (*get_link_stats)(struct phy_device *dev,
1126 int (*get_sset_count)(struct phy_device *dev);
1128 void (*get_strings)(struct phy_device *dev, u8 *data);
1130 void (*get_stats)(struct phy_device *dev,
1135 int (*get_tunable)(struct phy_device *dev,
1138 int (*set_tunable)(struct phy_device *dev,
1142 int (*set_loopback)(struct phy_device *dev, bool enable);
1144 int (*get_sqi)(struct phy_device *dev);
1146 int (*get_sqi_max)(struct phy_device *dev);
1150 int (*get_plca_cfg)(struct phy_device *dev,
1153 int (*set_plca_cfg)(struct phy_device *dev,
1156 int (*get_plca_status)(struct phy_device *dev,
1165 int (*led_brightness_set)(struct phy_device *dev,
1176 int (*led_blink_set)(struct phy_device *dev, u8 index,
1187 int (*led_hw_is_supported)(struct phy_device *dev, u8 index,
1197 int (*led_hw_control_set)(struct phy_device *dev, u8 index,
1230 struct phy_driver, mdiodrv) argument