Home
last modified time | relevance | path

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

/linux/drivers/net/phy/
H A Dphylib.h36 int mmd_phy_read(struct mii_bus *bus, int phy_addr, bool is_c45,
38 int mmd_phy_write(struct mii_bus *bus, int phy_addr, bool is_c45,
H A Dphy_package.c144 return mmd_phy_read(phydev->mdio.bus, addr, phydev->is_c45, devad, in __phy_package_read_mmd()
177 return mmd_phy_write(phydev->mdio.bus, addr, phydev->is_c45, devad, in __phy_package_write_mmd()
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()
1778 if (phydev->is_c45) in phy_attach_direct()
[all …]
H A Dphylink.c2079 if (phy->is_c45 && state->rate_matching == RATE_MATCH_NONE && in phylink_validate_phy()
3408 if (phydev->is_c45) { in phylink_phy_read()
3450 if (phydev->is_c45) { in phylink_phy_write()
H A Dsfp.c2105 static int sfp_sm_probe_phy(struct sfp *sfp, int addr, bool is_c45) in sfp_sm_probe_phy() argument
2110 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/phy/realtek/
H A Drealtek_main.c1830 if (devnum != MDIO_MMD_VEND2 || phydev->is_c45) in rtl822xb_read_mmd()
1832 phydev->is_c45, devnum, reg); in rtl822xb_read_mmd()
1870 if (devnum != MDIO_MMD_VEND2 || phydev->is_c45) in rtl822xb_write_mmd()
1872 phydev->is_c45, devnum, reg, val); in rtl822xb_write_mmd()
2811 bool is_c45) in rtlgen_is_c45_match() argument
2813 if (phydev->is_c45) in rtlgen_is_c45_match()
2814 return is_c45 && (id == phydev->c45_ids.device_ids[1]); in rtlgen_is_c45_match()
2816 return !is_c45 && (id == phydev->phy_id); in rtlgen_is_c45_match()
2842 if (phydev->is_c45) in rtl_internal_nbaset_match_phy_device()
/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()
/linux/include/linux/
H A Dphy.h681 unsigned is_c45:1; member
2153 bool is_c45,
2159 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45);