Home
last modified time | relevance | path

Searched refs:c45_ids (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Dphy_device.c529 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match()
540 if (phydev->c45_ids.device_ids[i] == 0xffffffff) in phy_bus_match()
543 if (phy_id_compare(phydev->c45_ids.device_ids[i], in phy_bus_match()
636 struct phy_c45_device_ids *c45_ids) in phy_device_create() argument
671 if (c45_ids) in phy_device_create()
672 dev->c45_ids = *c45_ids; in phy_device_create()
694 if (is_c45 && c45_ids) { in phy_device_create()
695 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
699 if (c45_ids->device_ids[i] == 0xffffffff) in phy_device_create()
703 c45_ids->device_ids[i]); in phy_device_create()
[all …]
H A Dbcm87xx.c190 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8706; in bcm8706_match_phy_device()
195 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8727; in bcm8727_match_phy_device()
H A Dteranetics.c72 return phydev->c45_ids.device_ids[3] == PHY_ID_TN2020; in teranetics_match_phy_device()
H A Dmarvell10g.c510 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in mv3310_probe()
592 if (!(phydev->c45_ids.devices_in_package & MDIO_DEVS_PMAPMD)) in mv3310_has_pma_ngbaset_quirk()
596 return (phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3310_has_pma_ngbaset_quirk()
1226 if ((phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3310_match_phy_device()
1235 if ((phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3340_match_phy_device()
1246 if ((phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv211x_match_phy_device()
H A Dbcm84881.c51 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in bcm84881_probe()
H A Dphy-c45.c423 if (phydev->c45_ids.mmds_present & MDIO_DEVS_AN) { in genphy_c45_read_link()
938 if (phydev->c45_ids.mmds_present & MDIO_DEVS_AN) { in genphy_c45_pma_read_abilities()
H A Dphylink.c2774 devad = __ffs(phydev->c45_ids.mmds_present); in phylink_phy_read()
2778 if (!(phydev->c45_ids.mmds_present & MDIO_DEVS_AN)) in phylink_phy_read()
2816 devad = __ffs(phydev->c45_ids.mmds_present); in phylink_phy_write()
2820 if (!(phydev->c45_ids.mmds_present & MDIO_DEVS_AN)) in phylink_phy_write()
3283 return phy->is_c45 && phy_id_compare(phy->c45_ids.device_ids[1], in phylink_phy_no_inband()
H A Dphy.c185 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_restart_aneg()
933 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_config_aneg()
/openbmc/linux/include/linux/
H A Dphy.h645 struct phy_c45_device_ids c45_ids; member
1661 struct phy_c45_device_ids *c45_ids);