Searched refs:round_period (Results 1 – 3 of 3) sorted by relevance
310 static int round_period(unsigned int period) in round_period() function327 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()2194 hd->default_sx_per = sx_table[round_period((unsigned int) x)].period_ns; in in2000_write_info()
318 round_period(unsigned int period, const struct sx_period *sx_table) in round_period() function350 result = sx_table[round_period(period,sx_table)].reg_value; in calc_sync_xfer()2002 hostdata->sx_table[round_period((unsigned int) val, in wd33c93_init()2094 hd->sx_table[round_period((unsigned int) x, in wd33c93_write_info()
670 int round_period(unsigned int period) in round_period() function693 return sync_xfer_table[round_period(period)].reg_value | in calc_sync_xfer()