Searched refs:is_c45 (Results 1 – 13 of 13) sorted by relevance
/drivers/net/ethernet/hisilicon/ |
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() 223 u8 is_c45 = !!(regnum & MII_ADDR_C45); in hns_mdio_write() local 231 phy_id, is_c45, devad, reg, data); in hns_mdio_write() 240 if (!is_c45) { in hns_mdio_write() 248 hns_mdio_cmd_write(mdio_dev, is_c45, in hns_mdio_write() 266 hns_mdio_cmd_write(mdio_dev, is_c45, op, phy_id, cmd_reg_cfg); in hns_mdio_write() 284 u8 is_c45 = !!(regnum & MII_ADDR_C45); in hns_mdio_read() local 291 phy_id, is_c45, devad, reg); in hns_mdio_read() 300 if (!is_c45) { in hns_mdio_read() [all …]
|
/drivers/net/mdio/ |
D | fwnode_mdio.c | 96 bool is_c45 = false; in fwnode_mdiobus_register_phy() local 107 is_c45 = true; in fwnode_mdiobus_register_phy() 109 if (is_c45 || fwnode_get_phy_id(child, &phy_id)) in fwnode_mdiobus_register_phy() 110 phy = get_phy_device(bus, addr, is_c45); in fwnode_mdiobus_register_phy()
|
/drivers/net/phy/ |
D | phy_device.c | 503 if (phydev->is_c45) { in phy_bus_match() 601 bool is_c45, in phy_device_create() argument 634 dev->is_c45 = is_c45; in phy_device_create() 658 if (is_c45 && c45_ids) { in phy_device_create() 909 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument 919 if (is_c45) in get_phy_device() 932 if (!is_c45 && phy_id == 0 && bus->probe_capabilities >= MDIOBUS_C45) { in get_phy_device() 939 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device() 1419 if (phydev->is_c45) in phy_attach_direct() 3074 else if (phydev->is_c45) in phy_probe()
|
D | bcm84881.c | 50 if (!phydev->is_c45 || in bcm84881_probe()
|
D | phy.c | 156 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_restart_aneg() 177 else if (phydev->is_c45) in phy_aneg_done() 673 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_config_aneg()
|
D | phy-core.c | 478 } else if (phydev->is_c45) { in __phy_read_mmd() 534 } else if (phydev->is_c45) { in __phy_write_mmd()
|
D | phylink.c | 1004 if (phy->is_c45 && in phylink_bringup_phy() 1934 } else if (phydev->is_c45) { in phylink_phy_read() 1974 } else if (phydev->is_c45) { in phylink_phy_write() 2347 return phy->is_c45 && in phylink_phy_no_inband()
|
D | mxl-gpy.c | 102 if (!phydev->is_c45) { in gpy_probe()
|
D | marvell10g.c | 422 if (!phydev->is_c45 || in mv3310_probe()
|
D | sfp.c | 1517 static int sfp_sm_probe_phy(struct sfp *sfp, bool is_c45) in sfp_sm_probe_phy() argument 1522 phy = get_phy_device(sfp->i2c_mii, SFP_PHY_ADDR, is_c45); in sfp_sm_probe_phy()
|
/drivers/net/ethernet/hisilicon/hns/ |
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()
|
D | hns_ethtool.c | 918 if ((netdev->phydev) && (!netdev->phydev->is_c45)) in hns_get_strings() 978 if ((!netdev->phydev) || (netdev->phydev->is_c45)) in hns_get_sset_count()
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 1860 bool is_c45 = !!(regnum & MII_ADDR_C45); in fec_enet_mdio_read() local 1866 if (is_c45) { in fec_enet_mdio_read() 1919 bool is_c45 = !!(regnum & MII_ADDR_C45); in fec_enet_mdio_write() local 1925 if (is_c45) { in fec_enet_mdio_write()
|