Lines Matching refs:period

1631 		if (tinfo->curr.period != tinfo->goal.period  in ahc_send_async()
1655 if (tinfo->curr.period == spi_period(starget) in ahc_send_async()
1662 spi_period(starget) = tinfo->curr.period; in ahc_send_async()
2351 static void ahc_linux_set_period(struct scsi_target *starget, int period) in ahc_linux_set_period() argument
2369 if (period < 9) in ahc_linux_set_period()
2370 period = 9; /* 12.5ns is our minimum */ in ahc_linux_set_period()
2371 if (period == 9) { in ahc_linux_set_period()
2376 period = 10; in ahc_linux_set_period()
2388 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_period()
2390 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2406 unsigned int period = 0; in ahc_linux_set_offset() local
2413 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_offset()
2414 period = tinfo->goal.period; in ahc_linux_set_offset()
2418 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset()
2435 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt() local
2444 } else if (period == 9) in ahc_linux_set_dt()
2445 period = 10; /* if resetting DT, period must be >= 25ns */ in ahc_linux_set_dt()
2449 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT); in ahc_linux_set_dt()
2451 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2473 unsigned int period = tinfo->goal.period;
2482 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
2484 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2501 unsigned int period = tinfo->goal.period;
2510 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
2512 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,