Lines Matching defs:period
124 * - period:ns -ns is the minimum # of nanoseconds in a SCSI data transfer
125 * period. Default is 500; acceptable values are 250 - 1000.
162 * - wd33c93=disconnect:2,nosync:0x08,period:250
318 round_period(unsigned int period, const struct sx_period *sx_table)
323 if ((period <= sx_table[x - 0].period_ns) &&
324 (period > sx_table[x - 1].period_ns)) {
335 calc_sync_xfer(unsigned int period, unsigned int offset, unsigned int fast,
339 * value in 'sx_table' is two times the actually used transfer period.
345 period *= 2;
349 period *= 4; /* convert SDTR code to ns */
350 result = sx_table[round_period(period,sx_table)].reg_value;
357 * Calculate SDTR code bytes [3],[4] from period and offset.
360 calc_sync_msg(unsigned int period, unsigned int offset, unsigned int fast,
363 /* 'period' is a "normal"-mode value, like the ones in 'sx_table'. The
364 * actually used transfer period for Fast SCSI synchronous data
367 period /= 4;
369 period /= 2;
370 msg[0] = period;
1055 /* default to default async period */
1833 * - the wd33c93 may really use a significant shorter period, than it has
1985 if (check_setup_args("period", &flags, &val, buf))
2062 * period
2084 } else if (!strncmp(bp, "period:", 7)) {