Lines Matching refs:period
1632 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1656 if (tinfo->curr.period == spi_period(starget) in ahc_send_async()
1663 spi_period(starget) = tinfo->curr.period; in ahc_send_async()
2352 static void ahc_linux_set_period(struct scsi_target *starget, int period) in ahc_linux_set_period() argument
2370 if (period < 9) in ahc_linux_set_period()
2371 period = 9; /* 12.5ns is our minimum */ in ahc_linux_set_period()
2372 if (period == 9) { in ahc_linux_set_period()
2377 period = 10; in ahc_linux_set_period()
2389 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_period()
2391 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_period()
2407 unsigned int period = 0; in ahc_linux_set_offset() local
2414 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT); in ahc_linux_set_offset()
2415 period = tinfo->goal.period; in ahc_linux_set_offset()
2419 ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset, in ahc_linux_set_offset()
2436 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt() local
2445 } else if (period == 9) in ahc_linux_set_dt()
2446 period = 10; /* if resetting DT, period must be >= 25ns */ in ahc_linux_set_dt()
2450 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT); in ahc_linux_set_dt()
2452 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2474 unsigned int period = tinfo->goal.period;
2483 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
2485 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2502 unsigned int period = tinfo->goal.period;
2511 syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
2513 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,