Searched refs:mdio_period (Results 1 – 1 of 1) sorted by relevance
127 u8 mdio_period; in mdio_period_map() local132 mdio_period = div_u64((MLXBF_GIGE_MDC_CLK_NS >> 1) * i1clk, 1000000000) - 1; in mdio_period_map()134 return mdio_period; in mdio_period_map()211 u8 mdio_period; in mlxbf_gige_mdio_cfg() local214 mdio_period = mdio_period_map(priv); in mlxbf_gige_mdio_cfg()217 val |= FIELD_PREP(MLXBF_GIGE_MDIO_CFG_MDC_PERIOD_MASK, mdio_period); in mlxbf_gige_mdio_cfg()