Searched refs:tmo_loops (Results 1 – 2 of 2) sorted by relevance
210 int tmo_loops; in scmi_virtio_poll_msg() local215 tmo_loops = tmo_ms / SCMI_VIRTIO_POLLING_INTERVAL_MS; in scmi_virtio_poll_msg()216 while (tmo_loops-- && atomic_load_acq_int(&msg->poll_done) == 0) { in scmi_virtio_poll_msg()247 return (tmo_loops > 0 ? 0 : ETIMEDOUT); in scmi_virtio_poll_msg()
152 unsigned int tmo_loops = tmo_ms / SCMI_MBOX_POLL_INTERVAL_MS; in scmi_mailbox_poll_msg() local160 } while (tmo_loops--); in scmi_mailbox_poll_msg()162 return (tmo_loops > 0 ? 0 : ETIMEDOUT); in scmi_mailbox_poll_msg()