Lines Matching refs:hc
73 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) in dma_to_td() argument
78 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; in dma_to_td()
86 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in td_alloc() argument
91 td = dma_pool_zalloc (hc->td_cache, mem_flags, &dma); in td_alloc()
94 td->hwNextTD = cpu_to_hc32 (hc, dma); in td_alloc()
102 td_free (struct ohci_hcd *hc, struct td *td) in td_free() argument
104 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free()
110 else if ((td->hwINFO & cpu_to_hc32(hc, TD_DONE)) != 0) in td_free()
111 ohci_dbg (hc, "no hash for td %p\n", td); in td_free()
112 dma_pool_free (hc->td_cache, td, td->td_dma); in td_free()
119 ed_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in ed_alloc() argument
124 ed = dma_pool_zalloc (hc->ed_cache, mem_flags, &dma); in ed_alloc()
133 ed_free (struct ohci_hcd *hc, struct ed *ed) in ed_free() argument
135 dma_pool_free (hc->ed_cache, ed, ed->dma); in ed_free()