Lines Matching defs:phy_driver
898 struct phy_driver { struct
899 struct mdio_driver_common mdiodrv;
900 u32 phy_id;
901 char *name;
902 u32 phy_id_mask;
903 const unsigned long * const features;
904 u32 flags;
905 const void *driver_data;
910 int (*soft_reset)(struct phy_device *phydev);
916 int (*config_init)(struct phy_device *phydev);
922 int (*probe)(struct phy_device *phydev);
928 int (*get_features)(struct phy_device *phydev);
935 unsigned int (*inband_caps)(struct phy_device *phydev,
941 int (*config_inband)(struct phy_device *phydev, unsigned int modes);
952 int (*get_rate_matching)(struct phy_device *phydev,
957 int (*suspend)(struct phy_device *phydev);
959 int (*resume)(struct phy_device *phydev);
967 int (*config_aneg)(struct phy_device *phydev);
970 int (*aneg_done)(struct phy_device *phydev);
973 int (*read_status)(struct phy_device *phydev);
980 int (*config_intr)(struct phy_device *phydev);
983 irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
986 void (*remove)(struct phy_device *phydev);
993 int (*match_phy_device)(struct phy_device *phydev);
1001 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1007 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1017 void (*link_change_notify)(struct phy_device *dev);
1029 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
1041 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
1045 int (*read_page)(struct phy_device *dev);
1047 int (*write_page)(struct phy_device *dev, int page);
1053 int (*module_info)(struct phy_device *dev,
1060 int (*module_eeprom)(struct phy_device *dev,
1064 int (*cable_test_start)(struct phy_device *dev);
1067 int (*cable_test_tdr_start)(struct phy_device *dev,
1074 int (*cable_test_get_status)(struct phy_device *dev, bool *finished);
1089 void (*get_phy_stats)(struct phy_device *dev,
1104 void (*get_link_stats)(struct phy_device *dev,
1122 int (*update_stats)(struct phy_device *dev);
1125 int (*get_sset_count)(struct phy_device *dev);
1127 void (*get_strings)(struct phy_device *dev, u8 *data);
1129 void (*get_stats)(struct phy_device *dev,
1134 int (*get_tunable)(struct phy_device *dev,
1137 int (*set_tunable)(struct phy_device *dev,
1149 int (*set_loopback)(struct phy_device *dev, bool enable, int speed);
1151 int (*get_sqi)(struct phy_device *dev);
1153 int (*get_sqi_max)(struct phy_device *dev);
1157 int (*get_plca_cfg)(struct phy_device *dev,
1160 int (*set_plca_cfg)(struct phy_device *dev,
1163 int (*get_plca_status)(struct phy_device *dev,
1172 int (*led_brightness_set)(struct phy_device *dev,
1183 int (*led_blink_set)(struct phy_device *dev, u8 index,
1194 int (*led_hw_is_supported)(struct phy_device *dev, u8 index,
1204 int (*led_hw_control_set)(struct phy_device *dev, u8 index,
1216 int (*led_hw_control_get)(struct phy_device *dev, u8 index,
1247 struct phy_driver, mdiodrv) argument