Lines Matching refs:period
687 u32 period; local
742 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz;
744 if (period <= 250) np->minsync = 10;
745 else if (period <= 303) np->minsync = 11;
746 else if (period <= 500) np->minsync = 12;
747 else np->minsync = (period + 40 - 1) / 40;
762 period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz);
763 np->maxsync = period > 2540 ? 254 : period / 10;
1397 if (goal->period < np->minsync_dt)
1398 goal->period = np->minsync_dt;
1399 if (goal->period > np->maxsync_dt)
1400 goal->period = np->maxsync_dt;
1405 if (goal->period < np->minsync)
1406 goal->period = np->minsync;
1407 if (goal->period > np->maxsync)
1408 goal->period = np->maxsync;
1434 (goal->iu || goal->dt || goal->qas || (goal->period < 0xa)))) {
1447 msglen += spi_populate_sync_msg(msgptr + msglen, goal->period,
1454 msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period,
2052 if (tp->tprint.period != spi_period(starget) ||
2059 tp->tprint.period = spi_period(starget);
2124 tp->tgoal.period = per;
2150 spi_period(starget) = tp->tgoal.period = per;
4164 tp->tgoal.period = per;
4304 spi_populate_sync_msg(np->msgout, tp->tgoal.period,
4344 if (tp->tgoal.period < np->minsync)
4345 tp->tgoal.period = np->minsync;