Lines Matching refs:timeout
421 static int dps310_ready_status(struct dps310_data *data, int ready_bit, int timeout)
423 int sleep = DPS310_POLL_SLEEP_US(timeout);
427 sleep, timeout);
430 static int dps310_ready(struct dps310_data *data, int ready_bit, int timeout)
434 rc = dps310_ready_status(data, ready_bit, timeout);
442 if (dps310_ready_status(data, ready_bit, timeout))
460 int timeout;
468 timeout = DPS310_POLL_TIMEOUT_US(rate);
470 /* Poll for sensor readiness; base the timeout upon the sample rate. */
471 rc = dps310_ready(data, DPS310_PRS_RDY, timeout);
508 int timeout;
514 timeout = DPS310_POLL_TIMEOUT_US(rate);
516 /* Poll for sensor readiness; base the timeout upon the sample rate. */
517 rc = dps310_ready(data, DPS310_TMP_RDY, timeout);