Searched refs:mmd_mask (Results 1 – 8 of 8) sorted by relevance
72 int ef4_mdio_wait_reset_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_wait_reset_mmds() argument80 int mask = mmd_mask; in ef4_mdio_wait_reset_mmds()113 int ef4_mdio_check_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_check_mmds() argument121 probe_mmd = (mmd_mask & MDIO_DEVS_PHYXS) ? MDIO_MMD_PHYXS : in ef4_mdio_check_mmds()122 __ffs(mmd_mask); in ef4_mdio_check_mmds()133 if ((devices & mmd_mask) != mmd_mask) { in ef4_mdio_check_mmds()136 devices, mmd_mask); in ef4_mdio_check_mmds()142 while (mmd_mask) { in ef4_mdio_check_mmds()143 if ((mmd_mask & 1) && ef4_mdio_check_mmd(efx, mmd)) in ef4_mdio_check_mmds()145 mmd_mask = mmd_mask >> 1; in ef4_mdio_check_mmds()[all …]
67 int ef4_mdio_check_mmds(struct ef4_nic *efx, unsigned int mmd_mask);70 bool ef4_mdio_links_ok(struct ef4_nic *efx, unsigned int mmd_mask);80 unsigned int mmd_mask);95 int ef4_mdio_wait_reset_mmds(struct ef4_nic *efx, unsigned int mmd_mask);
48 const u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; in bcm84881_probe() local51 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in bcm84881_probe()
261 u32 mmd_mask = MDIO_DEVS_PMAPMD; in genphy_c45_read_link() local279 while (mmd_mask && link) { in genphy_c45_read_link()280 devad = __ffs(mmd_mask); in genphy_c45_read_link()281 mmd_mask &= ~BIT(devad); in genphy_c45_read_link()
419 u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; in mv3310_probe() local423 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in mv3310_probe()
94 int mdio45_links_ok(const struct mdio_if_info *mdio, u32 mmd_mask) in mdio45_links_ok() argument98 if (!mmd_mask) { in mdio45_links_ok()105 for (devad = 0; mmd_mask; devad++) { in mdio45_links_ok()106 if (mmd_mask & (1 << devad)) { in mdio45_links_ok()107 mmd_mask &= ~(1 << devad); in mdio45_links_ok()
26 u32 mmd_mask; member
44 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg()455 efx->mdio.mmds = phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22); in efx_mcdi_phy_probe()457 if (phy_data->mmd_mask & (1 << MC_CMD_MMD_CLAUSE22)) in efx_mcdi_phy_probe()459 if (phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22)) in efx_mcdi_phy_probe()