Searched refs:f_low (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/ata/ |
D | pata_hpt3x2n.c | 496 unsigned int f_low, f_high; in hpt3x2n_init_one() local 567 f_low = (pci_mhz * 48) / 66; /* PCI Mhz for 66Mhz DPLL */ in hpt3x2n_init_one() 568 f_high = f_low + 2; /* Tolerance */ in hpt3x2n_init_one() 570 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low | 0x100); in hpt3x2n_init_one() 578 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low); in hpt3x2n_init_one()
|
D | pata_hpt37x.c | 981 unsigned int f_low, f_high; in hpt37x_init_one() local 987 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one() 988 f_high = f_low + 2; in hpt37x_init_one() 995 (f_high << 16) | f_low | 0x100); in hpt37x_init_one() 1005 f_low -= adjust >> 1; in hpt37x_init_one() 1009 (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
|
/linux-4.4.14/drivers/ide/ |
D | hpt366.c | 851 static int hpt37x_calibrate_dpll(struct pci_dev *dev, u16 f_low, u16 f_high) in hpt37x_calibrate_dpll() argument 853 u32 dpll = (f_high << 16) | f_low | 0x100; in hpt37x_calibrate_dpll() 1063 u16 f_low, delta = pci_clk < 50 ? 2 : 4; in init_chipset_hpt366() local 1091 f_low = (pci_clk * 48) / dpll_clk; in init_chipset_hpt366() 1094 if(hpt37x_calibrate_dpll(dev, f_low, f_low + delta)) in init_chipset_hpt366() 1101 f_low -= adjust >> 1; in init_chipset_hpt366() 1103 f_low += adjust >> 1; in init_chipset_hpt366()
|