Searched refs:div_tmp (Results 1 – 1 of 1) sorted by relevance
43 unsigned int div, div_tmp; in loongson_spi_set_clk() local47 div_tmp = rdiv[fls(div - 1)]; in loongson_spi_set_clk()48 loongson_spi->spcr = (div_tmp & GENMASK(1, 0)) >> 0; in loongson_spi_set_clk()49 loongson_spi->sper = (div_tmp & GENMASK(3, 2)) >> 2; in loongson_spi_set_clk()