Lines Matching refs:ed
43 struct ed { struct
49 struct ed * ed_prev; argument
57 struct ed * ed_rm_list; argument
62 typedef struct ed ed_t; argument
112 struct ed * ed; member
335 ed_t * ed; member
417 ed_t ed[NUM_EDS]; member
428 static int ep_link(ohci_t * ohci, ed_t * ed);
429 static int ep_unlink(ohci_t * ohci, ed_t * ed);
431 static void ep_rm_ed(struct usb_device * usb_dev, ed_t * ed);
468 static inline struct ed *
471 return (struct ed *) dma_to_ed_td(&(hc->ed_hash[ED_HASH_FUNC(ed_dma)]), in dma_to_ed()
506 hash_add_ed (struct ohci * hc, struct ed * ed) in hash_add_ed() argument
508 return hash_add_ed_td (&(hc->ed_hash[ED_HASH_FUNC(ed->dma)]), in hash_add_ed()
509 ed, ed->dma); in hash_add_ed()
547 hash_free_ed (struct ohci * hc, struct ed * ed) in hash_free_ed() argument
549 hash_free_ed_td (&(hc->ed_hash[ED_HASH_FUNC(ed->dma)]), ed); in hash_free_ed()
631 offset = ((char *)&dev->ed) - ((char *)dev); in dev_alloc()
632 for (i = 0; i < NUM_EDS; i++, offset += sizeof dev->ed [0]) in dev_alloc()
633 dev->ed [i].dma = dma + offset; in dev_alloc()