Home
last modified time | relevance | path

Searched refs:nr_scratch (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/usb/dwc3/
H A Dcore.c236 if (!dwc->nr_scratch) in dwc3_alloc_scratch_buffers()
239 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()
256 if (!dwc->nr_scratch) in dwc3_setup_scratch_buffers()
260 dwc->nr_scratch * DWC3_SCRATCHBUF_SIZE, in dwc3_setup_scratch_buffers()
287 dma_unmap_single((void *)(uintptr_t)dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
299 if (!dwc->nr_scratch) in dwc3_free_scratch_buffers()
302 dma_unmap_single((void *)(uintptr_t)dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
474 dwc->nr_scratch = DWC3_GHWPARAMS4_HIBER_SCRATCHBUFS(hwparams4); in dwc3_core_init()
H A Dcore.h739 u32 nr_scratch; member