Searched refs:sp_array (Results 1 – 4 of 4) sorted by relevance
111 free((void *)(uintptr_t)ctrl->scratchpad->sp_array[0]); in xhci_scratchpad_free()112 free(ctrl->scratchpad->sp_array); in xhci_scratchpad_free()367 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc()368 if (!scratchpad->sp_array) in xhci_scratchpad_alloc()371 cpu_to_le64((uintptr_t)scratchpad->sp_array); in xhci_scratchpad_alloc()393 scratchpad->sp_array[i] = cpu_to_le64(ptr); in xhci_scratchpad_alloc()399 free(scratchpad->sp_array); in xhci_scratchpad_alloc()
1752 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()1755 if (!xhci->scratchpad->sp_array) in scratchpad_alloc()1771 xhci->scratchpad->sp_array[i] = dma; in scratchpad_alloc()1781 xhci->scratchpad->sp_array[i]); in scratchpad_alloc()1788 xhci->scratchpad->sp_array, in scratchpad_alloc()1813 xhci->scratchpad->sp_array[i]); in scratchpad_free()1817 xhci->scratchpad->sp_array, in scratchpad_free()
1662 u64 *sp_array; member
1041 u64 *sp_array; member