Lines Matching refs:timeout
142 * timeout given in us
145 * non-zero on timeout
148 twsi_poll_ctrl(struct twsi_softc *sc, int timeout, uint32_t mask)
151 timeout /= 10;
154 if (--timeout < 0)
155 return (timeout);
162 * 'timeout' is given in us. Note also that timeout handling is not exact --
163 * twsi_locked_start() total wait can be more than 2 x timeout
169 u_char slave, int timeout)
188 * Without this delay we timeout checking IFLG if the timeout is 0.
193 if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) {
194 debugf("timeout sending %sSTART condition\n",
210 if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) {
211 debugf("timeout sending slave address\n");
278 * timeout is given in us
281 twsi_repeated_start(device_t dev, u_char slave, int timeout)
290 timeout);
301 * timeout is given in us
304 twsi_start(device_t dev, u_char slave, int timeout)
312 rv = twsi_locked_start(dev, sc, TWSI_STATUS_START, slave, timeout);
348 debugf("timeout reading data\n");
371 twsi_write(device_t dev, const char *buf, int len, int *sent, int timeout)
385 if (twsi_poll_ctrl(sc, timeout, TWSI_CONTROL_IFLG)) {
386 debugf("timeout writing data\n");