Searched refs:num_sp (Results 1 – 1 of 1) sorted by relevance
352 int num_sp; in xhci_scratchpad_alloc() local357 num_sp = HCS_MAX_SCRATCHPAD(xhci_readl(&hccr->cr_hcsparams2)); in xhci_scratchpad_alloc()358 if (!num_sp) in xhci_scratchpad_alloc()366 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc()381 buf = memalign(page_size, num_sp * page_size); in xhci_scratchpad_alloc()384 memset(buf, '\0', num_sp * page_size); in xhci_scratchpad_alloc()385 xhci_flush_cache((uintptr_t)buf, num_sp * page_size); in xhci_scratchpad_alloc()387 for (i = 0; i < num_sp; i++) { in xhci_scratchpad_alloc()