Lines Matching refs:sync_period
1101 || spi->sync_offset == 0 || spi->sync_period == 0) {
1115 * Jump sync_period up by one, but stop at 5MHz and fall back to Async.
1124 spi->sync_period++;
1125 if (spi->sync_period >= 0xf) {
1126 spi->sync_period = 0;
1137 ("DV: period 0x%x\n", spi->sync_period));
1138 printf("setting period to 0x%x\n", spi->sync_period);
1147 ("DV: failed to set period 0x%x\n", spi->sync_period));
1148 if (spi->sync_period == 0) {
2785 spi->sync_period = cur_spi->sync_period;
2787 spi->sync_period = 0;
2811 spi->sync_period = 0;
3061 *freq = scsi_calc_syncsrate(spi->sync_period);