Searched refs:localmem_pool (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/usb/core/ |
H A D | buffer.c | 70 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() 182 if (hcd->localmem_pool) in hcd_buffer_alloc_pages() 183 return gen_pool_dma_alloc_align(hcd->localmem_pool, in hcd_buffer_alloc_pages() 203 if (hcd->localmem_pool) { in hcd_buffer_free_pages() 204 gen_pool_free(hcd->localmem_pool, in hcd_buffer_free_pages()
|
H A D | hcd.c | 1399 if (hcd->localmem_pool) { in usb_hcd_map_urb_for_dma() 1430 if (hcd->localmem_pool) { in usb_hcd_map_urb_for_dma() 3097 hcd->localmem_pool = devm_gen_pool_create(hcd->self.sysdev, 4, in usb_hcd_setup_local_mem() 3100 if (IS_ERR(hcd->localmem_pool)) in usb_hcd_setup_local_mem() 3101 return PTR_ERR(hcd->localmem_pool); in usb_hcd_setup_local_mem() 3127 err = gen_pool_add_virt(hcd->localmem_pool, (unsigned long)local_mem, in usb_hcd_setup_local_mem()
|
/linux/drivers/usb/host/ |
H A D | ohci-mem.c | 43 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()
|
H A D | ohci-hcd.c | 458 if (!hcd->localmem_pool) in ohci_init() 516 if (hcd->localmem_pool) in ohci_init() 517 ohci->hcca = gen_pool_dma_alloc_align(hcd->localmem_pool, in ohci_init() 1020 if (hcd->localmem_pool) in ohci_stop() 1021 gen_pool_free(hcd->localmem_pool, in ohci_stop()
|
H A D | uhci-hcd.c | 584 if (!hcd->localmem_pool) in uhci_start()
|
H A D | ehci-hcd.c | 564 if (!hcd->localmem_pool) in ehci_init()
|
/linux/include/linux/usb/ |
H A D | hcd.h | 208 struct gen_pool *localmem_pool; member
|
/linux/drivers/usb/storage/ |
H A D | usb.c | 1064 bus_to_hcd(us->pusb_dev->bus)->localmem_pool) in usb_stor_probe1()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 4990 if (!hcd->localmem_pool) in hcd_fotg210_init()
|