Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_hpt3x2n.c455 unsigned int f_low, f_high; in hpt3x2n_init_one() local
523 f_low = (pci_mhz * 48) / 66; /* PCI Mhz for 66Mhz DPLL */ in hpt3x2n_init_one()
524 f_high = f_low + 2; /* Tolerance */ in hpt3x2n_init_one()
526 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low | 0x100); in hpt3x2n_init_one()
534 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low); in hpt3x2n_init_one()
Dpata_hpt37x.c969 unsigned int f_low, f_high; in hpt37x_init_one() local
975 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one()
976 f_high = f_low + 2; in hpt37x_init_one()
982 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
989 f_low -= adjust >> 1; in hpt37x_init_one()
992 pci_write_config_dword(dev, 0x5C, (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
/drivers/ide/
Dhpt366.c940 static int hpt37x_calibrate_dpll(struct pci_dev *dev, u16 f_low, u16 f_high) in hpt37x_calibrate_dpll() argument
942 u32 dpll = (f_high << 16) | f_low | 0x100; in hpt37x_calibrate_dpll()
1152 u16 f_low, delta = pci_clk < 50 ? 2 : 4; in init_chipset_hpt366() local
1180 f_low = (pci_clk * 48) / dpll_clk; in init_chipset_hpt366()
1183 if(hpt37x_calibrate_dpll(dev, f_low, f_low + delta)) in init_chipset_hpt366()
1190 f_low -= adjust >> 1; in init_chipset_hpt366()
1192 f_low += adjust >> 1; in init_chipset_hpt366()