Home
last modified time | relevance | path

Searched refs:vm_id (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.3-rc2/drivers/firmware/arm_ffa/
A Dbus.c64 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()
A Ddriver.c80 u16 vm_id; member
172 static int ffa_rxtx_unmap(u16 vm_id) in ffa_rxtx_unmap() argument
177 .a0 = FFA_RXTX_UNMAP, .a1 = PACK_TARGET_INFO(vm_id, 0), in ffa_rxtx_unmap()
263 static int ffa_id_get(u16 *vm_id) in ffa_id_get() argument
274 *vm_id = FIELD_GET(VM_ID_MASK, (id.a2)); in ffa_id_get()
414 mem_region->sender_id = drv_info->vm_id; in ffa_setup_and_transmit()
586 return ffa_msg_send_direct_req(drv_info->vm_id, dev->vm_id, in ffa_sync_send_receive()
653 if (tpbuf->id == ffa_dev->vm_id) in ffa_device_match_uuid()
716 if (ffa_id_get(&drv_info->vm_id)) { in ffa_init()
764 ffa_rxtx_unmap(drv_info->vm_id); in ffa_exit()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_vm.c182 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()
250 vm_id->pd_gpu_addr = pd_addr; in radeon_vm_flush()
252 vm_id->id, vm_id->pd_gpu_addr); in radeon_vm_flush()
[all …]
A Dsi_dma.c187 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()
A Dni_dma.c125 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()
A Dcik_sdma.c945 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()
A Dradeon_asic.h614 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);
A Dni.c1415 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()
A Dsi.c3402 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()
A Dradeon_gem.c700 if (args->vm_id) { in radeon_gem_va_ioctl()
A Dcik.c3722 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()
A Dradeon.h1859 unsigned vm_id, uint64_t pd_addr);
2754 #define radeon_ring_vm_flush(rdev, r, vm_id, pd_addr) (rdev)->asic->ring[(r)->idx]->vm_flush((rdev)… argument
/linux-6.3-rc2/Documentation/gpu/rfc/
A Di915_vm_bind.h113 __u32 vm_id; member
178 __u32 vm_id; member
290 __u32 vm_id; member
/linux-6.3-rc2/arch/x86/kvm/svm/
A Davic.c129 u32 vm_id = AVIC_GATAG_TO_VMID(ga_tag); in avic_ga_log_notifier() local
132 pr_debug("SVM: %s: vm_id=%#x, vcpu_id=%#x\n", __func__, vm_id, vcpu_id); in avic_ga_log_notifier()
133 trace_kvm_avic_ga_log(vm_id, vcpu_id); in avic_ga_log_notifier()
136 hash_for_each_possible(svm_vm_data_hash, kvm_svm, hnode, vm_id) { in avic_ga_log_notifier()
137 if (kvm_svm->avic_vm_id != vm_id) in avic_ga_log_notifier()
181 u32 vm_id; in avic_vm_init() local
202 vm_id = next_vm_id = (next_vm_id + 1) & AVIC_VM_ID_MASK; in avic_vm_init()
203 if (vm_id == 0) { /* id is 1-based, zero is not okay */ in avic_vm_init()
209 hash_for_each_possible(svm_vm_data_hash, k2, hnode, vm_id) { in avic_vm_init()
210 if (k2->avic_vm_id == vm_id) in avic_vm_init()
[all …]
A Dhyperv.h24 hv_vcpu->nested.vm_id = hve->hv_vm_id; in nested_svm_hv_update_vm_vp_ids()
/linux-6.3-rc2/include/linux/
A Darm_ffa.h99 int vm_id; member
134 struct ffa_device *ffa_device_register(const uuid_t *uuid, int vm_id,
144 struct ffa_device *ffa_device_register(const uuid_t *uuid, int vm_id, in ffa_device_register() argument
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/
A Dkfd_device_queue_manager.h59 uint32_t vm_id:4; member
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Dtype.h600 u16 vm_id; member
756 u16 vm_id; member
/linux-6.3-rc2/include/uapi/drm/
A Dradeon_drm.h944 __u32 vm_id; member
A Di915_drm.h2551 __u32 vm_id; member
/linux-6.3-rc2/drivers/tee/optee/
A Dffa_abi.c277 .receiver = ffa_dev->vm_id, in optee_ffa_shm_register()
/linux-6.3-rc2/tools/include/uapi/drm/
A Di915_drm.h2551 __u32 vm_id; member
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_context.c1820 args->vm_id = id; in i915_gem_vm_create_ioctl()
1841 vm = xa_erase(&file_priv->vm_xa, args->vm_id); in i915_gem_vm_destroy_ioctl()
/linux-6.3-rc2/arch/x86/kvm/
A Dhyperv.c2122 if (!hv_v || hv_v->nested.vm_id != hv_vcpu->nested.vm_id) in kvm_hv_flush_tlb()
/linux-6.3-rc2/arch/x86/include/asm/
A Dkvm_host.h675 u64 vm_id; member

Completed in 121 milliseconds

12