Lines Matching refs:t
97 struct ata_timing t; in cmd64x_set_timing() local
118 if (ata_timing_compute(adev, mode, &t, T, 0) < 0) { in cmd64x_set_timing()
129 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP); in cmd64x_set_timing()
134 t.active, t.recover, t.setup); in cmd64x_set_timing()
135 if (t.recover > 16) { in cmd64x_set_timing()
136 t.active += t.recover - 16; in cmd64x_set_timing()
137 t.recover = 16; in cmd64x_set_timing()
139 if (t.active > 16) in cmd64x_set_timing()
140 t.active = 16; in cmd64x_set_timing()
145 if (t.recover == 16) in cmd64x_set_timing()
146 t.recover = 0; in cmd64x_set_timing()
147 else if (t.recover > 1) in cmd64x_set_timing()
148 t.recover--; in cmd64x_set_timing()
150 t.recover = 15; in cmd64x_set_timing()
152 if (t.setup > 4) in cmd64x_set_timing()
153 t.setup = 0xC0; in cmd64x_set_timing()
155 t.setup = setup_data[t.setup]; in cmd64x_set_timing()
157 t.active &= 0x0F; /* 0 = 16 */ in cmd64x_set_timing()
162 reg |= t.setup; in cmd64x_set_timing()
166 pci_write_config_byte(pdev, drwtim, (t.active << 4) | t.recover); in cmd64x_set_timing()