Home
last modified time | relevance | path

Searched refs:is_c45 (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/drivers/net/mdio/
A Dfwnode_mdio.c118 bool is_c45; in fwnode_mdiobus_register_phy() local
132 is_c45 = fwnode_device_is_compatible(child, "ethernet-phy-ieee802.3-c45"); in fwnode_mdiobus_register_phy()
133 if (is_c45 || fwnode_get_phy_id(child, &phy_id)) in fwnode_mdiobus_register_phy()
134 phy = get_phy_device(bus, addr, is_c45); in fwnode_mdiobus_register_phy()
/linux-6.3-rc2/drivers/net/phy/
A Dphy_device.c535 if (phydev->is_c45) { in phy_bus_match()
633 bool is_c45, in phy_device_create() argument
667 dev->is_c45 = is_c45; in phy_device_create()
691 if (is_c45 && c45_ids) { in phy_device_create()
942 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument
952 if (is_c45) in get_phy_device()
965 if (!is_c45 && phy_id == 0 && bus->read_c45) { in get_phy_device()
972 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()
1453 if (phydev->is_c45) in phy_attach_direct()
3120 else if (phydev->is_c45) in phy_probe()
A Dbcm84881.c50 if (!phydev->is_c45 || in bcm84881_probe()
A Dphy.c172 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_restart_aneg()
193 else if (phydev->is_c45) in phy_aneg_done()
886 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_config_aneg()
A Dphy-core.c559 } else if (phydev->is_c45) { in __phy_read_mmd()
615 } else if (phydev->is_c45) { in __phy_write_mmd()
A Dphylink.c1656 if (phy->is_c45 && config.rate_matching == RATE_MATCH_NONE && in phylink_bringup_phy()
2597 if (phydev->is_c45) { in phylink_phy_read()
2639 if (phydev->is_c45) { in phylink_phy_write()
3114 return phy->is_c45 && in phylink_phy_no_inband()
A Dmxl-gpy.c284 if (!phydev->is_c45) { in gpy_probe()
A Dmarvell10g.c502 if (!phydev->is_c45 || in mv3310_probe()
A Dsfp.c1626 static int sfp_sm_probe_phy(struct sfp *sfp, int addr, bool is_c45) in sfp_sm_probe_phy() argument
1631 phy = get_phy_device(sfp->i2c_mii, addr, is_c45); in sfp_sm_probe_phy()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_mac.c692 bool is_c45; in hns_mac_register_phydev() local
701 is_c45 = true; in hns_mac_register_phydev()
703 is_c45 = false; in hns_mac_register_phydev()
707 phy = get_phy_device(mdio, addr, is_c45); in hns_mac_register_phydev()
A Dhns_ethtool.c919 if ((netdev->phydev) && (!netdev->phydev->is_c45)) in hns_get_strings()
979 if ((!netdev->phydev) || (netdev->phydev->is_c45)) in hns_get_sset_count()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/
A Dhns_mdio.c193 u8 is_c45, u8 op, u8 phy_id, u16 cmd) in hns_mdio_cmd_write() argument
196 u8 st = is_c45 ? MDIO_ST_CLAUSE_45 : MDIO_ST_CLAUSE_22; in hns_mdio_cmd_write()
/linux-6.3-rc2/include/linux/
A Dphy.h633 unsigned is_c45:1; member
1543 bool is_c45,
1551 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45);
1583 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument

Completed in 41 milliseconds