Home
last modified time | relevance | path

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

/linux/drivers/net/phy/
H A Dphy_device.c525 if (phydev->is_c45) { in genphy_match_phy_device()
700 if (!phydev->is_c45) in phy_mmd_is_visible()
749 bool is_c45, in phy_device_create() argument
784 dev->is_c45 = is_c45; in phy_device_create()
816 if (is_c45 && c45_ids) { in phy_device_create()
1071 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device() argument
1081 if (is_c45) in get_phy_device()
1094 if (!is_c45 && phy_id == 0 && bus->read_c45) { in get_phy_device()
1101 return phy_device_create(bus, addr, phy_id, is_c45, &c45_ids); in get_phy_device()
1775 if (phydev->is_c45) in phy_attach_direct()
[all …]
H A Dsfp.c1919 static int sfp_sm_probe_phy(struct sfp *sfp, int addr, bool is_c45) in sfp_sm_probe_phy() argument
1924 phy = get_phy_device(sfp->i2c_mii, addr, is_c45); in sfp_sm_probe_phy()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.c721 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()
/linux/drivers/net/ethernet/hisilicon/
H 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()