Home
last modified time | relevance | path

Searched refs:localmem_pool (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/usb/host/
A Dohci-mem.c43 if (ohci_to_hcd(ohci)->localmem_pool) in ohci_mem_init()
96 if (hcd->localmem_pool) in td_alloc()
97 td = gen_pool_dma_zalloc_align(hcd->localmem_pool, in td_alloc()
123 if (hcd->localmem_pool) in td_free()
124 gen_pool_free(hcd->localmem_pool, (unsigned long)td, in td_free()
140 if (hcd->localmem_pool) in ed_alloc()
141 ed = gen_pool_dma_zalloc_align(hcd->localmem_pool, in ed_alloc()
157 if (hcd->localmem_pool) in ed_free()
158 gen_pool_free(hcd->localmem_pool, (unsigned long)ed, in ed_free()
A Dohci-hcd.c459 if (!hcd->localmem_pool) in ohci_init()
517 if (hcd->localmem_pool) in ohci_init()
518 ohci->hcca = gen_pool_dma_alloc_align(hcd->localmem_pool, in ohci_init()
1013 if (hcd->localmem_pool) in ohci_stop()
1014 gen_pool_free(hcd->localmem_pool, in ohci_stop()
A Duhci-hcd.c584 if (!hcd->localmem_pool) in uhci_start()
A Dehci-hcd.c564 if (!hcd->localmem_pool) in ehci_init()
A Dfotg210-hcd.c5001 if (!hcd->localmem_pool) in hcd_fotg210_init()
/linux/drivers/usb/core/
A Dbuffer.c70 if (hcd->localmem_pool || !hcd_uses_dma(hcd)) in hcd_buffer_create()
128 if (hcd->localmem_pool) in hcd_buffer_alloc()
129 return gen_pool_dma_alloc(hcd->localmem_pool, size, dma); in hcd_buffer_alloc()
157 if (hcd->localmem_pool) { in hcd_buffer_free()
158 gen_pool_free(hcd->localmem_pool, (unsigned long)addr, size); in hcd_buffer_free()
A Dhcd.c1414 if (hcd->localmem_pool) { in usb_hcd_map_urb_for_dma()
1445 if (hcd->localmem_pool) { in usb_hcd_map_urb_for_dma()
3076 hcd->localmem_pool = devm_gen_pool_create(hcd->self.sysdev, 4, in usb_hcd_setup_local_mem()
3079 if (IS_ERR(hcd->localmem_pool)) in usb_hcd_setup_local_mem()
3080 return PTR_ERR(hcd->localmem_pool); in usb_hcd_setup_local_mem()
3092 err = gen_pool_add_virt(hcd->localmem_pool, (unsigned long)local_mem, in usb_hcd_setup_local_mem()
A Ddevio.c255 if (hcd->localmem_pool || !hcd_uses_dma(hcd)) { in usbdev_mmap()
/linux/drivers/usb/storage/
A Dscsiglue.c139 (bus_to_hcd(us->pusb_dev->bus)->localmem_pool != NULL)) in slave_configure()
/linux/include/linux/usb/
A Dhcd.h220 struct gen_pool *localmem_pool; member

Completed in 51 milliseconds