Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mem.c1676 int num_sp = HCS_MAX_SCRATCHPAD(xhci->hcs_params2); in scratchpad_alloc() local
1679 "Allocating %d scratchpad buffers", num_sp); in scratchpad_alloc()
1681 if (!num_sp) in scratchpad_alloc()
1690 num_sp * sizeof(u64), in scratchpad_alloc()
1695 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()
1701 for (i = 0; i < num_sp; i++) { in scratchpad_alloc()
1724 dma_free_coherent(dev, num_sp * sizeof(u64), in scratchpad_alloc()
1738 int num_sp; in scratchpad_free() local
1745 num_sp = HCS_MAX_SCRATCHPAD(xhci->hcs_params2); in scratchpad_free()
1747 for (i = 0; i < num_sp; i++) { in scratchpad_free()
[all …]