Lines Matching refs:ed
55 sizeof (struct ed),
133 static struct ed *
137 struct ed *ed;
141 ed = gen_pool_dma_zalloc_align(hcd->localmem_pool,
142 sizeof(*ed), &dma, 16);
144 ed = dma_pool_zalloc(hc->ed_cache, mem_flags, &dma);
145 if (ed) {
146 INIT_LIST_HEAD (&ed->td_list);
147 ed->dma = dma;
149 return ed;
153 ed_free (struct ohci_hcd *hc, struct ed *ed)
158 gen_pool_free(hcd->localmem_pool, (unsigned long)ed,
159 sizeof(*ed));
161 dma_pool_free(hc->ed_cache, ed, ed->dma);