Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
H A Dwd33c93.c66 * of transfer periods in sx_table to the actual input-clock.
87 #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()
330 * value in 'sx_table' is two times the actually used transfer period. in calc_sync_xfer()
341 result = sx_table[round_period(period,sx_table)] in calc_sync_xfer()
326 calc_sync_xfer(unsigned int period, unsigned int offset, unsigned int fast, const struct sx_period *sx_table) calc_sync_xfer() argument
1864 calc_sx_table(unsigned int mhz, struct sx_period sx_table[9]) calc_sx_table() argument
[all...]
H A Dwd33c93.h251 struct sx_period sx_table[9]; /* transfer periods for actual DTC-setting */ member
/kernel/linux/linux-6.6/drivers/scsi/
H A Dwd33c93.c66 * of transfer periods in sx_table to the actual input-clock.
87 #define optimum_sx_per(hostdata) (hostdata)->sx_table[1].period_ns
249 round_period(unsigned int period, const struct sx_period *sx_table) in round_period() argument
253 for (x = 1; sx_table[x].period_ns; x++) { in round_period()
254 if ((period <= sx_table[x - 0].period_ns) && in round_period()
255 (period > sx_table[x - 1].period_ns)) { in round_period()
267 const struct sx_period *sx_table) in calc_sync_xfer()
270 * value in 'sx_table' is two times the actually used transfer period. in calc_sync_xfer()
281 result = sx_table[round_period(period,sx_table)] in calc_sync_xfer()
266 calc_sync_xfer(unsigned int period, unsigned int offset, unsigned int fast, const struct sx_period *sx_table) calc_sync_xfer() argument
1810 calc_sx_table(unsigned int mhz, struct sx_period sx_table[9]) calc_sx_table() argument
[all...]
H A Dwd33c93.h246 struct sx_period sx_table[9]; /* transfer periods for actual DTC-setting */ member

Completed in 6 milliseconds