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

/linux-4.1.27/drivers/ide/
H A Damd74xx.c39 static unsigned char amd_cyc2udma[] = { 6, 6, 5, 4, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 7 }; variable
67 case ATA_UDMA4: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 2, 10)]) : 0x03; break; amd_set_speed()
68 case ATA_UDMA5: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 1, 10)]) : 0x03; break; amd_set_speed()
69 case ATA_UDMA6: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 1, 15)]) : 0x03; break; amd_set_speed()
/linux-4.1.27/drivers/ata/
H A Dpata_amd.c44 static const unsigned char amd_cyc2udma[] = { timing_setup() local
102 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 2, 10)]) : 0x03; timing_setup()
106 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 1, 10)]) : 0x03; timing_setup()
110 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 1, 15)]) : 0x03; timing_setup()

Completed in 156 milliseconds