Searched refs:f_low (Results 1 – 3 of 3) sorted by relevance
/drivers/ata/ |
D | pata_hpt3x2n.c | 497 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()
|
D | pata_hpt37x.c | 979 unsigned int f_low, f_high; in hpt37x_init_one() local 985 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one() 986 f_high = f_low + 2; in hpt37x_init_one() 993 (f_high << 16) | f_low | 0x100); in hpt37x_init_one() 1003 f_low -= adjust >> 1; in hpt37x_init_one() 1007 (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
|
/drivers/ide/ |
D | hpt366.c | 848 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()
|