Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/dwc3/
Dcore.c430 if (!dwc->nr_scratch) in dwc3_alloc_scratch_buffers()
433 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()
450 if (!dwc->nr_scratch) in dwc3_setup_scratch_buffers()
458 dwc->nr_scratch * DWC3_SCRATCHBUF_SIZE, in dwc3_setup_scratch_buffers()
485 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
497 if (!dwc->nr_scratch) in dwc3_free_scratch_buffers()
504 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
744 dwc->nr_scratch = DWC3_GHWPARAMS4_HIBER_SCRATCHBUFS(hwparams4); in dwc3_core_setup_global_control()
Dcore.h1063 u32 nr_scratch; member