Lines Matching refs:period
77 * SDTR_PERIOD - period of REQ signal (min=125, max=1020)
78 * DEFAULT_PERIOD - default REQ period.
644 * Purpose : period for the synchronous transfer setting
646 * Returns : period in ns.
664 * Prototype: int round_period(unsigned int period)
665 * Purpose : return index into above table for a required REQ period
666 * Params : period - time (ns) for REQ
671 int round_period(unsigned int period)
676 if ((period <= sync_xfer_table[i].period_ns) &&
677 (period > sync_xfer_table[i - 1].period_ns))
684 * Prototype: unsigned char calc_sync_xfer(unsigned int period, unsigned int offset)
686 * Params : period - time (ns) for REQ
692 unsigned char calc_sync_xfer(unsigned int period, unsigned int offset)
694 return sync_xfer_table[round_period(period)].reg_value |
1611 unsigned char period, length;
1617 period = max_t(unsigned int, message[3], sdtr_period / 4);
1620 EXTENDED_SDTR, period, length);
1622 calc_sync_xfer(period * 4, length);