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()
930 long tleft, tstop; in do_rx() local934 tleft = cfg_timeout_ms; in do_rx()939 if (poll(&pfd, 1, tleft) == -1) in do_rx()948 tleft = tstop - gettimeofday_ms(); in do_rx()949 } while (tleft > 0); in do_rx()