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

/linux-4.1.27/drivers/ide/
H A Damd74xx.c36 static unsigned int amd_clock; variable
91 T = 1000000000 / amd_clock; amd_set_drive()
101 if (speed == XFER_UDMA_5 && amd_clock <= 33333) t.udma = 1; amd_set_drive()
102 if (speed == XFER_UDMA_6 && amd_clock <= 33333) t.udma = 15; amd_set_drive()
273 amd_clock = (ide_pci_clk ? ide_pci_clk : 33) * 1000; amd74xx_probe()
275 switch (amd_clock) { amd74xx_probe()
276 case 33000: amd_clock = 33333; break; amd74xx_probe()
277 case 37000: amd_clock = 37500; break; amd74xx_probe()
278 case 41000: amd_clock = 41666; break; amd74xx_probe()
281 if (amd_clock < 20000 || amd_clock > 50000) { amd74xx_probe()
284 d.name, amd_clock); amd74xx_probe()
285 amd_clock = 33333; amd74xx_probe()
/linux-4.1.27/drivers/ata/
H A Dpata_amd.c53 const int amd_clock = 33333; /* KHz. */ timing_setup() local
56 T = 1000000000 / amd_clock; timing_setup()
76 if (speed == XFER_UDMA_5 && amd_clock <= 33333) at.udma = 1; timing_setup()
77 if (speed == XFER_UDMA_6 && amd_clock <= 33333) at.udma = 15; timing_setup()

Completed in 153 milliseconds