Home
last modified time | relevance | path

Searched refs:amd_clock (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/ide/
Damd74xx.c32 static unsigned int amd_clock; variable
87 T = 1000000000 / amd_clock; in amd_set_drive()
97 if (speed == XFER_UDMA_5 && amd_clock <= 33333) t.udma = 1; in amd_set_drive()
98 if (speed == XFER_UDMA_6 && amd_clock <= 33333) t.udma = 15; in amd_set_drive()
269 amd_clock = (ide_pci_clk ? ide_pci_clk : 33) * 1000; in amd74xx_probe()
271 switch (amd_clock) { in amd74xx_probe()
272 case 33000: amd_clock = 33333; break; in amd74xx_probe()
273 case 37000: amd_clock = 37500; break; in amd74xx_probe()
274 case 41000: amd_clock = 41666; break; in amd74xx_probe()
277 if (amd_clock < 20000 || amd_clock > 50000) { in amd74xx_probe()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dpata_amd.c54 const int amd_clock = 33333; /* KHz. */ in timing_setup() local
57 T = 1000000000 / amd_clock; in timing_setup()
77 if (speed == XFER_UDMA_5 && amd_clock <= 33333) at.udma = 1; in timing_setup()
78 if (speed == XFER_UDMA_6 && amd_clock <= 33333) at.udma = 15; in timing_setup()