Lines Matching refs:uintptr_t
35 void xhci_flush_cache(uintptr_t addr, u32 len) in xhci_flush_cache()
50 void xhci_inval_cache(uintptr_t addr, u32 len) in xhci_inval_cache()
111 free((void *)(uintptr_t)ctrl->scratchpad->sp_array[0]); in xhci_scratchpad_free()
199 xhci_flush_cache((uintptr_t)ptr, size); in xhci_malloc()
225 val_64 = (uintptr_t)next->trbs; in xhci_link_segments()
371 cpu_to_le64((uintptr_t)scratchpad->sp_array); in xhci_scratchpad_alloc()
373 xhci_flush_cache((uintptr_t)&ctrl->dcbaa->dev_context_ptrs[0], in xhci_scratchpad_alloc()
389 xhci_flush_cache((uintptr_t)buf, num_sp * page_size); in xhci_scratchpad_alloc()
392 uintptr_t ptr = (uintptr_t)buf + i * page_size; in xhci_scratchpad_alloc()
484 byte_64 = (uintptr_t)(virt_dev->out_ctx->bytes); in xhci_alloc_virt_device()
489 xhci_flush_cache((uintptr_t)&ctrl->dcbaa->dev_context_ptrs[slot_id], in xhci_alloc_virt_device()
521 val_64 = (uintptr_t)ctrl->dcbaa; in xhci_mem_init()
529 trb_64 = (uintptr_t)ctrl->cmd_ring->first_seg->trbs; in xhci_mem_init()
560 trb_64 = (uintptr_t)seg->trbs; in xhci_mem_init()
567 xhci_flush_cache((uintptr_t)ctrl->erst.entries, in xhci_mem_init()
585 val_64 |= ((uintptr_t)(ctrl->erst.entries) & ~ERST_PTR_MASK); in xhci_mem_init()
853 trb_64 = (uintptr_t)virt_dev->eps[0].ring->first_seg->trbs; in xhci_setup_addressable_virt_dev()
864 xhci_flush_cache((uintptr_t)ep0_ctx, sizeof(struct xhci_ep_ctx)); in xhci_setup_addressable_virt_dev()
865 xhci_flush_cache((uintptr_t)slot_ctx, sizeof(struct xhci_slot_ctx)); in xhci_setup_addressable_virt_dev()