Lines Matching defs:wait
156 * conditional wait facility
161 wait_queue_entry_t wait;
2372 /* clear status wait queue because status changes */
2644 * wait for specified event to occur
2655 DECLARE_WAITQUEUE(wait, current);
2690 add_wait_queue(&info->event_wait_q, &wait);
2708 /* if no change, wait aborted for some reason */
2741 remove_wait_queue(&info->event_wait_q, &wait);
2915 * conditional wait facility
2920 init_waitqueue_entry(&w->wait, current);
2927 add_wait_queue(&w->q, &w->wait);
2935 remove_wait_queue(&cw->q, &cw->wait);
2957 * wait for general purpose I/O pin(s) to enter specified state
2963 * The wait ends when at least one watched pin enters the specified
2965 * state of all GPIO pins when the wait ends.
2977 struct cond_wait wait;
2989 init_cond_wait(&wait, gpio.smask);
3001 /* wait for target state */
3002 add_cond_wait(&info->gpio_wait_q, &wait);
3008 gpio.state = wait.data;
3010 remove_cond_wait(&info->gpio_wait_q, &wait);
3028 DECLARE_WAITQUEUE(wait, current);
3033 add_wait_queue(&info->status_event_wait_q, &wait);
3050 /* if no change, wait aborted for some reason */
3068 remove_wait_queue(&info->status_event_wait_q, &wait);
3160 DECLARE_WAITQUEUE(wait, current);
3186 add_wait_queue(&port->open_wait, &wait);
3214 DBGINFO(("%s block_til_ready wait\n", tty->driver->name));
3221 remove_wait_queue(&port->open_wait, &wait);
3776 /* wait for enable bit cleared */
3789 /* wait for enable bit cleared */
4876 /* write one byte and wait for tx idle */
4958 /* wait for receive complete */