Searched refs:num_sp (Results 1 – 1 of 1) sorted by relevance
1622 int num_sp = HCS_MAX_SCRATCHPAD(xhci->hcs_params2); in scratchpad_alloc() local1625 "Allocating %d scratchpad buffers", num_sp); in scratchpad_alloc()1627 if (!num_sp) in scratchpad_alloc()1636 array_size(sizeof(u64), num_sp), in scratchpad_alloc()1641 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()1647 for (i = 0; i < num_sp; i++) { in scratchpad_alloc()1669 dma_free_coherent(dev, array_size(sizeof(u64), num_sp), in scratchpad_alloc()1683 int num_sp; in scratchpad_free() local1690 num_sp = HCS_MAX_SCRATCHPAD(xhci->hcs_params2); in scratchpad_free()1692 for (i = 0; i < num_sp; i++) { in scratchpad_free()[all …]