Lines Matching refs:r_div
866 u32 r_div; in si5341_output_clk_set_rate() local
874 r_div = (parent_rate / rate) >> 1; in si5341_output_clk_set_rate()
876 if (r_div <= 1) in si5341_output_clk_set_rate()
877 r_div = 0; in si5341_output_clk_set_rate()
878 else if (r_div >= BIT(24)) in si5341_output_clk_set_rate()
879 r_div = BIT(24) - 1; in si5341_output_clk_set_rate()
881 --r_div; in si5341_output_clk_set_rate()
887 (r_div == 0) ? SI5341_OUT_CFG_RDIV_FORCE2 : 0); in si5341_output_clk_set_rate()
892 r[0] = r_div ? (r_div & 0xff) : 1; in si5341_output_clk_set_rate()
893 r[1] = (r_div >> 8) & 0xff; in si5341_output_clk_set_rate()
894 r[2] = (r_div >> 16) & 0xff; in si5341_output_clk_set_rate()