• 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/aic7xxx/

Lines Matching refs:period

119       /* ultra2    fast/ultra  period     rate */
153 u_int *period,
170 u_int period, u_int offset);
176 u_int period, u_int offset,
1901 /*period*/0, /*offset*/0,
2169 * this function finds the nearest syncrate to the input period limited
2176 u_int *period, u_int *ppr_options, role_t role)
2197 * period otherwise we may allow a target initiated
2214 if (transinfo->period == 0) {
2215 *period = 0;
2219 *period = max(*period, (u_int)transinfo->period);
2220 return (ahc_find_syncrate(ahc, period, ppr_options, maxsync));
2224 * Look up the valid period to SCSIRATE conversion in our table.
2225 * Return the period and offset that should be sent to the target
2229 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
2263 if (*period <= syncrate->period) {
2271 * if the period we use to send data to it
2272 * is lower. Only lower the response period
2276 *period = syncrate->period;
2288 if ((*period == 0)
2293 *period = 0;
2302 * sync "period" factor.
2332 return (syncrate->period);
2334 return (syncrate->period);
2424 tinfo->curr.period = AHC_PERIOD_UNKNOWN;
2427 if (tinfo->curr.period != tinfo->goal.period
2452 const struct ahc_syncrate *syncrate, u_int period,
2467 period = 0;
2475 tinfo->user.period = period;
2481 tinfo->goal.period = period;
2486 old_period = tinfo->curr.period;
2491 && (old_period != period
2541 tinfo->curr.period = period;
2933 u_int period;
2940 * Filter our period based on the current connection.
2945 period = tinfo->goal.period;
2951 rate = ahc_devlimited_syncrate(ahc, tinfo, &period,
2954 dosync = tinfo->curr.offset != offset || tinfo->curr.period != period;
3003 ahc_construct_ppr(ahc, devinfo, period, offset,
3006 ahc_construct_sdtr(ahc, devinfo, period, offset);
3019 u_int period, u_int offset)
3022 period = AHC_ASYNC_XFER_PERIOD;
3024 ahc->msgout_buf + ahc->msgout_index, period, offset);
3027 printk("(%s:%c:%d:%d): Sending SDTR period %x, offset %x\n",
3029 devinfo->lun, period, offset);
3057 u_int period, u_int offset, u_int bus_width,
3061 period = AHC_ASYNC_XFER_PERIOD;
3063 ahc->msgout_buf + ahc->msgout_index, period, offset,
3067 printk("(%s:%c:%d:%d): Sending PPR bus_width %x, period %x, "
3070 bus_width, period, offset, ppr_options);
3592 u_int period;
3612 period = ahc->msgin_buf[3];
3615 syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period,
3623 "SDTR period %x, offset %x\n\t"
3624 "Filtered to period %x, offset %x\n",
3628 period, offset);
3631 syncrate, period,
3661 period, offset);
3767 u_int period;
3790 period = ahc->msgin_buf[3];
3797 * period factor with no DT option
3801 && period == 9)
3817 syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period,
3834 period = 0;
3853 ahc_construct_ppr(ahc, devinfo, period, offset,
3860 "period %x, offset %x,options %x\n"
3861 "\tFiltered to width %x, period %x, "
3867 bus_width, period, offset, ppr_options);
3873 syncrate, period,
4029 ahc_set_syncrate(ahc, devinfo, /*syncrate*/NULL, /*period*/0,
4312 /*period*/0, /*offset*/0, /*ppr_options*/0,
5461 tinfo->user.period = ahc_syncrates->period;
5492 tinfo->user.period =
5495 tinfo->user.period = 0;
5509 tinfo->user.period =
5514 if (tinfo->user.period != 0)
5517 if (tinfo->user.period == 0)
6570 /*period*/0, /*offset*/0,