Lines Matching refs:regdw
302 u32 regdw = 0;
305 pci_read_config_dword(dev, drive_pci, ®dw);
307 regdw |= 0x04;
308 regdw &= 0xfffff00f;
310 clk = (regdw & 0x08) ? ATA_133 : ATA_100;
312 regdw |= cycle_time_value[clk][idx] << 4;
313 regdw |= cvs_time_value[clk][idx] << 8;
315 pci_write_config_dword(dev, drive_pci, regdw);
356 u32 regdw = 0;
359 pci_read_config_dword(dev, drive_pci, ®dw);
362 return (regdw & 0x08) ? ATA_UDMA6 : ATA_UDMA5;