Lines Matching defs:phy_driver
950 struct phy_driver { struct
951 struct mdio_driver_common mdiodrv;
952 u32 phy_id;
953 char *name;
954 u32 phy_id_mask;
955 const unsigned long * const features;
956 u32 flags;
957 const void *driver_data;
962 int (*soft_reset)(struct phy_device *phydev);
968 int (*config_init)(struct phy_device *phydev);
974 int (*probe)(struct phy_device *phydev);
980 int (*get_features)(struct phy_device *phydev);
987 unsigned int (*inband_caps)(struct phy_device *phydev,
993 int (*config_inband)(struct phy_device *phydev, unsigned int modes);
1004 int (*get_rate_matching)(struct phy_device *phydev,
1009 int (*suspend)(struct phy_device *phydev);
1011 int (*resume)(struct phy_device *phydev);
1019 int (*config_aneg)(struct phy_device *phydev);
1022 int (*aneg_done)(struct phy_device *phydev);
1025 int (*read_status)(struct phy_device *phydev);
1032 int (*config_intr)(struct phy_device *phydev);
1035 irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
1038 void (*remove)(struct phy_device *phydev);
1045 int (*match_phy_device)(struct phy_device *phydev);
1053 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1059 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1069 void (*link_change_notify)(struct phy_device *dev);
1081 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
1093 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
1097 int (*read_page)(struct phy_device *dev);
1099 int (*write_page)(struct phy_device *dev, int page);
1105 int (*module_info)(struct phy_device *dev,
1112 int (*module_eeprom)(struct phy_device *dev,
1116 int (*cable_test_start)(struct phy_device *dev);
1119 int (*cable_test_tdr_start)(struct phy_device *dev,
1126 int (*cable_test_get_status)(struct phy_device *dev, bool *finished);
1141 void (*get_phy_stats)(struct phy_device *dev,
1156 void (*get_link_stats)(struct phy_device *dev,
1174 int (*update_stats)(struct phy_device *dev);
1177 int (*get_sset_count)(struct phy_device *dev);
1179 void (*get_strings)(struct phy_device *dev, u8 *data);
1181 void (*get_stats)(struct phy_device *dev,
1186 int (*get_tunable)(struct phy_device *dev,
1189 int (*set_tunable)(struct phy_device *dev,
1193 int (*set_loopback)(struct phy_device *dev, bool enable);
1195 int (*get_sqi)(struct phy_device *dev);
1197 int (*get_sqi_max)(struct phy_device *dev);
1201 int (*get_plca_cfg)(struct phy_device *dev,
1204 int (*set_plca_cfg)(struct phy_device *dev,
1207 int (*get_plca_status)(struct phy_device *dev,
1216 int (*led_brightness_set)(struct phy_device *dev,
1227 int (*led_blink_set)(struct phy_device *dev, u8 index,
1238 int (*led_hw_is_supported)(struct phy_device *dev, u8 index,
1248 int (*led_hw_control_set)(struct phy_device *dev, u8 index,
1278 struct phy_driver, mdiodrv) argument