Searched refs:div_m (Results 1 – 2 of 2) sorted by relevance
290 int div_m, div_n; in sunxi_nfc_set_clk_rate() local292 div_m = (clock_get_pll6() + hz - 1) / hz; in sunxi_nfc_set_clk_rate()293 for (div_n = 0; div_n < 3 && div_m > 16; div_n++) { in sunxi_nfc_set_clk_rate()294 if (div_m % 2) in sunxi_nfc_set_clk_rate()295 div_m++; in sunxi_nfc_set_clk_rate()296 div_m >>= 1; in sunxi_nfc_set_clk_rate()298 if (div_m > 16) in sunxi_nfc_set_clk_rate()299 div_m = 16; in sunxi_nfc_set_clk_rate()303 CCM_NAND_CTRL_N(div_n) | CCM_NAND_CTRL_M(div_m), in sunxi_nfc_set_clk_rate()
3074 FIXP_DBL div_m, oct_m, temp; in ResetLimiterBands() local3080 div_m = fDivNorm(k2, kx, &div_e); in ResetLimiterBands()3083 oct_m = fLog2(div_m, div_e, &oct_e); in ResetLimiterBands()