Searched refs:rdiv (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/arch/mips/cavium-octeon/ |
D | csrc-octeon.c | 26 static u64 rdiv; variable 46 rdiv = rst_boot.s.c_mul; /* CPU clock */ in octeon_setup_delays() 53 rdiv = rst_boot.s.c_mul; /* CPU clock */ in octeon_setup_delays() 87 if (rdiv != 0) { in octeon_init_cvmcount() 88 clk_count *= rdiv; in octeon_init_cvmcount() 198 if (rdiv != 0) { in octeon_io_clk_delay() 199 end = count * rdiv; in octeon_io_clk_delay()
|
/linux-6.1.9/drivers/clk/imx/ |
D | clk-fracn-gppll.c | 51 .rdiv = (_rdiv), \ 122 u32 mfi, mfn, mfd, rdiv, odiv; in clk_fracn_gppll_recalc_rate() local 136 rdiv = FIELD_GET(PLL_RDIV_MASK, pll_div); in clk_fracn_gppll_recalc_rate() 147 rate_table[i].mfd == mfd && rate_table[i].rdiv == rdiv && in clk_fracn_gppll_recalc_rate() 155 if (!rdiv) in clk_fracn_gppll_recalc_rate() 156 rdiv = rdiv + 1; in clk_fracn_gppll_recalc_rate() 171 do_div(fvco, mfd * rdiv * odiv); in clk_fracn_gppll_recalc_rate() 207 pll_div = FIELD_PREP(PLL_RDIV_MASK, rate->rdiv) | rate->odiv | in clk_fracn_gppll_set_rate()
|
D | clk.h | 82 unsigned int rdiv; member
|
/linux-6.1.9/drivers/clk/ |
D | clk-si5351.c | 1017 unsigned char rdiv; in si5351_clkout_recalc_rate() local 1024 rdiv = si5351_reg_read(hwdata->drvdata, reg); in si5351_clkout_recalc_rate() 1026 rdiv &= SI5351_OUTPUT_CLK6_DIV_MASK; in si5351_clkout_recalc_rate() 1028 rdiv &= SI5351_OUTPUT_CLK_DIV_MASK; in si5351_clkout_recalc_rate() 1029 rdiv >>= SI5351_OUTPUT_CLK_DIV_SHIFT; in si5351_clkout_recalc_rate() 1032 return parent_rate >> rdiv; in si5351_clkout_recalc_rate() 1040 unsigned char rdiv; in si5351_clkout_round_rate() local 1055 rdiv = SI5351_OUTPUT_CLK_DIV_1; in si5351_clkout_round_rate() 1057 rdiv < SI5351_OUTPUT_CLK_DIV_128) { in si5351_clkout_round_rate() 1058 rdiv += 1; in si5351_clkout_round_rate() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k.c | 265 u32 *rate_mantissa, u32 *rdiv) in cn10k_get_ingress_rate_cfg() argument 296 *rdiv = div; in cn10k_get_ingress_rate_cfg() 364 u32 rdiv; in cn10k_set_ipolicer_rate() local 368 cn10k_get_ingress_rate_cfg(rate, &rate_exp, &rate_mantissa, &rdiv); in cn10k_set_ipolicer_rate() 392 aq->prof.rdiv = rdiv; in cn10k_set_ipolicer_rate() 393 aq->prof_mask.rdiv = 0xF; in cn10k_set_ipolicer_rate()
|
/linux-6.1.9/drivers/media/tuners/ |
D | tda18250.c | 428 static int tda18250_pll_calc(struct dvb_frontend *fe, u8 *rdiv, in tda18250_pll_calc() argument 451 *rdiv = 1; in tda18250_pll_calc() 457 *rdiv = 3; in tda18250_pll_calc() 463 *rdiv = 2; in tda18250_pll_calc() 467 *rdiv = 2; in tda18250_pll_calc() 471 *rdiv = 3; in tda18250_pll_calc() 477 *rdiv = 2; in tda18250_pll_calc() 487 lopd, scale, fvco, *rdiv, *ndiv, *icp); in tda18250_pll_calc()
|
/linux-6.1.9/drivers/clk/socfpga/ |
D | clk-pll-s10.c | 44 unsigned long fdiv, reg, rdiv, qdiv; in n5x_clk_pll_recalc_rate() local 50 rdiv = (reg & SOCFPGA_N5X_PLLDIV_RDIV_MASK); in n5x_clk_pll_recalc_rate() 58 return ((parent_rate * 2 * (fdiv + 1)) / ((rdiv + 1) * power)); in n5x_clk_pll_recalc_rate()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_struct.h | 725 uint64_t rdiv : 4; member
|
D | rvu_debugfs.c | 2186 seq_printf(m, "W1: rdiv\t\t%d\n", prof->rdiv); in print_band_prof_ctx()
|