Lines Matching refs:period
1224 /*0*/ u16 period; member
1234 /*2*/ u16 period; member
3747 u_long period; in ncr_prepare_setting() local
3814 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz; in ncr_prepare_setting()
3815 if (period <= 250) np->minsync = 10; in ncr_prepare_setting()
3816 else if (period <= 303) np->minsync = 11; in ncr_prepare_setting()
3817 else if (period <= 500) np->minsync = 12; in ncr_prepare_setting()
3818 else np->minsync = (period + 40 - 1) / 40; in ncr_prepare_setting()
3831 period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz); in ncr_prepare_setting()
3832 np->maxsync = period > 2540 ? 254 : period / 10; in ncr_prepare_setting()
3977 tp->period = 0xffff; in ncr_prepare_setting()
4076 if (!nego && !tp->period) { in ncr_prepare_nego()
4080 tp->period =0xffff; in ncr_prepare_nego()
4275 if ((!tp->widedone || !tp->period) && !tp->nego_cp && lp) { in ncr_queue_command()
5408 tp->period=0; in ncr_negotiate()
5552 tp->period = (((sxfer>>5)+4)*div_10M[idiv-1])/np->clock_khz; in ncr_setsync()
5554 tp->period = 0xffff; in ncr_setsync()
5564 if (tp->period <= 2000) in ncr_setsync()
8538 static void ncr53c8xx_set_period(struct scsi_target *starget, int period) argument
8544 if (period > np->maxsync)
8545 period = np->maxsync;
8546 else if (period < np->minsync)
8547 period = np->minsync;
8549 tp->usrsync = period;