Searched refs:memirq (Results 1 – 7 of 7) sorted by relevance
28 static struct xe_tile *memirq_to_tile(struct xe_memirq *memirq) in memirq_to_tile() argument30 return container_of(memirq, struct xe_tile, sriov.vf.memirq); in memirq_to_tile()33 static struct xe_device *memirq_to_xe(struct xe_memirq *memirq) in memirq_to_xe() argument35 return tile_to_xe(memirq_to_tile(memirq)); in memirq_to_xe()117 static int memirq_alloc_pages(struct xe_memirq *memirq) in memirq_alloc_pages() argument119 struct xe_device *xe = memirq_to_xe(memirq); in memirq_alloc_pages()120 struct xe_tile *tile = memirq_to_tile(memirq); in memirq_alloc_pages()140 memirq_assert(memirq, !xe_bo_is_vram(bo)); in memirq_alloc_pages()141 memirq_assert(memirq, !memirq->bo); in memirq_alloc_pages()145 memirq->bo = bo; in memirq_alloc_pages()[all …]
14 int xe_memirq_init(struct xe_memirq *memirq);16 u32 xe_memirq_source_ptr(struct xe_memirq *memirq);17 u32 xe_memirq_status_ptr(struct xe_memirq *memirq);18 u32 xe_memirq_enable_ptr(struct xe_memirq *memirq);20 void xe_memirq_reset(struct xe_memirq *memirq);21 void xe_memirq_postinstall(struct xe_memirq *memirq);22 void xe_memirq_handler(struct xe_memirq *memirq);24 int xe_memirq_init_guc(struct xe_memirq *memirq, struct xe_guc *guc);
569 xe_memirq_reset(&tile->sriov.vf.memirq); in vf_irq_reset()612 xe_memirq_postinstall(&tile->sriov.vf.memirq); in vf_irq_postinstall()655 xe_memirq_handler(&tile->sriov.vf.memirq); in vf_mem_irq_handler()
602 struct xe_memirq *memirq = >_to_tile(hwe->gt)->sriov.vf.memirq; in set_memory_based_intr() local611 regs[CTX_INT_MASK_ENABLE_PTR] = xe_memirq_enable_ptr(memirq); in set_memory_based_intr()616 regs[CTX_INT_STATUS_REPORT_PTR] = xe_memirq_status_ptr(memirq); in set_memory_based_intr()618 regs[CTX_INT_SRC_REPORT_PTR] = xe_memirq_source_ptr(memirq); in set_memory_based_intr()
204 struct xe_memirq memirq; member
655 err = xe_memirq_init(&tile->sriov.vf.memirq); in xe_device_probe()
866 err = xe_memirq_init_guc(&tile->sriov.vf.memirq, guc); in xe_guc_enable_communication()