Lines Matching refs:period

146 						u_int *period,
163 u_int period, u_int offset);
169 u_int period, u_int offset,
2193 u_int *period, u_int *ppr_options, role_t role) in ahc_devlimited_syncrate() argument
2231 if (transinfo->period == 0) { in ahc_devlimited_syncrate()
2232 *period = 0; in ahc_devlimited_syncrate()
2236 *period = max(*period, (u_int)transinfo->period); in ahc_devlimited_syncrate()
2237 return (ahc_find_syncrate(ahc, period, ppr_options, maxsync)); in ahc_devlimited_syncrate()
2246 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, in ahc_find_syncrate() argument
2280 if (*period <= syncrate->period) { in ahc_find_syncrate()
2293 *period = syncrate->period; in ahc_find_syncrate()
2305 if ((*period == 0) in ahc_find_syncrate()
2310 *period = 0; in ahc_find_syncrate()
2349 return (syncrate->period); in ahc_find_period()
2351 return (syncrate->period); in ahc_find_period()
2441 tinfo->curr.period = AHC_PERIOD_UNKNOWN; in ahc_update_neg_request()
2444 if (tinfo->curr.period != tinfo->goal.period in ahc_update_neg_request()
2469 const struct ahc_syncrate *syncrate, u_int period, in ahc_set_syncrate() argument
2484 period = 0; in ahc_set_syncrate()
2492 tinfo->user.period = period; in ahc_set_syncrate()
2498 tinfo->goal.period = period; in ahc_set_syncrate()
2503 old_period = tinfo->curr.period; in ahc_set_syncrate()
2508 && (old_period != period in ahc_set_syncrate()
2558 tinfo->curr.period = period; in ahc_set_syncrate()
2950 u_int period; in ahc_build_transfer_msg() local
2962 period = tinfo->goal.period; in ahc_build_transfer_msg()
2968 rate = ahc_devlimited_syncrate(ahc, tinfo, &period, in ahc_build_transfer_msg()
2971 dosync = tinfo->curr.offset != offset || tinfo->curr.period != period; in ahc_build_transfer_msg()
3020 ahc_construct_ppr(ahc, devinfo, period, offset, in ahc_build_transfer_msg()
3023 ahc_construct_sdtr(ahc, devinfo, period, offset); in ahc_build_transfer_msg()
3036 u_int period, u_int offset) in ahc_construct_sdtr() argument
3039 period = AHC_ASYNC_XFER_PERIOD; in ahc_construct_sdtr()
3041 ahc->msgout_buf + ahc->msgout_index, period, offset); in ahc_construct_sdtr()
3046 devinfo->lun, period, offset); in ahc_construct_sdtr()
3074 u_int period, u_int offset, u_int bus_width, in ahc_construct_ppr() argument
3078 period = AHC_ASYNC_XFER_PERIOD; in ahc_construct_ppr()
3080 ahc->msgout_buf + ahc->msgout_index, period, offset, in ahc_construct_ppr()
3087 bus_width, period, offset, ppr_options); in ahc_construct_ppr()
3613 u_int period; in ahc_parse_msg() local
3633 period = ahc->msgin_buf[3]; in ahc_parse_msg()
3636 syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period, in ahc_parse_msg()
3649 period, offset); in ahc_parse_msg()
3652 syncrate, period, in ahc_parse_msg()
3682 period, offset); in ahc_parse_msg()
3788 u_int period; in ahc_parse_msg() local
3811 period = ahc->msgin_buf[3]; in ahc_parse_msg()
3822 && period == 9) in ahc_parse_msg()
3838 syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period, in ahc_parse_msg()
3855 period = 0; in ahc_parse_msg()
3874 ahc_construct_ppr(ahc, devinfo, period, offset, in ahc_parse_msg()
3888 bus_width, period, offset, ppr_options); in ahc_parse_msg()
3894 syncrate, period, in ahc_parse_msg()
5449 tinfo->user.period = ahc_syncrates->period; in ahc_init()
5480 tinfo->user.period = in ahc_init()
5483 tinfo->user.period = 0; in ahc_init()
5497 tinfo->user.period = in ahc_init()
5502 if (tinfo->user.period != 0) in ahc_init()
5505 if (tinfo->user.period == 0) in ahc_init()