| /OK3568_Linux_fs/kernel/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() 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | phy.c | 621 u32 phy_id, bool is_c45, in phy_device_create() argument 649 dev->is_c45 = is_c45; in phy_device_create() 698 bool is_c45; in create_phy_by_mask() local 705 is_c45 = (devad == MDIO_DEVAD_NONE) ? false : true; in create_phy_by_mask() 706 return phy_device_create(bus, addr, phy_id, is_c45, in create_phy_by_mask()
|
| /OK3568_Linux_fs/kernel/drivers/net/mdio/ |
| H A D | of_mdio.c | 112 bool is_c45; in of_mdiobus_register_phy() local 120 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy() 123 if (!is_c45 && !of_get_phy_id(child, &phy_id)) in of_mdiobus_register_phy() 126 phy = get_phy_device(mdio, addr, is_c45); in of_mdiobus_register_phy()
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | phy_device.c | 464 if (phydev->is_c45) { in phy_bus_match() 609 bool is_c45, in phy_device_create() argument 642 dev->is_c45 = is_c45; in phy_device_create() 666 if (is_c45 && c45_ids) { in phy_device_create() 896 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument 906 if (is_c45) in get_phy_device() 914 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device() 1383 if (phydev->is_c45) in phy_attach_direct() 2913 } 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.c | 165 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_restart_aneg() 186 else if (phydev->is_c45) in phy_aneg_done() 682 if (phydev->is_c45 && !(phydev->c45_ids.devices_in_package & BIT(0))) in phy_config_aneg()
|
| H A D | phy-core.c | 477 } else if (phydev->is_c45) { in __phy_read_mmd() 533 } else if (phydev->is_c45) { in __phy_write_mmd()
|
| H A D | phylink.c | 987 if (phy->is_c45 && in phylink_bringup_phy() 1814 } else if (phydev->is_c45) { in phylink_phy_read() 1854 } else if (phydev->is_c45) { in phylink_phy_write() 2227 return phy->is_c45 && in phylink_phy_no_inband()
|
| H A D | marvell10g.c | 370 if (!phydev->is_c45 || in mv3310_probe()
|
| H A D | sfp.c | 1459 static int sfp_sm_probe_phy(struct sfp *sfp, bool is_c45) in sfp_sm_probe_phy() argument 1464 phy = get_phy_device(sfp->i2c_mii, SFP_PHY_ADDR, is_c45); in sfp_sm_probe_phy()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_dsaf_mac.c | 692 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()
|
| H A D | hns_ethtool.c | 914 if ((netdev->phydev) && (!netdev->phydev->is_c45)) in hns_get_strings() 1000 if ((!netdev->phydev) || (netdev->phydev->is_c45)) in hns_get_sset_count()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | phy.h | 551 unsigned is_c45:1; member 1359 bool is_c45, 1362 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45); 1367 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | phy.h | 150 bool is_c45; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 1811 bool is_c45 = !!(regnum & MII_ADDR_C45); in fec_enet_mdio_read() local 1817 if (is_c45) { in fec_enet_mdio_read() 1870 bool is_c45 = !!(regnum & MII_ADDR_C45); in fec_enet_mdio_write() local 1876 if (is_c45) { in fec_enet_mdio_write()
|