Lines Matching refs:maxsync
2196 u_int maxsync; in ahc_devlimited_syncrate() local
2201 maxsync = AHC_SYNCRATE_DT; in ahc_devlimited_syncrate()
2203 maxsync = AHC_SYNCRATE_ULTRA; in ahc_devlimited_syncrate()
2208 maxsync = AHC_SYNCRATE_ULTRA; in ahc_devlimited_syncrate()
2210 maxsync = AHC_SYNCRATE_FAST; in ahc_devlimited_syncrate()
2228 maxsync = max(maxsync, (u_int)AHC_SYNCRATE_ULTRA2); in ahc_devlimited_syncrate()
2237 return (ahc_find_syncrate(ahc, period, ppr_options, maxsync)); in ahc_devlimited_syncrate()
2247 u_int *ppr_options, u_int maxsync) in ahc_find_syncrate() argument
2256 && maxsync < AHC_SYNCRATE_ULTRA2) in ahc_find_syncrate()
2257 maxsync = AHC_SYNCRATE_ULTRA2; in ahc_find_syncrate()
2262 && maxsync < AHC_SYNCRATE_ULTRA) in ahc_find_syncrate()
2263 maxsync = AHC_SYNCRATE_ULTRA; in ahc_find_syncrate()
2265 && maxsync < AHC_SYNCRATE_FAST) in ahc_find_syncrate()
2266 maxsync = AHC_SYNCRATE_FAST; in ahc_find_syncrate()
2268 for (syncrate = &ahc_syncrates[maxsync]; in ahc_find_syncrate()
2292 if (syncrate == &ahc_syncrates[maxsync]) in ahc_find_syncrate()
2322 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) in ahc_find_period() argument
2332 if ((ahc->features & AHC_DT) == 0 && maxsync < AHC_SYNCRATE_ULTRA2) in ahc_find_period()
2333 maxsync = AHC_SYNCRATE_ULTRA2; in ahc_find_period()
2335 && maxsync < AHC_SYNCRATE_ULTRA) in ahc_find_period()
2336 maxsync = AHC_SYNCRATE_ULTRA; in ahc_find_period()
2338 && maxsync < AHC_SYNCRATE_FAST) in ahc_find_period()
2339 maxsync = AHC_SYNCRATE_FAST; in ahc_find_period()
2342 syncrate = &ahc_syncrates[maxsync]; in ahc_find_period()
5460 u_int maxsync; in ahc_init() local
5477 maxsync = AHC_SYNCRATE_ULTRA2; in ahc_init()
5479 maxsync = AHC_SYNCRATE_DT; in ahc_init()
5481 ahc_find_period(ahc, scsirate, maxsync); in ahc_init()