Lines Matching refs:ed
170 struct ed *ed; in fhci_mem_free() local
171 struct ed *next_ed; in fhci_mem_free()
175 list_for_each_entry_safe(ed, next_ed, &fhci->empty_eds, node) { in fhci_mem_free()
176 list_del(&ed->node); in fhci_mem_free()
177 kfree(ed); in fhci_mem_free()
226 struct ed *ed; in fhci_mem_init() local
228 ed = kmalloc(sizeof(*ed), GFP_KERNEL); in fhci_mem_init()
229 if (!ed) in fhci_mem_init()
231 fhci_recycle_empty_ed(fhci, ed); in fhci_mem_init()
496 urb_priv->ed->state = FHCI_ED_URB_DEL; in fhci_urb_dequeue()
511 struct ed *ed; in fhci_endpoint_disable() local
516 ed = ep->hcpriv; in fhci_endpoint_disable()
517 if (ed) { in fhci_endpoint_disable()
518 while (ed->td_head != NULL) { in fhci_endpoint_disable()
519 struct td *td = fhci_remove_td_from_ed(ed); in fhci_endpoint_disable()
522 fhci_recycle_empty_ed(fhci, ed); in fhci_endpoint_disable()