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