Lines Matching refs:t

388 	struct ata_timing t;  in ht6560a_set_piomode()  local
391 ata_timing_compute(adev, adev->pio_mode, &t, 20000, 1000); in ht6560a_set_piomode()
393 active = clamp_val(t.active, 2, 15); in ht6560a_set_piomode()
394 recover = clamp_val(t.recover, 4, 15); in ht6560a_set_piomode()
422 struct ata_timing t; in ht6560b_set_piomode() local
425 ata_timing_compute(adev, adev->pio_mode, &t, 20000, 1000); in ht6560b_set_piomode()
427 active = clamp_val(t.active, 2, 15); in ht6560b_set_piomode()
428 recover = clamp_val(t.recover, 2, 16) & 0x0F; in ht6560b_set_piomode()
486 struct ata_timing t; in opti82c611a_set_piomode() local
501 ata_timing_compute(adev, adev->pio_mode, &t, clock, 1000); in opti82c611a_set_piomode()
508 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP); in opti82c611a_set_piomode()
511 active = clamp_val(t.active, 2, 17) - 2; in opti82c611a_set_piomode()
512 recover = clamp_val(t.recover, 1, 16) - 1; in opti82c611a_set_piomode()
513 setup = clamp_val(t.setup, 1, 4) - 1; in opti82c611a_set_piomode()
561 struct ata_timing t; in opti82c46x_set_piomode() local
580 ata_timing_compute(adev, adev->pio_mode, &t, clock, 1000); in opti82c46x_set_piomode()
587 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP); in opti82c46x_set_piomode()
590 active = clamp_val(t.active, 2, 17) - 2; in opti82c46x_set_piomode()
591 recover = clamp_val(t.recover, 1, 16) - 1; in opti82c46x_set_piomode()
592 setup = clamp_val(t.setup, 1, 4) - 1; in opti82c46x_set_piomode()
677 struct ata_timing t; in qdi65x0_set_piomode() local
683 ata_timing_compute(adev, adev->pio_mode, &t, 30303, 1000); in qdi65x0_set_piomode()
686 active = 8 - clamp_val(t.active, 1, 8); in qdi65x0_set_piomode()
687 recovery = 18 - clamp_val(t.recover, 3, 18); in qdi65x0_set_piomode()
689 active = 9 - clamp_val(t.active, 2, 9); in qdi65x0_set_piomode()
690 recovery = 15 - clamp_val(t.recover, 0, 15); in qdi65x0_set_piomode()
815 struct ata_timing t; in winbond_set_piomode() local
825 ata_timing_compute(adev, adev->pio_mode, &t, 20000, 1000); in winbond_set_piomode()
827 ata_timing_compute(adev, adev->pio_mode, &t, 30303, 1000); in winbond_set_piomode()
829 active = (clamp_val(t.active, 3, 17) - 1) & 0x0F; in winbond_set_piomode()
830 recovery = (clamp_val(t.recover, 1, 15) + 1) & 0x0F; in winbond_set_piomode()
841 reg |= (clamp_val(t.setup, 0, 3) << 6); in winbond_set_piomode()