Lines Matching refs:ed
290 INIT_LIST_HEAD (&(dev->ed[i].urb_queue)); in hci_alloc_dev()
291 dev->ed[i].pipe_head = NULL; in hci_alloc_dev()
463 static inline void qu_queue_active_urb (hci_t * hci, struct urb * urb, epd_t * ed) in qu_queue_active_urb() argument
497 ed->timeout.data = (unsigned long) urb; in qu_queue_active_urb()
498 ed->timeout.expires = urb->timeout + jiffies; in qu_queue_active_urb()
499 ed->timeout.function = qu_urb_timeout; in qu_queue_active_urb()
500 add_timer (&ed->timeout); in qu_queue_active_urb()
520 epd_t *ed = &hci_dev->ed[qu_pipeindex (urb->pipe)]; in qu_queue_urb() local
527 …urb->start_frame = ((ed->pipe_head) ? (ed->last_iso + 1) : hci_get_current_frame_number (urb-> dev… in qu_queue_urb()
530 if (ed->pipe_head) { in qu_queue_urb()
531 __list_add (&urb->urb_list, ed->urb_queue.prev, in qu_queue_urb()
532 &(ed->urb_queue)); in qu_queue_urb()
534 ed->pipe_head = urb; in qu_queue_urb()
535 qu_queue_active_urb (hci, urb, ed); in qu_queue_urb()
558 epd_t *ed = &hci_dev->ed[qu_pipeindex (urb->pipe)]; in qu_next_urb() local
563 if (ed->pipe_head == urb) { in qu_next_urb()
567 del_timer (&ed->timeout); in qu_next_urb()
573 if (!list_empty (&ed->urb_queue)) { in qu_next_urb()
574 urb = list_entry (ed->urb_queue.next, struct urb, urb_list); in qu_next_urb()
577 ed->pipe_head = urb; in qu_next_urb()
578 qu_queue_active_urb (hci, urb, ed); in qu_next_urb()
580 ed->pipe_head = NULL; in qu_next_urb()