Home
last modified time | relevance | path

Searched refs:mpt (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/i915/gvt/
Dmpt.h55 if (!intel_gvt_host.mpt->host_init) in intel_gvt_hypervisor_host_init()
58 return intel_gvt_host.mpt->host_init(dev, gvt, ops); in intel_gvt_hypervisor_host_init()
67 if (!intel_gvt_host.mpt->host_exit) in intel_gvt_hypervisor_host_exit()
70 intel_gvt_host.mpt->host_exit(dev); in intel_gvt_hypervisor_host_exit()
83 if (!intel_gvt_host.mpt->attach_vgpu) in intel_gvt_hypervisor_attach_vgpu()
86 return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle); in intel_gvt_hypervisor_attach_vgpu()
99 if (!intel_gvt_host.mpt->detach_vgpu) in intel_gvt_hypervisor_detach_vgpu()
102 intel_gvt_host.mpt->detach_vgpu(vgpu); in intel_gvt_hypervisor_detach_vgpu()
136 ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data); in intel_gvt_hypervisor_inject_msi()
151 return intel_gvt_host.mpt->from_virt_to_mfn(p); in intel_gvt_hypervisor_virt_to_mfn()
[all …]
Dgvt.c434 intel_gvt_host.mpt = m; in intel_gvt_register_hypervisor()
Dgvt.h59 struct intel_gvt_mpt *mpt; member
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c457 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; in mlx4_init_quotas()
470 dev->quotas.mpt = in mlx4_init_quotas()
1570 enum res_mpt_states state, struct res_mpt **mpt) in mr_res_start_move_to() argument
1612 if (mpt) in mr_res_start_move_to()
1613 *mpt = r; in mr_res_start_move_to()
1892 struct res_mpt *mpt; in mpt_alloc_res() local
1919 RES_MPT_MAPPED, &mpt); in mpt_alloc_res()
1923 err = __mlx4_mpt_alloc_icm(dev, mpt->key); in mpt_alloc_res()
2425 struct res_mpt *mpt; in mpt_free_res() local
2431 err = get_res(dev, slave, id, RES_MPT, &mpt); in mpt_free_res()
[all …]
Dmain.c1001 dev->quotas.mpt = func_cap->mpt_quota; in mlx4_slave_cap()
/drivers/gpu/drm/i915/
DMakefile294 gvt/mpt.h \
/drivers/infiniband/hw/mlx4/
Dmain.c543 props->max_mr = dev->dev->quotas.mpt; in mlx4_ib_query_device()