Lines Matching refs:active
389 u8 active, recover; in ht6560a_set_piomode() local
395 active = clamp_val(t.active, 2, 15); in ht6560a_set_piomode()
403 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560a_set_piomode()
423 u8 active, recover; in ht6560b_set_piomode() local
429 active = clamp_val(t.active, 2, 15); in ht6560b_set_piomode()
437 iowrite8(recover << 4 | active, ap->ioaddr.device_addr); in ht6560b_set_piomode()
487 u8 active, recover, setup; in opti82c611a_set_piomode() local
513 active = clamp_val(t.active, 2, 17) - 2; in opti82c611a_set_piomode()
524 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); in opti82c611a_set_piomode()
535 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c611a_set_piomode()
562 u8 active, recover, setup; in opti82c46x_set_piomode() local
592 active = clamp_val(t.active, 2, 17) - 2; in opti82c46x_set_piomode()
603 iowrite8(active << 4 | recover, ap->ioaddr.error_addr); in opti82c46x_set_piomode()
614 iowrite8(active << 4 | recover, ap->ioaddr.data_addr); in opti82c46x_set_piomode()
681 int active, recovery; in qdi65x0_set_piomode() local
688 active = 8 - clamp_val(t.active, 1, 8); in qdi65x0_set_piomode()
691 active = 9 - clamp_val(t.active, 2, 9); in qdi65x0_set_piomode()
694 timing = (recovery << 4) | active | 0x08; in qdi65x0_set_piomode()
819 int active, recovery; in winbond_set_piomode() local
831 active = (clamp_val(t.active, 3, 17) - 1) & 0x0F; in winbond_set_piomode()
833 timing = (active << 4) | recovery; in winbond_set_piomode()