Lines Matching refs:hcd
103 void hcd_buffer_destroy (struct usb_hcd *hcd);
114 int hcd_buffer_create (struct usb_hcd *hcd) in hcd_buffer_create() argument
123 hcd->pool [i] = pci_pool_create (name, hcd->pdev, in hcd_buffer_create()
125 if (!hcd->pool [i]) { in hcd_buffer_create()
126 hcd_buffer_destroy (hcd); in hcd_buffer_create()
133 void hcd_buffer_destroy (struct usb_hcd *hcd) in hcd_buffer_destroy() argument
138 struct pci_pool *pool = hcd->pool [i]; in hcd_buffer_destroy()
141 hcd->pool [i] = 0; in hcd_buffer_destroy()
153 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in hcd_buffer_alloc() local
158 return pci_pool_alloc (hcd->pool [i], mem_flags, dma); in hcd_buffer_alloc()
170 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in hcd_buffer_free() local
175 pci_pool_free (hcd->pool [i], addr, dma); in hcd_buffer_free()