Home
last modified time | relevance | path

Searched refs:f_low (Results 1 – 4 of 4) sorted by relevance

/drivers/ata/
Dpata_hpt3x2n.c497 unsigned int f_low, f_high; in hpt3x2n_init_one() local
568 f_low = (pci_mhz * 48) / 66; /* PCI Mhz for 66Mhz DPLL */ in hpt3x2n_init_one()
569 f_high = f_low + 2; /* Tolerance */ in hpt3x2n_init_one()
571 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low | 0x100); in hpt3x2n_init_one()
579 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low); in hpt3x2n_init_one()
Dpata_hpt37x.c993 unsigned int f_low, f_high; in hpt37x_init_one() local
999 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one()
1000 f_high = f_low + 2; in hpt37x_init_one()
1007 (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
1017 f_low -= adjust >> 1; in hpt37x_init_one()
1021 (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
/drivers/ide/
Dhpt366.c848 static int hpt37x_calibrate_dpll(struct pci_dev *dev, u16 f_low, u16 f_high) in hpt37x_calibrate_dpll() argument
850 u32 dpll = (f_high << 16) | f_low | 0x100; in hpt37x_calibrate_dpll()
1060 u16 f_low, delta = pci_clk < 50 ? 2 : 4; in init_chipset_hpt366() local
1088 f_low = (pci_clk * 48) / dpll_clk; in init_chipset_hpt366()
1091 if(hpt37x_calibrate_dpll(dev, f_low, f_low + delta)) in init_chipset_hpt366()
1098 f_low -= adjust >> 1; in init_chipset_hpt366()
1100 f_low += adjust >> 1; in init_chipset_hpt366()
/drivers/soc/qcom/
Dcpr.c1023 unsigned long f_high, f_low, f_diff; in cpr_interpolate() local
1032 f_low = prev_fuse->max_freq; in cpr_interpolate()
1042 if (f_high <= f_low || uV_high <= uV_low || f_high <= corner->freq) in cpr_interpolate()
1046 temp = div64_ul(temp, f_high - f_low); in cpr_interpolate()