Home
last modified time | relevance | path

Searched refs:c45_ids (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/phy/
H A Dphy_device.c455 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match()
466 if (phydev->c45_ids.device_ids[i] == 0xffffffff) in phy_bus_match()
470 (phydev->c45_ids.device_ids[i] & in phy_bus_match()
552 struct phy_c45_device_ids *c45_ids) in phy_device_create()
586 if (c45_ids) in phy_device_create()
587 dev->c45_ids = *c45_ids; in phy_device_create()
608 if (is_c45 && c45_ids) { in phy_device_create()
609 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
613 if (c45_ids in phy_device_create()
550 phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, bool is_c45, struct phy_c45_device_ids *c45_ids) phy_device_create() argument
698 get_phy_c45_ids(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids) get_phy_c45_ids() argument
840 struct phy_c45_device_ids c45_ids; get_phy_device() local
[all...]
H A Dbcm87xx.c180 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8706; in bcm8706_match_phy_device()
185 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 Dphy-c45.c222 if (phydev->c45_ids.mmds_present & MDIO_DEVS_AN) { in genphy_c45_read_link()
412 if (phydev->c45_ids.mmds_present & MDIO_DEVS_AN) { in genphy_c45_pma_read_abilities()
H A Dmarvell10g.c378 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in mv3310_probe()
455 if (!(phydev->c45_ids.devices_in_package & MDIO_DEVS_PMAPMD)) in mv3310_has_pma_ngbaset_quirk()
459 return (phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3310_has_pma_ngbaset_quirk()
H A Dbcm84881.c51 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in bcm84881_probe()
H A Dphylink.c1821 devad = __ffs(phydev->c45_ids.mmds_present); in phylink_phy_read()
1825 if (!(phydev->c45_ids.mmds_present & MDIO_DEVS_AN)) in phylink_phy_read()
1861 devad = __ffs(phydev->c45_ids.mmds_present); in phylink_phy_write()
1865 if (!(phydev->c45_ids.mmds_present & MDIO_DEVS_AN)) in phylink_phy_write()
2229 (phy->c45_ids.device_ids[1] & 0xfffffff0) == 0xae025150; in phylink_phy_no_inband()
H A Dphy.c177 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_restart_aneg()
694 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_config_aneg()
/kernel/linux/linux-6.6/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()
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 in phy_device_create()
634 phy_device_create(struct mii_bus *bus, int addr, u32 phy_id, bool is_c45, struct phy_c45_device_ids *c45_ids) phy_device_create() argument
784 get_phy_c45_ids(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids) get_phy_c45_ids() argument
947 struct phy_c45_device_ids c45_ids; get_phy_device() local
[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()
/kernel/linux/linux-5.10/include/linux/
H A Dphy.h476 * @c45_ids: 802.3-c45 Device Identifiers if is_c45.
549 struct phy_c45_device_ids c45_ids; member
1351 struct phy_c45_device_ids *c45_ids);
/kernel/linux/linux-6.6/include/linux/
H A Dphy.h547 * @c45_ids: 802.3-c45 Device Identifiers if is_c45.
645 struct phy_c45_device_ids c45_ids; member
1661 struct phy_c45_device_ids *c45_ids);

Completed in 30 milliseconds