/openbmc/linux/drivers/net/mdio/ |
H A D | fwnode_mdio.c | 125 bool is_c45; in fwnode_mdiobus_register_phy() local 139 is_c45 = fwnode_device_is_compatible(child, "ethernet-phy-ieee802.3-c45"); in fwnode_mdiobus_register_phy() 140 if (is_c45 || fwnode_get_phy_id(child, &phy_id)) in fwnode_mdiobus_register_phy() 141 phy = get_phy_device(bus, addr, is_c45); in fwnode_mdiobus_register_phy()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | phy.c | 626 u32 phy_id, bool is_c45, in phy_device_create() argument 656 dev->is_c45 = is_c45; in phy_device_create() 709 bool is_c45; in create_phy_by_mask() local 716 is_c45 = (devad == MDIO_DEVAD_NONE) ? false : true; in create_phy_by_mask() 717 return phy_device_create(bus, addr, phy_id, is_c45, in create_phy_by_mask()
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy_device.c | 538 if (phydev->is_c45) { in phy_bus_match() 635 bool is_c45, in phy_device_create() argument 669 dev->is_c45 = is_c45; in phy_device_create() 694 if (is_c45 && c45_ids) { in phy_device_create() 945 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument 955 if (is_c45) in get_phy_device() 968 if (!is_c45 && phy_id == 0 && bus->read_c45) { in get_phy_device() 975 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device() 1461 if (phydev->is_c45) in phy_attach_direct() 3307 else if (phydev->is_c45) in phy_probe()
|
H A D | bcm84881.c | 50 if (!phydev->is_c45 || in bcm84881_probe()
|
H A D | phy-core.c | 561 } else if (phydev->is_c45) { in __phy_read_mmd() 617 } else if (phydev->is_c45) { in __phy_write_mmd()
|
H A D | phy.c | 185 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_restart_aneg() 206 else if (phydev->is_c45) in phy_aneg_done() 933 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_config_aneg()
|
H A D | phylink.c | 1794 if (phy->is_c45 && config.rate_matching == RATE_MATCH_NONE && in phylink_bringup_phy() 2768 if (phydev->is_c45) { in phylink_phy_read() 2810 if (phydev->is_c45) { 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 D | mxl-gpy.c | 286 if (!phydev->is_c45) { in gpy_probe()
|
H A D | marvell10g.c | 509 if (!phydev->is_c45 || in mv3310_probe()
|
H A D | sfp.c | 1765 static int sfp_sm_probe_phy(struct sfp *sfp, int addr, bool is_c45) in sfp_sm_probe_phy() argument 1770 phy = get_phy_device(sfp->i2c_mii, addr, is_c45); in sfp_sm_probe_phy()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 721 bool is_c45; in hns_mac_register_phydev() local 730 is_c45 = true; in hns_mac_register_phydev() 732 is_c45 = false; in hns_mac_register_phydev() 736 phy = get_phy_device(mdio, addr, is_c45); in hns_mac_register_phydev()
|
H A D | hns_ethtool.c | 919 if ((netdev->phydev) && (!netdev->phydev->is_c45)) in hns_get_strings() 979 if ((!netdev->phydev) || (netdev->phydev->is_c45)) in hns_get_sset_count()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/ |
H A D | hns_mdio.c | 193 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()
|
/openbmc/u-boot/include/ |
H A D | phy.h | 142 bool is_c45; member
|
/openbmc/linux/include/linux/ |
H A D | phy.h | 646 unsigned is_c45:1; member 1660 bool is_c45, 1668 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45); 1700 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument
|
/openbmc/u-boot/board/freescale/lx2160a/ |
H A D | eth_lx2160aqds.c | 713 if (phy_dev->is_c45) { in fdt_create_phy_node()
|