• Home
  • Raw
  • Download

Lines Matching refs:urbp

201 	struct c67x00_urb_priv *urbp;  in c67x00_release_urb()  local
222 urbp = urb->hcpriv; in c67x00_release_urb()
224 list_del(&urbp->hep_node); in c67x00_release_urb()
225 kfree(urbp); in c67x00_release_urb()
347 struct c67x00_urb_priv *urbp; in c67x00_urb_enqueue() local
352 urbp = kzalloc(sizeof(*urbp), mem_flags); in c67x00_urb_enqueue()
353 if (!urbp) { in c67x00_urb_enqueue()
370 INIT_LIST_HEAD(&urbp->hep_node); in c67x00_urb_enqueue()
371 urbp->urb = urb; in c67x00_urb_enqueue()
372 urbp->port = port; in c67x00_urb_enqueue()
374 urbp->ep_data = c67x00_ep_data_alloc(c67x00, urb); in c67x00_urb_enqueue()
376 if (!urbp->ep_data) { in c67x00_urb_enqueue()
384 urb->hcpriv = urbp; in c67x00_urb_enqueue()
401 if (list_empty(&urbp->ep_data->queue)) in c67x00_urb_enqueue()
402 urb->start_frame = urbp->ep_data->next_frame; in c67x00_urb_enqueue()
407 last_urb = list_entry(urbp->ep_data->queue.prev, in c67x00_urb_enqueue()
415 urbp->cnt = 0; in c67x00_urb_enqueue()
420 list_add_tail(&urbp->hep_node, &urbp->ep_data->queue); in c67x00_urb_enqueue()
435 kfree(urbp); in c67x00_urb_enqueue()
476 struct c67x00_urb_priv *urbp; in c67x00_giveback_urb() local
481 urbp = urb->hcpriv; in c67x00_giveback_urb()
482 urbp->status = status; in c67x00_giveback_urb()
484 list_del_init(&urbp->hep_node); in c67x00_giveback_urb()
498 struct c67x00_urb_priv *urbp = urb->hcpriv; in c67x00_claim_frame_bw() local
516 if (urbp->ep_data->dev->speed == USB_SPEED_LOW) { in c67x00_claim_frame_bw()
568 struct c67x00_urb_priv *urbp = urb->hcpriv; in c67x00_create_td() local
582 td->ep_data = urbp->ep_data; in c67x00_create_td()
585 !(c67x00->low_speed_ports & (1 << urbp->port))) in c67x00_create_td()
616 (urbp->port << 14) | (len & 0x3FF)); in c67x00_create_td()
732 struct c67x00_urb_priv *urbp = urb->hcpriv; in c67x00_add_int_urb() local
734 if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) { in c67x00_add_int_urb()
735 urbp->ep_data->next_frame = in c67x00_add_int_urb()
736 frame_add(urbp->ep_data->next_frame, urb->interval); in c67x00_add_int_urb()
744 struct c67x00_urb_priv *urbp = urb->hcpriv; in c67x00_add_iso_urb() local
746 if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) { in c67x00_add_iso_urb()
750 BUG_ON(urbp->cnt >= urb->number_of_packets); in c67x00_add_iso_urb()
753 urb->iso_frame_desc[urbp->cnt].offset; in c67x00_add_iso_urb()
754 len = urb->iso_frame_desc[urbp->cnt].length; in c67x00_add_iso_urb()
758 urbp->cnt); in c67x00_add_iso_urb()
762 urb->iso_frame_desc[urbp->cnt].actual_length = 0; in c67x00_add_iso_urb()
763 urb->iso_frame_desc[urbp->cnt].status = ret; in c67x00_add_iso_urb()
764 if (urbp->cnt + 1 == urb->number_of_packets) in c67x00_add_iso_urb()
768 urbp->ep_data->next_frame = in c67x00_add_iso_urb()
769 frame_add(urbp->ep_data->next_frame, urb->interval); in c67x00_add_iso_urb()
770 urbp->cnt++; in c67x00_add_iso_urb()