Lines Matching refs:timeout
53 int timeout;
66 timeout = EC_CMD_TIMEOUT;
68 while (timeout-- && (status & (1 << 1))) {
75 if (timeout <= 0) {
76 printk(KERN_ERR "%s: deadable error : timeout...\n", __func__);
81 timeout, EC_CMD_TIMEOUT - timeout, cmd, status);
104 int timeout = 100;
111 while (timeout-- && !(status & (1 << 0))) {
115 if (timeout <= 0) {
116 pr_info("%s: get event number timeout.\n", __func__);