Home
last modified time | relevance | path

Searched refs:mmd_mask (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/sfc/
Dmdio_10g.c75 int efx_mdio_wait_reset_mmds(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_wait_reset_mmds() argument
83 int mask = mmd_mask; in efx_mdio_wait_reset_mmds()
116 int efx_mdio_check_mmds(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_check_mmds() argument
124 probe_mmd = (mmd_mask & MDIO_DEVS_PHYXS) ? MDIO_MMD_PHYXS : in efx_mdio_check_mmds()
125 __ffs(mmd_mask); in efx_mdio_check_mmds()
136 if ((devices & mmd_mask) != mmd_mask) { in efx_mdio_check_mmds()
139 devices, mmd_mask); in efx_mdio_check_mmds()
145 while (mmd_mask) { in efx_mdio_check_mmds()
146 if ((mmd_mask & 1) && efx_mdio_check_mmd(efx, mmd)) in efx_mdio_check_mmds()
148 mmd_mask = mmd_mask >> 1; in efx_mdio_check_mmds()
[all …]
Dmdio_10g.h70 int efx_mdio_check_mmds(struct efx_nic *efx, unsigned int mmd_mask);
73 bool efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask);
83 unsigned int mmd_mask);
97 int efx_mdio_wait_reset_mmds(struct efx_nic *efx, unsigned int mmd_mask);
Dmcdi_port.c31 u32 mmd_mask; member
66 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg()
365 efx->mdio.mmds = phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22); in efx_mcdi_phy_probe()
367 if (phy_data->mmd_mask & (1 << MC_CMD_MMD_CLAUSE22)) in efx_mcdi_phy_probe()
369 if (phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22)) in efx_mcdi_phy_probe()
/drivers/net/
Dmdio.c97 int mdio45_links_ok(const struct mdio_if_info *mdio, u32 mmd_mask) in mdio45_links_ok() argument
101 if (!mmd_mask) { in mdio45_links_ok()
108 for (devad = 0; mmd_mask; devad++) { in mdio45_links_ok()
109 if (mmd_mask & (1 << devad)) { in mdio45_links_ok()
110 mmd_mask &= ~(1 << devad); in mdio45_links_ok()
/drivers/net/phy/
Dphy_device.c1130 u32 mmd_mask = phydev->c45_ids.devices_in_package; in gen10g_read_status() local
1138 for (devad = 0; mmd_mask; devad++, mmd_mask = mmd_mask >> 1) { in gen10g_read_status()
1139 if (!(mmd_mask & 1)) in gen10g_read_status()