Lines Matching refs:t
55 struct ata_timing t; in cmd640_set_piomode() local
62 if (ata_timing_compute(adev, adev->pio_mode, &t, T, 0) < 0) { in cmd640_set_piomode()
72 ata_timing_merge(&p, &t, &t, ATA_TIMING_SETUP); in cmd640_set_piomode()
76 if (t.recover > 16) { in cmd640_set_piomode()
77 t.active += t.recover - 16; in cmd640_set_piomode()
78 t.recover = 16; in cmd640_set_piomode()
80 if (t.active > 16) in cmd640_set_piomode()
81 t.active = 16; in cmd640_set_piomode()
86 if (t.recover > 1) in cmd640_set_piomode()
87 t.recover--; /* 640B only */ in cmd640_set_piomode()
89 t.recover = 15; in cmd640_set_piomode()
91 if (t.setup > 4) in cmd640_set_piomode()
92 t.setup = 0xC0; in cmd640_set_piomode()
94 t.setup = setup_data[t.setup]; in cmd640_set_piomode()
97 t.active &= 0x0F; /* 0 = 16 */ in cmd640_set_piomode()
102 reg |= t.setup; in cmd640_set_piomode()
106 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); in cmd640_set_piomode()
113 reg |= t.setup; in cmd640_set_piomode()
115 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode()