Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ata/
Dpata_hpt3x2n.c496 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()
Dpata_hpt37x.c978 unsigned int f_low, f_high; in hpt37x_init_one() local
984 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one()
985 f_high = f_low + 2; in hpt37x_init_one()
992 (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
1002 f_low -= adjust >> 1; in hpt37x_init_one()
1006 (f_high << 16) | f_low | 0x100); in hpt37x_init_one()
/Linux-v4.19/drivers/ide/
Dhpt366.c847 static int hpt37x_calibrate_dpll(struct pci_dev *dev, u16 f_low, u16 f_high) in hpt37x_calibrate_dpll() argument
849 u32 dpll = (f_high << 16) | f_low | 0x100; in hpt37x_calibrate_dpll()
1059 u16 f_low, delta = pci_clk < 50 ? 2 : 4; in init_chipset_hpt366() local
1087 f_low = (pci_clk * 48) / dpll_clk; in init_chipset_hpt366()
1090 if(hpt37x_calibrate_dpll(dev, f_low, f_low + delta)) in init_chipset_hpt366()
1097 f_low -= adjust >> 1; in init_chipset_hpt366()
1099 f_low += adjust >> 1; in init_chipset_hpt366()