Home
last modified time | relevance | path

Searched refs:gphy_rev (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c3827 u16 gphy_rev; in bcmgenet_set_hw_params() local
3878 gphy_rev = reg & 0xffff; in bcmgenet_set_hw_params()
3884 if (gphy_rev != 0) { in bcmgenet_set_hw_params()
3886 gphy_rev); in bcmgenet_set_hw_params()
3889 } else if (gphy_rev == 0 || gphy_rev == 0x01ff) { in bcmgenet_set_hw_params()
3890 pr_warn("Invalid GPHY revision detected: 0x%04x\n", gphy_rev); in bcmgenet_set_hw_params()
3893 } else if ((gphy_rev & 0xf0) != 0) { in bcmgenet_set_hw_params()
3894 priv->gphy_rev = gphy_rev << 8; in bcmgenet_set_hw_params()
3896 } else if ((gphy_rev & 0xff00) != 0) { in bcmgenet_set_hw_params()
3897 priv->gphy_rev = gphy_rev; in bcmgenet_set_hw_params()
H A Dbcmgenet.h610 u16 gphy_rev; member
H A Dbcmmii.c314 phy_flags = priv->gphy_rev; in bcmgenet_mii_probe()
/linux/drivers/net/dsa/
H A Dbcm_sf2.h31 u16 gphy_rev; member
H A Dbcm_sf2.c717 return priv->hw_params.gphy_rev; in bcm_sf2_sw_get_phy_flags()
1538 priv->hw_params.gphy_rev = rev & PHY_REVISION_MASK; in bcm_sf2_sw_probe()