Searched refs:mmd_mask (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | mdio_10g.c | 72 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 …]
|
H A D | mdio_10g.h | 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);
|
/linux/drivers/net/phy/ |
H A D | bcm84881.c | 60 const u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; in bcm84881_probe() local 63 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in bcm84881_probe()
|
H A D | phy-c45.c | 420 u32 mmd_mask = MDIO_DEVS_PMAPMD; in genphy_c45_read_link() local 438 while (mmd_mask && link) { in genphy_c45_read_link() 439 devad = __ffs(mmd_mask); in genphy_c45_read_link() 440 mmd_mask &= ~BIT(devad); in genphy_c45_read_link()
|
H A D | marvell10g.c | 515 u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; in mv3310_probe() local 519 (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) in mv3310_probe()
|
/linux/drivers/net/ |
H A D | mdio.c | 94 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/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_port_common.h | 26 u32 mmd_mask; member
|
H A D | mcdi_port_common.c | 45 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/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.h | 26 u32 mmd_mask; member
|
H A D | mcdi_port_common.c | 44 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()
|