Home
last modified time | relevance | path

Searched refs:core_f (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_mdio.c140 u32 core_f; in calculate_i1clk() local
145 core_f = (reg1 & MLXBF_GIGE_MDIO_CORE_F_MASK) >> in calculate_i1clk()
158 freq_output = div_u64((MLXBF_GIGE_MDIO_FREQ_REFERENCE * core_f), in calculate_i1clk()
/Linux-v6.6/drivers/i2c/busses/
Di2c-mlxbf.c1470 u16 core_f; in mlxbf_i2c_calculate_freq_from_tyu() local
1475 core_f = FIELD_GET(MLXBF_I2C_COREPLL_CORE_F_TYU_MASK, corepll_val); in mlxbf_i2c_calculate_freq_from_tyu()
1489 core_frequency = MLXBF_I2C_PLL_IN_FREQ * (++core_f); in mlxbf_i2c_calculate_freq_from_tyu()
1500 u32 core_f; in mlxbf_i2c_calculate_freq_from_yu() local
1506 core_f = FIELD_GET(MLXBF_I2C_COREPLL_CORE_F_YU_MASK, corepll_reg1_val); in mlxbf_i2c_calculate_freq_from_yu()
1520 corepll_frequency = (MLXBF_I2C_PLL_IN_FREQ * core_f) / MLNXBF_I2C_COREPLL_CONST; in mlxbf_i2c_calculate_freq_from_yu()