Searched refs:xtal_ref_div (Results 1 – 1 of 1) sorted by relevance
267 uint32_t xtal_ref_div = 0; in set_speed() local273 REG_GET(MICROSECOND_TIME_BASE_DIV, XTAL_REF_DIV, &xtal_ref_div); in set_speed()275 if (xtal_ref_div == 0) in set_speed()276 xtal_ref_div = 2; in set_speed()278 prescale = ((dce_i2c_hw->reference_frequency * 2) / xtal_ref_div) / speed; in set_speed()