Searched refs:num_sp (Results 1 – 1 of 1) sorted by relevance
353 int num_sp; in xhci_scratchpad_alloc() local358 num_sp = HCS_MAX_SCRATCHPAD(xhci_readl(&hccr->cr_hcsparams2)); in xhci_scratchpad_alloc()359 if (!num_sp) in xhci_scratchpad_alloc()367 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc()385 buf = memalign(page_size, num_sp * page_size); in xhci_scratchpad_alloc()388 memset(buf, '\0', num_sp * page_size); in xhci_scratchpad_alloc()389 xhci_flush_cache((uintptr_t)buf, num_sp * page_size); in xhci_scratchpad_alloc()391 for (i = 0; i < num_sp; i++) { in xhci_scratchpad_alloc()