Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/host/
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()
Dohci-hcd.c460 if (!hcd->localmem_pool) in ohci_init()
518 if (hcd->localmem_pool) in ohci_init()
519 ohci->hcca = gen_pool_dma_alloc_align(hcd->localmem_pool, in ohci_init()
1014 if (hcd->localmem_pool) in ohci_stop()
1015 gen_pool_free(hcd->localmem_pool, in ohci_stop()
Duhci-hcd.c584 if (!hcd->localmem_pool) in uhci_start()
Dehci-hcd.c563 if (!hcd->localmem_pool) in ehci_init()
Dfotg210-hcd.c4998 if (!hcd->localmem_pool) in hcd_fotg210_init()
/kernel/linux/linux-5.10/drivers/usb/core/
Dbuffer.c69 if (hcd->localmem_pool || !hcd_uses_dma(hcd)) in hcd_buffer_create()
126 if (hcd->localmem_pool) in hcd_buffer_alloc()
127 return gen_pool_dma_alloc(hcd->localmem_pool, size, dma); in hcd_buffer_alloc()
155 if (hcd->localmem_pool) { in hcd_buffer_free()
156 gen_pool_free(hcd->localmem_pool, (unsigned long)addr, size); in hcd_buffer_free()
180 if (hcd->localmem_pool) in hcd_buffer_alloc_pages()
181 return gen_pool_dma_alloc_align(hcd->localmem_pool, in hcd_buffer_alloc_pages()
201 if (hcd->localmem_pool) { in hcd_buffer_free_pages()
202 gen_pool_free(hcd->localmem_pool, in hcd_buffer_free_pages()
Dhcd.c1424 if (hcd->localmem_pool) { in usb_hcd_map_urb_for_dma()
1455 if (hcd->localmem_pool) { in usb_hcd_map_urb_for_dma()
2977 hcd->localmem_pool = devm_gen_pool_create(hcd->self.sysdev, 4, in usb_hcd_setup_local_mem()
2980 if (IS_ERR(hcd->localmem_pool)) in usb_hcd_setup_local_mem()
2981 return PTR_ERR(hcd->localmem_pool); in usb_hcd_setup_local_mem()
2993 err = gen_pool_add_virt(hcd->localmem_pool, (unsigned long)local_mem, in usb_hcd_setup_local_mem()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dscsiglue.c139 (bus_to_hcd(us->pusb_dev->bus)->localmem_pool != NULL)) in slave_configure()
/kernel/linux/linux-5.10/include/linux/usb/
Dhcd.h223 struct gen_pool *localmem_pool; member