1 /* Public domain. */ 2 3 #ifndef _LINUX_PHY_PHY_H 4 #define _LINUX_PHY_PHY_H 5 6 struct phy_configure_opts_dp { 7 u_int link_rate; 8 u_int lanes; 9 int set_rate : 1; 10 int set_lanes : 1; 11 int set_voltages : 1; 12 }; 13 14 union phy_configure_opts { 15 struct phy_configure_opts_dp dp; 16 }; 17 18 enum phy_mode { 19 PHY_MODE_INVALID, 20 PHY_MODE_DP, 21 }; 22 23 struct phy; 24 25 struct phy *devm_phy_optional_get(struct device *, const char *); 26 27 static inline int phy_configure(struct phy * phy,union phy_configure_opts * opts)28phy_configure(struct phy *phy, union phy_configure_opts *opts) 29 { 30 return 0; 31 } 32 33 static inline int phy_set_mode_ext(struct phy * phy,enum phy_mode mode,int submode)34phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) 35 { 36 return 0; 37 } 38 39 #endif 40