Searched refs:num_sp (Results 1 – 1 of 1) sorted by relevance
1649 int num_sp = HCS_MAX_SCRATCHPAD(xhci->hcs_params2); in scratchpad_alloc() local1652 "Allocating %d scratchpad buffers", num_sp); in scratchpad_alloc()1654 if (!num_sp) in scratchpad_alloc()1663 num_sp * sizeof(u64), in scratchpad_alloc()1668 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()1674 for (i = 0; i < num_sp; i++) { in scratchpad_alloc()1697 dma_free_coherent(dev, num_sp * sizeof(u64), in scratchpad_alloc()1711 int num_sp; in scratchpad_free() local1718 num_sp = HCS_MAX_SCRATCHPAD(xhci->hcs_params2); in scratchpad_free()1720 for (i = 0; i < num_sp; i++) { in scratchpad_free()[all …]