Lines Matching refs:udma
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()
99 t = at.udma ? (0xc0 | (clamp_val(at.udma, 2, 5) - 2)) : 0x03; in timing_setup()
103 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 2, 10)]) : 0x03; in timing_setup()
107 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 1, 10)]) : 0x03; in timing_setup()
111 t = at.udma ? (0xc0 | amd_cyc2udma[clamp_val(at.udma, 1, 15)]) : 0x03; in timing_setup()
119 if (at.udma) in timing_setup()
276 u32 saved_udma, udma; in nv_mode_filter() local
281 udma = saved_udma = (unsigned long)ap->host->private_data; in nv_mode_filter()
284 udma >>= 16; in nv_mode_filter()
286 udma >>= 8; in nv_mode_filter()
288 if ((udma & 0xc0) == 0xc0) in nv_mode_filter()
289 bios_limit = ata_pack_xfermask(0, 0, udma_mask_map[udma & 0x7]); in nv_mode_filter()
385 u32 udma = (unsigned long)host->private_data; in nv_host_stop() local
388 pci_write_config_dword(to_pci_dev(host->dev), 0x60, udma); in nv_host_stop()
568 u32 udma; in amd_init_one() local
570 pci_read_config_dword(pdev, 0x60, &udma); in amd_init_one()
571 hpriv = (void *)(unsigned long)udma; in amd_init_one()