Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/dwc3/
Dcore.c442 if (!dwc->nr_scratch) in dwc3_alloc_scratch_buffers()
445 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()
462 if (!dwc->nr_scratch) in dwc3_setup_scratch_buffers()
470 dwc->nr_scratch * DWC3_SCRATCHBUF_SIZE, in dwc3_setup_scratch_buffers()
497 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
509 if (!dwc->nr_scratch) in dwc3_free_scratch_buffers()
516 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
758 dwc->nr_scratch = DWC3_GHWPARAMS4_HIBER_SCRATCHBUFS(hwparams4); in dwc3_core_setup_global_control()
Dcore.h1094 u32 nr_scratch; member