• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:period

1225 /*0*/	u16	period;
1235 /*2*/ u16 period;
1686 u_char minsync; /* Minimum sync period factor */
1687 u_char maxsync; /* Maximum sync period factor */
3049 ** get period and offset
3715 u_long period;
3778 * Minimum synchronous period factor supported by the chip.
3779 * Btw, 'period' is in tenths of nanoseconds.
3782 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz;
3783 if (period <= 250) np->minsync = 10;
3784 else if (period <= 303) np->minsync = 11;
3785 else if (period <= 500) np->minsync = 12;
3786 else np->minsync = (period + 40 - 1) / 40;
3796 * Maximum synchronous period factor supported by the chip.
3799 period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz);
3800 np->maxsync = period > 2540 ? 254 : period / 10;
3945 tp->period = 0xffff;
4044 if (!nego && !tp->period) {
4048 tp->period =0xffff;
4243 if ((!tp->widedone || !tp->period) && !tp->nego_cp && lp) {
5287 ** period=0: has to negotiate sync transfer
5290 tp->period=0;
5301 ** synchronous factor period.
5317 ** Compute the synchronous period in tenths of nano-seconds
5326 ** input speed faster than the period.
5334 ** speed not faster than the period.
5404 ** Deduce the value of controller sync period from scntl3.
5405 ** period is in tenths of nano-seconds.
5410 tp->period = (((sxfer>>5)+4)*div_10M[idiv-1])/np->clock_khz;
5412 tp->period = 0xffff;
5422 if (tp->period <= 2000)
8323 static void ncr53c8xx_set_period(struct scsi_target *starget, int period)
8329 if (period > np->maxsync)
8330 period = np->maxsync;
8331 else if (period < np->minsync)
8332 period = np->minsync;
8334 tp->usrsync = period;