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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/
H A Dwd33c93.c75 * of transfer periods in sx_table to the actual input-clock.
94 #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns
316 round_period(unsigned int period, const struct sx_period *sx_table) argument
320 for (x = 1; sx_table[x].period_ns; x++) {
321 if ((period <= sx_table[x - 0].period_ns) &&
322 (period > sx_table[x - 1].period_ns)) {
334 const struct sx_period *sx_table)
337 * value in 'sx_table' is two times the actually used transfer period.
348 result = sx_table[round_period(period,sx_table)]
333 calc_sync_xfer(unsigned int period, unsigned int offset, unsigned int fast, const struct sx_period *sx_table) argument
1854 calc_sx_table(unsigned int mhz, struct sx_period sx_table[9]) argument
[all...]
H A Dwd33c93.h261 struct sx_period sx_table[9]; /* transfer periods for actual DTC-setting */ member in struct:WD33C93_hostdata
H A Din2000.c186 static struct sx_period sx_table[] = { variable in typeref:struct:sx_period
202 for (x = 1; sx_table[x].period_ns; x++) {
203 if ((period <= sx_table[x - 0].period_ns) && (period > sx_table[x - 1].period_ns)) {
215 result = sx_table[round_period(period)].reg_value;
1940 hostdata->default_sx_per = sx_table[round_period((unsigned int) val)].period_ns;
2078 hd->default_sx_per = sx_table[round_period((unsigned int) x)].period_ns;

Completed in 45 milliseconds