Lines Matching refs:period

118       /* ultra2    fast/ultra  period     rate */
152 u_int *period,
169 u_int period, u_int offset);
175 u_int period, u_int offset,
1336 /*period*/0, /*offset*/0,
1634 * this function finds the nearest syncrate to the input period limited
1641 u_int *period, u_int *ppr_options, role_t role)
1662 * period otherwise we may allow a target initiated
1679 if (transinfo->period == 0) {
1680 *period = 0;
1684 *period = MAX(*period, transinfo->period);
1685 return (ahc_find_syncrate(ahc, period, ppr_options, maxsync));
1689 * Look up the valid period to SCSIRATE conversion in our table.
1690 * Return the period and offset that should be sent to the target
1694 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
1718 if (*period <= syncrate->period) {
1726 * if the period we use to send data to it
1727 * is lower. Only lower the response period
1731 *period = syncrate->period;
1743 if ((*period == 0)
1748 *period = 0;
1757 * sync "period" factor.
1775 return (syncrate->period);
1777 return (syncrate->period);
1867 tinfo->curr.period = AHC_PERIOD_UNKNOWN;
1870 if (tinfo->curr.period != tinfo->goal.period
1895 struct ahc_syncrate *syncrate, u_int period,
1910 period = 0;
1918 tinfo->user.period = period;
1924 tinfo->goal.period = period;
1929 old_period = tinfo->curr.period;
1934 && (old_period != period
1982 tinfo->curr.period = period;
2371 u_int period;
2378 * Filter our period based on the current connection.
2383 period = tinfo->goal.period;
2389 rate = ahc_devlimited_syncrate(ahc, tinfo, &period,
2392 dosync = tinfo->curr.offset != offset || tinfo->curr.period != period;
2440 ahc_construct_ppr(ahc, devinfo, period, offset,
2443 ahc_construct_sdtr(ahc, devinfo, period, offset);
2456 u_int period, u_int offset)
2459 period = AHC_ASYNC_XFER_PERIOD;
2463 ahc->msgout_buf[ahc->msgout_index++] = period;
2467 printf("(%s:%c:%d:%d): Sending SDTR period %x, offset %x\n",
2469 devinfo->lun, period, offset);
2499 u_int period, u_int offset, u_int bus_width,
2503 period = AHC_ASYNC_XFER_PERIOD;
2507 ahc->msgout_buf[ahc->msgout_index++] = period;
2514 printf("(%s:%c:%d:%d): Sending PPR bus_width %x, period %x, "
2517 bus_width, period, offset, ppr_options);
3112 u_int period;
3132 period = ahc->msgin_buf[3];
3135 syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period,
3143 "SDTR period %x, offset %x\n\t"
3144 "Filtered to period %x, offset %x\n",
3148 period, offset);
3151 syncrate, period,
3181 period, offset);
3286 u_int period;
3309 period = ahc->msgin_buf[3];
3316 * period factor with no DT option
3320 && period == 9)
3336 syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period,
3353 period = 0;
3372 ahc_construct_ppr(ahc, devinfo, period, offset,
3379 "period %x, offset %x,options %x\n"
3380 "\tFiltered to width %x, period %x, "
3386 bus_width, period, offset, ppr_options);
3392 syncrate, period,
3546 ahc_set_syncrate(ahc, devinfo, /*syncrate*/NULL, /*period*/0,
3825 /*period*/0, /*offset*/0, /*ppr_options*/0,
5037 tinfo->user.period = ahc_syncrates->period;
5068 tinfo->user.period =
5071 tinfo->user.period = 0;
5085 tinfo->user.period =
5090 if (tinfo->user.period != 0)
5093 if (tinfo->user.period == 0)
6153 /*period*/0, /*offset*/0,