Searched refs:rdiv (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/mips/cavium-octeon/
H A Dcsrc-octeon.c24 static u64 rdiv; variable
44 rdiv = rst_boot.s.c_mul; /* CPU clock */ octeon_setup_delays()
51 rdiv = rst_boot.s.c_mul; /* CPU clock */ octeon_setup_delays()
64 * On CPU_CAVIUM_OCTEON2 the IPD_CLK_COUNT is scaled by rdiv/sdiv.
81 if (rdiv != 0) { octeon_init_cvmcount()
82 ipd_clk_count *= rdiv; octeon_init_cvmcount()
192 if (rdiv != 0) { octeon_io_clk_delay()
193 end = count * rdiv; octeon_io_clk_delay()
/linux-4.1.27/drivers/clk/
H A Dclk-si5351.c169 /* save rdiv and divby4 */ si5351_write_parameters()
968 unsigned char rdiv; si5351_clkout_recalc_rate() local
975 rdiv = si5351_reg_read(hwdata->drvdata, reg); si5351_clkout_recalc_rate()
977 rdiv &= SI5351_OUTPUT_CLK6_DIV_MASK; si5351_clkout_recalc_rate()
979 rdiv &= SI5351_OUTPUT_CLK_DIV_MASK; si5351_clkout_recalc_rate()
980 rdiv >>= SI5351_OUTPUT_CLK_DIV_SHIFT; si5351_clkout_recalc_rate()
983 return parent_rate >> rdiv; si5351_clkout_recalc_rate()
991 unsigned char rdiv; si5351_clkout_round_rate() local
1006 rdiv = SI5351_OUTPUT_CLK_DIV_1; si5351_clkout_round_rate()
1008 rdiv < SI5351_OUTPUT_CLK_DIV_128) { si5351_clkout_round_rate()
1009 rdiv += 1; si5351_clkout_round_rate()
1016 /* round to closed rdiv */ si5351_clkout_round_rate()
1017 rdiv = SI5351_OUTPUT_CLK_DIV_1; si5351_clkout_round_rate()
1023 if (new_err > err || rdiv == SI5351_OUTPUT_CLK_DIV_128) si5351_clkout_round_rate()
1025 rdiv++; si5351_clkout_round_rate()
1029 rate = *parent_rate >> rdiv; si5351_clkout_round_rate()
1032 "%s - %s: rdiv = %u, parent_rate = %lu, rate = %lu\n", si5351_clkout_round_rate()
1033 __func__, __clk_get_name(hwdata->hw.clk), (1 << rdiv), si5351_clkout_round_rate()
1045 unsigned char rdiv; si5351_clkout_set_rate() local
1047 /* round to closed rdiv */ si5351_clkout_set_rate()
1048 rdiv = SI5351_OUTPUT_CLK_DIV_1; si5351_clkout_set_rate()
1054 if (new_err > err || rdiv == SI5351_OUTPUT_CLK_DIV_128) si5351_clkout_set_rate()
1056 rdiv++; si5351_clkout_set_rate()
1064 SI5351_OUTPUT_CLK6_DIV_MASK, rdiv); si5351_clkout_set_rate()
1069 rdiv << SI5351_OUTPUT_CLK_DIV_SHIFT); si5351_clkout_set_rate()
1075 rdiv << SI5351_OUTPUT_CLK_DIV_SHIFT); si5351_clkout_set_rate()
1083 "%s - %s: rdiv = %u, parent_rate = %lu, rate = %lu\n", si5351_clkout_set_rate()
1084 __func__, __clk_get_name(hwdata->hw.clk), (1 << rdiv), si5351_clkout_set_rate()
/linux-4.1.27/Documentation/arm/Samsung/
H A Dclksrc-change-registers.awk124 printf "rdiv '" reg_div "'\n" > "/dev/stderr"
133 printf "/* rdiv " reg_div " */\n"

Completed in 155 milliseconds