Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_mdio.c137 u8 core_od, core_r; in calculate_i1clk() local
149 core_od = (reg2 & MLXBF_GIGE_MDIO_CORE_OD_MASK) >> in calculate_i1clk()
160 freq_output = div_u64(freq_output, (core_r + 1) * (core_od + 1)); in calculate_i1clk()
/Linux-v6.6/drivers/i2c/busses/
Di2c-mlxbf.c1468 u8 core_od, core_r; in mlxbf_i2c_calculate_freq_from_tyu() local
1476 core_od = FIELD_GET(MLXBF_I2C_COREPLL_CORE_OD_TYU_MASK, corepll_val); in mlxbf_i2c_calculate_freq_from_tyu()
1490 core_frequency /= (++core_r) * (++core_od); in mlxbf_i2c_calculate_freq_from_tyu()
1499 u8 core_od, core_r; in mlxbf_i2c_calculate_freq_from_yu() local
1508 core_od = FIELD_GET(MLXBF_I2C_COREPLL_CORE_OD_YU_MASK, corepll_reg2_val); in mlxbf_i2c_calculate_freq_from_yu()
1521 corepll_frequency /= (++core_r) * (++core_od); in mlxbf_i2c_calculate_freq_from_yu()