Searched refs:divf (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/clk/ |
H A D | clk-highbank.c | 109 unsigned long divf, divq, vco_freq, reg; clk_pll_recalc_rate() local 115 divf = (reg & HB_PLL_DIVF_MASK) >> HB_PLL_DIVF_SHIFT; clk_pll_recalc_rate() 117 vco_freq = parent_rate * (divf + 1); clk_pll_recalc_rate() 125 u32 divq, divf; clk_pll_calc() local 139 divf = (vco_freq + (ref_freq / 2)) / ref_freq; clk_pll_calc() 140 divf--; clk_pll_calc() 143 *pdivf = divf; clk_pll_calc() 149 u32 divq, divf; clk_pll_round_rate() local 152 clk_pll_calc(rate, ref_freq, &divq, &divf); clk_pll_round_rate() 154 return (ref_freq * (divf + 1)) / (1 << divq); clk_pll_round_rate() 161 u32 divq, divf; clk_pll_set_rate() local 164 clk_pll_calc(rate, parent_rate, &divq, &divf); clk_pll_set_rate() 167 if (divf != ((reg & HB_PLL_DIVF_MASK) >> HB_PLL_DIVF_SHIFT)) { clk_pll_set_rate() 174 reg |= (divf << HB_PLL_DIVF_SHIFT) | (divq << HB_PLL_DIVQ_SHIFT); clk_pll_set_rate()
|
/linux-4.4.14/drivers/clk/socfpga/ |
H A D | clk-pll-a10.c | 49 unsigned long divf, divq, reg; clk_pll_recalc_rate() local 54 divf = (reg & SOCFPGA_PLL_DIVF_MASK) >> SOCFPGA_PLL_DIVF_SHIFT; clk_pll_recalc_rate() 56 vco_freq = (unsigned long long)parent_rate * (divf + 1); clk_pll_recalc_rate()
|
H A D | clk-pll.c | 52 unsigned long divf, divq, reg; clk_pll_recalc_rate() local 61 divf = (reg & SOCFPGA_PLL_DIVF_MASK) >> SOCFPGA_PLL_DIVF_SHIFT; clk_pll_recalc_rate() 63 vco_freq = (unsigned long long)parent_rate * (divf + 1); clk_pll_recalc_rate()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
H A D | solo6x10-core.c | 531 u32 divq, divf; solo_pci_probe() local 537 divf = (solo_dev->clock_mhz * 4) / 3 - 1; solo_pci_probe() 540 divf = (solo_dev->clock_mhz * 2) / 3 - 1; solo_pci_probe() 547 (divf << 4) | solo_pci_probe()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-proc.c | 307 div_factor = setting->divf ? setting->divf(drive) : 1; ide_settings_proc_show() 421 div_factor = setting->divf ? setting->divf(drive) : 1; ide_settings_proc_write()
|
/linux-4.4.14/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 317 unsigned int divi, divf, target_frequency; bcm2835_i2s_hw_params() local 388 divf = 0; bcm2835_i2s_hw_params() 410 divf = dividend & BCM2835_CLK_DIVF_MASK; bcm2835_i2s_hw_params() 416 | BCM2835_CLK_DIVF(divf)); bcm2835_i2s_hw_params()
|
/linux-4.4.14/include/linux/ |
H A D | ide.h | 915 int (*divf)(ide_drive_t *); member in struct:ide_proc_devset 924 .divf = _divf, \
|
Completed in 232 milliseconds