Searched refs:mmd_mask (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | mdio_10g.c | 75 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 …]
|
D | mdio_10g.h | 70 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);
|
D | mcdi_port.c | 31 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/ |
D | mdio.c | 97 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/ |
D | phy_device.c | 1130 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()
|