/linux-6.1.9/drivers/firmware/arm_ffa/ |
D | bus.c | 64 ffa_dev->vm_id, &ffa_dev->uuid); in ffa_device_uevent() 72 return sprintf(buf, "0x%04x\n", ffa_dev->vm_id); in partition_id_show() 170 struct ffa_device *ffa_device_register(const uuid_t *uuid, int vm_id, in ffa_device_register() argument 184 dev_set_name(&ffa_dev->dev, "arm-ffa-%04x", vm_id); in ffa_device_register() 186 ffa_dev->vm_id = vm_id; in ffa_device_register()
|
D | driver.c | 161 u16 vm_id; member 253 static int ffa_rxtx_unmap(u16 vm_id) in ffa_rxtx_unmap() argument 258 .a0 = FFA_RXTX_UNMAP, .a1 = PACK_TARGET_INFO(vm_id, 0), in ffa_rxtx_unmap() 344 static int ffa_id_get(u16 *vm_id) in ffa_id_get() argument 355 *vm_id = FIELD_GET(VM_ID_MASK, (id.a2)); in ffa_id_get() 495 mem_region->sender_id = drv_info->vm_id; in ffa_setup_and_transmit() 667 return ffa_msg_send_direct_req(drv_info->vm_id, dev->vm_id, in ffa_sync_send_receive() 734 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid() 797 if (ffa_id_get(&drv_info->vm_id)) { in ffa_init() 845 ffa_rxtx_unmap(drv_info->vm_id); in ffa_exit()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 182 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_grab_id() local 188 if (vm_id->id && vm_id->last_id_use && in radeon_vm_grab_id() 189 vm_id->last_id_use == rdev->vm_manager.active[vm_id->id]) in radeon_vm_grab_id() 193 vm_id->pd_gpu_addr = ~0ll; in radeon_vm_grab_id() 201 vm_id->id = i; in radeon_vm_grab_id() 214 vm_id->id = choices[i]; in radeon_vm_grab_id() 242 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_flush() local 244 if (pd_addr != vm_id->pd_gpu_addr || !vm_id->flushed_updates || in radeon_vm_flush() 245 radeon_fence_is_earlier(vm_id->flushed_updates, updates)) { in radeon_vm_flush() 248 radeon_fence_unref(&vm_id->flushed_updates); in radeon_vm_flush() [all …]
|
D | si_dma.c | 187 unsigned vm_id, uint64_t pd_addr) in si_dma_vm_flush() argument 191 if (vm_id < 8) { in si_dma_vm_flush() 192 radeon_ring_write(ring, (0xf << 16) | ((VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2)); in si_dma_vm_flush() 194 …radeon_ring_write(ring, (0xf << 16) | ((VM_CONTEXT8_PAGE_TABLE_BASE_ADDR + ((vm_id - 8) << 2)) >> … in si_dma_vm_flush() 206 radeon_ring_write(ring, 1 << vm_id); in si_dma_vm_flush() 212 radeon_ring_write(ring, 1 << vm_id); /* mask */ in si_dma_vm_flush()
|
D | ni_dma.c | 125 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cayman_dma_ring_ib_execute() local 143 radeon_ring_write(ring, DMA_IB_PACKET(DMA_PACKET_INDIRECT_BUFFER, vm_id, 0)); in cayman_dma_ring_ib_execute() 449 unsigned vm_id, uint64_t pd_addr) in cayman_dma_vm_flush() argument 452 radeon_ring_write(ring, (0xf << 16) | ((VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2)); in cayman_dma_vm_flush() 463 radeon_ring_write(ring, 1 << vm_id); in cayman_dma_vm_flush()
|
D | cik_sdma.c | 945 unsigned vm_id, uint64_t pd_addr) in cik_dma_vm_flush() argument 951 if (vm_id < 8) { in cik_dma_vm_flush() 952 radeon_ring_write(ring, (VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2); in cik_dma_vm_flush() 954 radeon_ring_write(ring, (VM_CONTEXT8_PAGE_TABLE_BASE_ADDR + ((vm_id - 8) << 2)) >> 2); in cik_dma_vm_flush() 961 radeon_ring_write(ring, VMID(vm_id)); in cik_dma_vm_flush() 989 radeon_ring_write(ring, 1 << vm_id); in cik_dma_vm_flush()
|
D | radeon_asic.h | 614 unsigned vm_id, uint64_t pd_addr); 640 unsigned vm_id, uint64_t pd_addr); 722 unsigned vm_id, uint64_t pd_addr); 745 unsigned vm_id, uint64_t pd_addr); 829 unsigned vm_id, uint64_t pd_addr); 848 unsigned vm_id, uint64_t pd_addr);
|
D | ni.c | 1415 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cayman_ring_ib_execute() local 1438 radeon_ring_write(ring, ib->length_dw | (vm_id << 24)); in cayman_ring_ib_execute() 1445 radeon_ring_write(ring, (vm_id << 24) | 10); /* poll interval */ in cayman_ring_ib_execute() 2677 unsigned vm_id, uint64_t pd_addr) in cayman_vm_flush() argument 2679 radeon_ring_write(ring, PACKET0(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2), 0)); in cayman_vm_flush() 2688 radeon_ring_write(ring, 1 << vm_id); in cayman_vm_flush()
|
D | si.c | 3402 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in si_ring_ib_execute() local 3438 radeon_ring_write(ring, ib->length_dw | (vm_id << 24)); in si_ring_ib_execute() 3444 radeon_ring_write(ring, vm_id); in si_ring_ib_execute() 5072 unsigned vm_id, uint64_t pd_addr) in si_vm_flush() argument 5079 if (vm_id < 8) { in si_vm_flush() 5081 (VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2); in si_vm_flush() 5084 (VM_CONTEXT8_PAGE_TABLE_BASE_ADDR + ((vm_id - 8) << 2)) >> 2); in si_vm_flush() 5103 radeon_ring_write(ring, 1 << vm_id); in si_vm_flush()
|
D | radeon_gem.c | 700 if (args->vm_id) { in radeon_gem_va_ioctl()
|
D | cik.c | 3722 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cik_ring_ib_execute() local 3751 control |= ib->length_dw | (vm_id << 24); in cik_ring_ib_execute() 5678 unsigned vm_id, uint64_t pd_addr) in cik_vm_flush() argument 5685 if (vm_id < 8) { in cik_vm_flush() 5687 (VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2); in cik_vm_flush() 5690 (VM_CONTEXT8_PAGE_TABLE_BASE_ADDR + ((vm_id - 8) << 2)) >> 2); in cik_vm_flush() 5701 radeon_ring_write(ring, VMID(vm_id)); in cik_vm_flush() 5730 radeon_ring_write(ring, 1 << vm_id); in cik_vm_flush()
|
D | radeon.h | 1856 unsigned vm_id, uint64_t pd_addr); 2751 #define radeon_ring_vm_flush(rdev, r, vm_id, pd_addr) (rdev)->asic->ring[(r)->idx]->vm_flush((rdev)… argument
|
/linux-6.1.9/Documentation/gpu/rfc/ |
D | i915_vm_bind.h | 113 __u32 vm_id; member 178 __u32 vm_id; member 290 __u32 vm_id; member
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | avic.c | 124 u32 vm_id = AVIC_GATAG_TO_VMID(ga_tag); in avic_ga_log_notifier() local 127 pr_debug("SVM: %s: vm_id=%#x, vcpu_id=%#x\n", __func__, vm_id, vcpu_id); in avic_ga_log_notifier() 128 trace_kvm_avic_ga_log(vm_id, vcpu_id); in avic_ga_log_notifier() 131 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier() 132 if (kvm_svm->avic_vm_id != vm_id) in avic_ga_log_notifier() 176 u32 vm_id; in avic_vm_init() local 197 vm_id = next_vm_id = (next_vm_id + 1) & AVIC_VM_ID_MASK; in avic_vm_init() 198 if (vm_id == 0) { /* id is 1-based, zero is not okay */ in avic_vm_init() 204 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) { in avic_vm_init() 205 if (k2->avic_vm_id == vm_id) in avic_vm_init() [all …]
|
/linux-6.1.9/include/linux/ |
D | arm_ffa.h | 16 int vm_id; member 51 struct ffa_device *ffa_device_register(const uuid_t *uuid, int vm_id, 61 struct ffa_device *ffa_device_register(const uuid_t *uuid, int vm_id, in ffa_device_register() argument
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device_queue_manager.h | 59 uint32_t vm_id:4; member
|
D | kfd_device_queue_manager.c | 716 reg_sq_cmd.bits.vm_id = vmid; in dbgdev_wave_reset_wavefronts()
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | type.h | 600 u16 vm_id; member 756 u16 vm_id; member
|
/linux-6.1.9/include/uapi/drm/ |
D | radeon_drm.h | 944 __u32 vm_id; member
|
D | i915_drm.h | 2529 __u32 vm_id; member
|
/linux-6.1.9/drivers/tee/optee/ |
D | ffa_abi.c | 277 .receiver = ffa_dev->vm_id, in optee_ffa_shm_register()
|
/linux-6.1.9/tools/include/uapi/drm/ |
D | i915_drm.h | 2529 __u32 vm_id; member
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context.c | 1821 args->vm_id = id; in i915_gem_vm_create_ioctl() 1842 vm = xa_erase(&file_priv->vm_xa, args->vm_id); in i915_gem_vm_destroy_ioctl()
|
/linux-6.1.9/drivers/scsi/ |
D | advansys.c | 266 ushort vm_id; member
|