Searched refs:sp_array (Results 1 – 4 of 4) sorted by relevance
110 free((void *)(uintptr_t)ctrl->scratchpad->sp_array[0]); in xhci_scratchpad_free()111 free(ctrl->scratchpad->sp_array); in xhci_scratchpad_free()366 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc()367 if (!scratchpad->sp_array) in xhci_scratchpad_alloc()370 cpu_to_le64((uintptr_t)scratchpad->sp_array); in xhci_scratchpad_alloc()392 scratchpad->sp_array[i] = cpu_to_le64(ptr); in xhci_scratchpad_alloc()398 free(scratchpad->sp_array); in xhci_scratchpad_alloc()
1040 u64 *sp_array; member
1640 xhci->scratchpad->sp_array = dma_alloc_coherent(dev, in scratchpad_alloc()1643 if (!xhci->scratchpad->sp_array) in scratchpad_alloc()1659 xhci->scratchpad->sp_array[i] = dma; in scratchpad_alloc()1669 xhci->scratchpad->sp_array[i]); in scratchpad_alloc()1675 xhci->scratchpad->sp_array, in scratchpad_alloc()1700 xhci->scratchpad->sp_array[i]); in scratchpad_free()1704 xhci->scratchpad->sp_array, in scratchpad_free()
1414 u64 *sp_array; member