Searched refs:divf (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-highbank.c | 97 unsigned long divf, divq, vco_freq, reg; in clk_pll_recalc_rate() local 103 divf = (reg & HB_PLL_DIVF_MASK) >> HB_PLL_DIVF_SHIFT; in clk_pll_recalc_rate() 105 vco_freq = parent_rate * (divf + 1); in clk_pll_recalc_rate() 113 u32 divq, divf; in clk_pll_calc() local 127 divf = (vco_freq + (ref_freq / 2)) / ref_freq; in clk_pll_calc() 128 divf--; in clk_pll_calc() 131 *pdivf = divf; in clk_pll_calc() 137 u32 divq, divf; in clk_pll_round_rate() local 140 clk_pll_calc(rate, ref_freq, &divq, &divf); in clk_pll_round_rate() 142 return (ref_freq * (divf + 1)) / (1 << divq); in clk_pll_round_rate() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/socfpga/ |
D | clk-pll-a10.c | 38 unsigned long divf, divq, reg; in clk_pll_recalc_rate() local 43 divf = (reg & SOCFPGA_PLL_DIVF_MASK) >> SOCFPGA_PLL_DIVF_SHIFT; in clk_pll_recalc_rate() 45 vco_freq = (unsigned long long)parent_rate * (divf + 1); in clk_pll_recalc_rate()
|
D | clk-pll.c | 42 unsigned long divf, divq, reg; in clk_pll_recalc_rate() local 51 divf = (reg & SOCFPGA_PLL_DIVF_MASK) >> SOCFPGA_PLL_DIVF_SHIFT; in clk_pll_recalc_rate() 53 vco_freq = (unsigned long long)parent_rate * (divf + 1); in clk_pll_recalc_rate()
|
/kernel/linux/linux-5.10/drivers/clk/analogbits/ |
D | wrpll-cln28hpc.c | 299 c->divf = best_f - 1; in wrpll_configure_for_rate() 342 n = parent_rate * fbdiv * (c->divf + 1); in wrpll_calc_output_rate()
|
/kernel/linux/linux-5.10/include/linux/clk/ |
D | analogbits-wrpll-cln28hpc.h | 63 u16 divf; member
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-proc.c | 256 div_factor = setting->divf ? setting->divf(drive) : 1; in ide_settings_proc_show() 370 div_factor = setting->divf ? setting->divf(drive) : 1; in ide_settings_proc_write()
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 525 u32 divq, divf; in solo_pci_probe() local 531 divf = (solo_dev->clock_mhz * 4) / 3 - 1; in solo_pci_probe() 534 divf = (solo_dev->clock_mhz * 2) / 3 - 1; in solo_pci_probe() 541 (divf << 4) | in solo_pci_probe()
|
/kernel/linux/linux-5.10/drivers/clk/sifive/ |
D | fu540-prci.c | 244 c->divf = v; in __prci_wrpll_unpack() 281 r |= c->divf << PRCI_COREPLLCFG0_DIVF_SHIFT; in __prci_wrpll_pack()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ide.h | 960 int (*divf)(ide_drive_t *); member 969 .divf = _divf, \
|