Home
last modified time | relevance | path

Searched refs:sx_table (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/scsi/
Dwd33c93.c96 #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns
318 round_period(unsigned int period, const struct sx_period *sx_table) in round_period() argument
322 for (x = 1; sx_table[x].period_ns; x++) { in round_period()
323 if ((period <= sx_table[x - 0].period_ns) && in round_period()
324 (period > sx_table[x - 1].period_ns)) { in round_period()
336 const struct sx_period *sx_table) in calc_sync_xfer() argument
350 result = sx_table[round_period(period,sx_table)].reg_value; in calc_sync_xfer()
1050 / 4, 0, 0, hostdata->sx_table); in wd33c93_intr()
1074 0, hostdata->sx_table); in wd33c93_intr()
1101 hostdata->sx_table); in wd33c93_intr()
[all …]
Din2000.c298 static struct sx_period sx_table[] = { variable
314 for (x = 1; sx_table[x].period_ns; x++) { in round_period()
315 if ((period <= sx_table[x - 0].period_ns) && (period > sx_table[x - 1].period_ns)) { in round_period()
327 result = sx_table[round_period(period)].reg_value; in calc_sync_xfer()
2068 hostdata->default_sx_per = sx_table[round_period((unsigned int) val)].period_ns; in in2000_detect()
2208 hd->default_sx_per = sx_table[round_period((unsigned int) x)].period_ns; in in2000_proc_info()
Dwd33c93.h261 struct sx_period sx_table[9]; /* transfer periods for actual DTC-setting */ member