Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dmdio_10g.c72 int ef4_mdio_wait_reset_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_wait_reset_mmds() argument
80 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() argument
121 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 …]
Dmdio_10g.h67 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);
/linux-6.6.21/drivers/net/phy/
Dbcm84881.c48 const u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; in bcm84881_probe() local
51 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in bcm84881_probe()
Dphy-c45.c419 u32 mmd_mask = MDIO_DEVS_PMAPMD; in genphy_c45_read_link() local
437 while (mmd_mask && link) { in genphy_c45_read_link()
438 devad = __ffs(mmd_mask); in genphy_c45_read_link()
439 mmd_mask &= ~BIT(devad); in genphy_c45_read_link()
Dmarvell10g.c506 u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; in mv3310_probe() local
510 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in mv3310_probe()
/linux-6.6.21/drivers/net/
Dmdio.c94 int mdio45_links_ok(const struct mdio_if_info *mdio, u32 mmd_mask) in mdio45_links_ok() argument
98 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()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.h26 u32 mmd_mask; member
Dmcdi_port_common.c45 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg()
454 efx->mdio.mmds = phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22); in efx_siena_mcdi_phy_probe()
456 if (phy_data->mmd_mask & (1 << MC_CMD_MMD_CLAUSE22)) in efx_siena_mcdi_phy_probe()
458 if (phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22)) in efx_siena_mcdi_phy_probe()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dmcdi_port_common.h26 u32 mmd_mask; member
Dmcdi_port_common.c44 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg()
453 efx->mdio.mmds = phy_data->mmd_mask & ~(1 << MC_CMD_MMD_CLAUSE22); in efx_mcdi_phy_probe()
455 if (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()