Searched refs:div_cdr1 (Results 1 – 1 of 1) sorted by relevance
269 unsigned int mclk_rate, div, div_cdr1, div_cdr2, timeout; in sun6i_spi_transfer_one() local381 div_cdr1 = DIV_ROUND_UP(mclk_rate, tfr->speed_hz); in sun6i_spi_transfer_one()382 div_cdr2 = DIV_ROUND_UP(div_cdr1, 2); in sun6i_spi_transfer_one()387 div = min(SUN6I_CLK_CTL_CDR1_MASK, order_base_2(div_cdr1)); in sun6i_spi_transfer_one()