Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
Dwd33c93.c87 #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns
309 round_period(unsigned int period, const struct sx_period *sx_table) in round_period() argument
313 for (x = 1; sx_table[x].period_ns; x++) { in round_period()
314 if ((period <= sx_table[x - 0].period_ns) && in round_period()
315 (period > sx_table[x - 1].period_ns)) { in round_period()
327 const struct sx_period *sx_table) in calc_sync_xfer() argument
341 result = sx_table[round_period(period,sx_table)].reg_value; in calc_sync_xfer()
1042 / 4, 0, 0, hostdata->sx_table); in wd33c93_intr()
1066 0, hostdata->sx_table); in wd33c93_intr()
1093 hostdata->sx_table); in wd33c93_intr()
[all …]
Dwd33c93.h251 struct sx_period sx_table[9]; /* transfer periods for actual DTC-setting */ member