DW_XPCS_INTERFACE_MAX,
 };
 
-struct xpcs_compat {
+struct dw_xpcs_compat {
        const int *supported;
        const phy_interface_t *interface;
        int num_interfaces;
 struct dw_xpcs_desc {
        u32 id;
        u32 mask;
-       const struct xpcs_compat *compat;
+       const struct dw_xpcs_compat *compat;
 };
 
-static const struct xpcs_compat *
+static const struct dw_xpcs_compat *
 xpcs_find_compat(const struct dw_xpcs_desc *desc, phy_interface_t interface)
 {
        int i, j;
 
        for (i = 0; i < DW_XPCS_INTERFACE_MAX; i++) {
-               const struct xpcs_compat *compat = &desc->compat[i];
+               const struct dw_xpcs_compat *compat = &desc->compat[i];
 
                for (j = 0; j < compat->num_interfaces; j++)
                        if (compat->interface[j] == interface)
 
 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface)
 {
-       const struct xpcs_compat *compat;
+       const struct dw_xpcs_compat *compat;
 
        compat = xpcs_find_compat(xpcs->desc, interface);
        if (!compat)
 }
 EXPORT_SYMBOL_GPL(xpcs_get_an_mode);
 
-static bool __xpcs_linkmode_supported(const struct xpcs_compat *compat,
+static bool __xpcs_linkmode_supported(const struct dw_xpcs_compat *compat,
                                      enum ethtool_link_mode_bit_indices linkmode)
 {
        int i;
 }
 
 static int xpcs_soft_reset(struct dw_xpcs *xpcs,
-                          const struct xpcs_compat *compat)
+                          const struct dw_xpcs_compat *compat)
 {
        int ret, dev;
 
 }
 
 static int _xpcs_config_aneg_c73(struct dw_xpcs *xpcs,
-                                const struct xpcs_compat *compat)
+                                const struct dw_xpcs_compat *compat)
 {
        int ret, adv;
 
 }
 
 static int xpcs_config_aneg_c73(struct dw_xpcs *xpcs,
-                               const struct xpcs_compat *compat)
+                               const struct dw_xpcs_compat *compat)
 {
        int ret;
 
 
 static int xpcs_aneg_done_c73(struct dw_xpcs *xpcs,
                              struct phylink_link_state *state,
-                             const struct xpcs_compat *compat, u16 an_stat1)
+                             const struct dw_xpcs_compat *compat, u16 an_stat1)
 {
        int ret;
 
                         const struct phylink_link_state *state)
 {
        __ETHTOOL_DECLARE_LINK_MODE_MASK(xpcs_supported) = { 0, };
-       const struct xpcs_compat *compat;
+       const struct dw_xpcs_compat *compat;
        struct dw_xpcs *xpcs;
        int i;
 
        int i, j;
 
        for (i = 0; i < DW_XPCS_INTERFACE_MAX; i++) {
-               const struct xpcs_compat *compat = &xpcs->desc->compat[i];
+               const struct dw_xpcs_compat *compat = &xpcs->desc->compat[i];
 
                for (j = 0; j < compat->num_interfaces; j++)
                        __set_bit(compat->interface[j], interfaces);
 int xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface,
                   const unsigned long *advertising, unsigned int neg_mode)
 {
-       const struct xpcs_compat *compat;
+       const struct dw_xpcs_compat *compat;
        int ret;
 
        compat = xpcs_find_compat(xpcs->desc, interface);
 
 static int xpcs_get_state_c73(struct dw_xpcs *xpcs,
                              struct phylink_link_state *state,
-                             const struct xpcs_compat *compat)
+                             const struct dw_xpcs_compat *compat)
 {
        bool an_enabled;
        int pcs_stat1;
                           struct phylink_link_state *state)
 {
        struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs);
-       const struct xpcs_compat *compat;
+       const struct dw_xpcs_compat *compat;
        int ret;
 
        compat = xpcs_find_compat(xpcs->desc, state->interface);
        return 0xffffffff;
 }
 
-static const struct xpcs_compat synopsys_xpcs_compat[DW_XPCS_INTERFACE_MAX] = {
+static const struct dw_xpcs_compat synopsys_xpcs_compat[DW_XPCS_INTERFACE_MAX] = {
        [DW_XPCS_USXGMII] = {
                .supported = xpcs_usxgmii_features,
                .interface = xpcs_usxgmii_interfaces,
        },
 };
 
-static const struct xpcs_compat nxp_sja1105_xpcs_compat[DW_XPCS_INTERFACE_MAX] = {
+static const struct dw_xpcs_compat nxp_sja1105_xpcs_compat[DW_XPCS_INTERFACE_MAX] = {
        [DW_XPCS_SGMII] = {
                .supported = xpcs_sgmii_features,
                .interface = xpcs_sgmii_interfaces,
        },
 };
 
-static const struct xpcs_compat nxp_sja1110_xpcs_compat[DW_XPCS_INTERFACE_MAX] = {
+static const struct dw_xpcs_compat nxp_sja1110_xpcs_compat[DW_XPCS_INTERFACE_MAX] = {
        [DW_XPCS_SGMII] = {
                .supported = xpcs_sgmii_features,
                .interface = xpcs_sgmii_interfaces,
 
 static int xpcs_init_iface(struct dw_xpcs *xpcs, phy_interface_t interface)
 {
-       const struct xpcs_compat *compat;
+       const struct dw_xpcs_compat *compat;
 
        compat = xpcs_find_compat(xpcs->desc, interface);
        if (!compat)