Lines Matching defs:phy_driver

895 struct phy_driver {  struct
896 struct mdio_driver_common mdiodrv;
897 u32 phy_id;
898 char *name;
899 u32 phy_id_mask;
900 const unsigned long * const features;
901 u32 flags;
902 const void *driver_data;
907 int (*soft_reset)(struct phy_device *phydev);
913 int (*config_init)(struct phy_device *phydev);
919 int (*probe)(struct phy_device *phydev);
925 int (*get_features)(struct phy_device *phydev);
936 int (*get_rate_matching)(struct phy_device *phydev,
941 int (*suspend)(struct phy_device *phydev);
943 int (*resume)(struct phy_device *phydev);
951 int (*config_aneg)(struct phy_device *phydev);
954 int (*aneg_done)(struct phy_device *phydev);
957 int (*read_status)(struct phy_device *phydev);
964 int (*config_intr)(struct phy_device *phydev);
967 irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
970 void (*remove)(struct phy_device *phydev);
977 int (*match_phy_device)(struct phy_device *phydev);
985 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
991 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol);
1001 void (*link_change_notify)(struct phy_device *dev);
1013 int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum);
1025 int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum,
1029 int (*read_page)(struct phy_device *dev);
1031 int (*write_page)(struct phy_device *dev, int page);
1037 int (*module_info)(struct phy_device *dev,
1044 int (*module_eeprom)(struct phy_device *dev,
1048 int (*cable_test_start)(struct phy_device *dev);
1051 int (*cable_test_tdr_start)(struct phy_device *dev,
1058 int (*cable_test_get_status)(struct phy_device *dev, bool *finished);
1062 int (*get_sset_count)(struct phy_device *dev);
1064 void (*get_strings)(struct phy_device *dev, u8 *data);
1066 void (*get_stats)(struct phy_device *dev,
1071 int (*get_tunable)(struct phy_device *dev,
1074 int (*set_tunable)(struct phy_device *dev,
1078 int (*set_loopback)(struct phy_device *dev, bool enable);
1080 int (*get_sqi)(struct phy_device *dev);
1082 int (*get_sqi_max)(struct phy_device *dev);
1086 int (*get_plca_cfg)(struct phy_device *dev,
1089 int (*set_plca_cfg)(struct phy_device *dev,
1092 int (*get_plca_status)(struct phy_device *dev,
1101 int (*led_brightness_set)(struct phy_device *dev,
1112 int (*led_blink_set)(struct phy_device *dev, u8 index,
1123 int (*led_hw_is_supported)(struct phy_device *dev, u8 index,
1150 struct phy_driver, mdiodrv) argument