• Home
  • Raw
  • Download

Lines Matching refs:ep_data

83 	struct c67x00_ep_data *ep_data;  member
93 struct c67x00_ep_data *ep_data; member
96 #define td_udev(td) ((td)->ep_data->dev)
248 struct c67x00_ep_data *ep_data; in c67x00_ep_data_alloc() local
255 ep_data = hep->hcpriv; in c67x00_ep_data_alloc()
256 if (frame_after(c67x00->current_frame, ep_data->next_frame)) in c67x00_ep_data_alloc()
257 ep_data->next_frame = in c67x00_ep_data_alloc()
263 ep_data = kzalloc(sizeof(*ep_data), GFP_ATOMIC); in c67x00_ep_data_alloc()
264 if (!ep_data) in c67x00_ep_data_alloc()
267 INIT_LIST_HEAD(&ep_data->queue); in c67x00_ep_data_alloc()
268 INIT_LIST_HEAD(&ep_data->node); in c67x00_ep_data_alloc()
269 ep_data->hep = hep; in c67x00_ep_data_alloc()
273 ep_data->dev = usb_get_dev(urb->dev); in c67x00_ep_data_alloc()
274 hep->hcpriv = ep_data; in c67x00_ep_data_alloc()
277 ep_data->next_frame = frame_add(c67x00->current_frame, 1); in c67x00_ep_data_alloc()
282 if (list_empty(&ep_data->node)) { in c67x00_ep_data_alloc()
283 list_add(&ep_data->node, &c67x00->list[type]); in c67x00_ep_data_alloc()
290 list_add(&ep_data->node, prev->node.prev); in c67x00_ep_data_alloc()
296 return ep_data; in c67x00_ep_data_alloc()
301 struct c67x00_ep_data *ep_data = hep->hcpriv; in c67x00_ep_data_free() local
303 if (!ep_data) in c67x00_ep_data_free()
306 if (!list_empty(&ep_data->queue)) in c67x00_ep_data_free()
309 usb_put_dev(ep_data->dev); in c67x00_ep_data_free()
310 list_del(&ep_data->queue); in c67x00_ep_data_free()
311 list_del(&ep_data->node); in c67x00_ep_data_free()
313 kfree(ep_data); in c67x00_ep_data_free()
388 urbp->ep_data = c67x00_ep_data_alloc(c67x00, urb); in c67x00_urb_enqueue()
390 if (!urbp->ep_data) { in c67x00_urb_enqueue()
415 if (list_empty(&urbp->ep_data->queue)) in c67x00_urb_enqueue()
416 urb->start_frame = urbp->ep_data->next_frame; in c67x00_urb_enqueue()
421 last_urb = list_entry(urbp->ep_data->queue.prev, in c67x00_urb_enqueue()
434 list_add_tail(&urbp->hep_node, &urbp->ep_data->queue); in c67x00_urb_enqueue()
530 if (urbp->ep_data->dev->speed == USB_SPEED_LOW) { in c67x00_claim_frame_bw()
596 td->ep_data = urbp->ep_data; in c67x00_create_td()
747 if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) { in c67x00_add_int_urb()
748 urbp->ep_data->next_frame = in c67x00_add_int_urb()
749 frame_add(urbp->ep_data->next_frame, urb->interval); in c67x00_add_int_urb()
759 if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) { in c67x00_add_iso_urb()
781 urbp->ep_data->next_frame = in c67x00_add_iso_urb()
782 frame_add(urbp->ep_data->next_frame, urb->interval); in c67x00_add_iso_urb()
793 struct c67x00_ep_data *ep_data; in c67x00_fill_from_list() local
797 list_for_each_entry(ep_data, &c67x00->list[type], node) { in c67x00_fill_from_list()
798 if (!list_empty(&ep_data->queue)) { in c67x00_fill_from_list()
801 urb = list_entry(ep_data->queue.next, in c67x00_fill_from_list()