Lines Matching defs:wait
158 * conditional wait facility
163 wait_queue_entry_t wait;
2382 /* clear status wait queue because status changes */
2661 * wait for specified event to occur
2672 DECLARE_WAITQUEUE(wait, current);
2707 add_wait_queue(&info->event_wait_q, &wait);
2725 /* if no change, wait aborted for some reason */
2758 remove_wait_queue(&info->event_wait_q, &wait);
2932 * conditional wait facility
2937 init_waitqueue_entry(&w->wait, current);
2944 add_wait_queue(&w->q, &w->wait);
2952 remove_wait_queue(&cw->q, &cw->wait);
2974 * wait for general purpose I/O pin(s) to enter specified state
2980 * The wait ends when at least one watched pin enters the specified
2982 * state of all GPIO pins when the wait ends.
2994 struct cond_wait wait;
3006 init_cond_wait(&wait, gpio.smask);
3018 /* wait for target state */
3019 add_cond_wait(&info->gpio_wait_q, &wait);
3025 gpio.state = wait.data;
3027 remove_cond_wait(&info->gpio_wait_q, &wait);
3045 DECLARE_WAITQUEUE(wait, current);
3050 add_wait_queue(&info->status_event_wait_q, &wait);
3067 /* if no change, wait aborted for some reason */
3085 remove_wait_queue(&info->status_event_wait_q, &wait);
3176 DECLARE_WAITQUEUE(wait, current);
3202 add_wait_queue(&port->open_wait, &wait);
3230 DBGINFO(("%s block_til_ready wait\n", tty->driver->name));
3237 remove_wait_queue(&port->open_wait, &wait);
3816 /* wait for enable bit cleared */
3829 /* wait for enable bit cleared */
4915 /* write one byte and wait for tx idle */
4997 /* wait for receive complete */