Searched refs:tleft (Results 1 – 2 of 2) sorted by relevance
85 unsigned int tleft = 10000; /* timeout in 100ms */ in apbps2_write() local88 while ((ioread32be(&priv->regs->status) & APBPS2_STATUS_TF) && tleft--) in apbps2_write()
942 long tleft, tstop; in do_rx() local946 tleft = cfg_timeout_ms; in do_rx()951 if (poll(&pfd, 1, tleft) == -1) in do_rx()960 tleft = tstop - gettimeofday_ms(); in do_rx()961 } while (tleft > 0); in do_rx()