mpt 192 arch/x86/kernel/mpparse.c static void __init smp_dump_mptable(struct mpc_table *mpc, unsigned char *mpt) mpt 195 arch/x86/kernel/mpparse.c pr_cont("type %x\n", *mpt); mpt 208 arch/x86/kernel/mpparse.c unsigned char *mpt = ((unsigned char *)mpc) + count; mpt 229 arch/x86/kernel/mpparse.c switch (*mpt) { mpt 233 arch/x86/kernel/mpparse.c MP_processor_info((struct mpc_cpu *)mpt); mpt 234 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_cpu)); mpt 237 arch/x86/kernel/mpparse.c MP_bus_info((struct mpc_bus *)mpt); mpt 238 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_bus)); mpt 241 arch/x86/kernel/mpparse.c MP_ioapic_info((struct mpc_ioapic *)mpt); mpt 242 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); mpt 245 arch/x86/kernel/mpparse.c mp_save_irq((struct mpc_intsrc *)mpt); mpt 246 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); mpt 249 arch/x86/kernel/mpparse.c MP_lintsrc_info((struct mpc_lintsrc *)mpt); mpt 250 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc)); mpt 254 arch/x86/kernel/mpparse.c smp_dump_mptable(mpc, mpt); mpt 752 arch/x86/kernel/mpparse.c unsigned char *mpt = ((unsigned char *)mpc) + count; mpt 756 arch/x86/kernel/mpparse.c switch (*mpt) { mpt 758 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_cpu)); mpt 761 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_bus)); mpt 764 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); mpt 767 arch/x86/kernel/mpparse.c check_irq_src((struct mpc_intsrc *)mpt, &nr_m_spare); mpt 768 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); mpt 771 arch/x86/kernel/mpparse.c skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc)); mpt 775 arch/x86/kernel/mpparse.c smp_dump_mptable(mpc, mpt); mpt 798 arch/x86/kernel/mpparse.c struct mpc_intsrc *m = (struct mpc_intsrc *)mpt; mpt 804 arch/x86/kernel/mpparse.c mpt += sizeof(struct mpc_intsrc); mpt 427 drivers/gpu/drm/i915/gvt/gvt.c intel_gvt_host.mpt = m; mpt 59 drivers/gpu/drm/i915/gvt/gvt.h struct intel_gvt_mpt *mpt; mpt 55 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->host_init) mpt 58 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->host_init(dev, gvt, ops); mpt 67 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->host_exit) mpt 70 drivers/gpu/drm/i915/gvt/mpt.h intel_gvt_host.mpt->host_exit(dev); mpt 83 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->attach_vgpu) mpt 86 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->attach_vgpu(vgpu, &vgpu->handle); mpt 99 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->detach_vgpu) mpt 102 drivers/gpu/drm/i915/gvt/mpt.h intel_gvt_host.mpt->detach_vgpu(vgpu); mpt 136 drivers/gpu/drm/i915/gvt/mpt.h ret = intel_gvt_host.mpt->inject_msi(vgpu->handle, addr, data); mpt 151 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->from_virt_to_mfn(p); mpt 165 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->enable_page_track(vgpu->handle, gfn); mpt 179 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->disable_page_track(vgpu->handle, gfn); mpt 195 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->read_gpa(vgpu->handle, gpa, buf, len); mpt 211 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->write_gpa(vgpu->handle, gpa, buf, len); mpt 225 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->gfn_to_mfn(vgpu->handle, gfn); mpt 242 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->dma_map_guest_page(vgpu->handle, gfn, size, mpt 254 drivers/gpu/drm/i915/gvt/mpt.h intel_gvt_host.mpt->dma_unmap_guest_page(vgpu->handle, dma_addr); mpt 274 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->map_gfn_to_mfn) mpt 277 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->map_gfn_to_mfn(vgpu->handle, gfn, mfn, nr, mpt 295 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->set_trap_area) mpt 298 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->set_trap_area(vgpu->handle, start, end, map); mpt 310 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->set_opregion) mpt 313 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->set_opregion(vgpu); mpt 327 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->set_edid) mpt 330 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->set_edid(vgpu, port_num); mpt 342 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->get_vfio_device) mpt 345 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->get_vfio_device(vgpu); mpt 357 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->put_vfio_device) mpt 360 drivers/gpu/drm/i915/gvt/mpt.h intel_gvt_host.mpt->put_vfio_device(vgpu); mpt 374 drivers/gpu/drm/i915/gvt/mpt.h if (!intel_gvt_host.mpt->is_valid_gfn) mpt 377 drivers/gpu/drm/i915/gvt/mpt.h return intel_gvt_host.mpt->is_valid_gfn(vgpu->handle, gfn); mpt 539 drivers/infiniband/hw/mlx4/main.c props->max_mr = dev->dev->quotas.mpt; mpt 601 drivers/infiniband/hw/mthca/mthca_mr.c mr->mem.arbel.mpt = mthca_table_find(dev->mr_table.mpt_table, key, NULL); mpt 602 drivers/infiniband/hw/mthca/mthca_mr.c BUG_ON(!mr->mem.arbel.mpt); mpt 604 drivers/infiniband/hw/mthca/mthca_mr.c mr->mem.tavor.mpt = dev->mr_table.tavor_fmr.mpt_base + mpt 605 drivers/infiniband/hw/mthca/mthca_mr.c sizeof *(mr->mem.tavor.mpt) * idx; mpt 736 drivers/infiniband/hw/mthca/mthca_mr.c writeb(MTHCA_MPT_STATUS_SW, fmr->mem.tavor.mpt); mpt 748 drivers/infiniband/hw/mthca/mthca_mr.c __raw_writel((__force u32) mpt_entry.lkey, &fmr->mem.tavor.mpt->key); mpt 749 drivers/infiniband/hw/mthca/mthca_mr.c memcpy_toio(&fmr->mem.tavor.mpt->start, &mpt_entry.start, mpt 753 drivers/infiniband/hw/mthca/mthca_mr.c writeb(MTHCA_MPT_STATUS_HW, fmr->mem.tavor.mpt); mpt 779 drivers/infiniband/hw/mthca/mthca_mr.c *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_SW; mpt 793 drivers/infiniband/hw/mthca/mthca_mr.c fmr->mem.arbel.mpt->key = cpu_to_be32(key); mpt 794 drivers/infiniband/hw/mthca/mthca_mr.c fmr->mem.arbel.mpt->lkey = cpu_to_be32(key); mpt 795 drivers/infiniband/hw/mthca/mthca_mr.c fmr->mem.arbel.mpt->length = cpu_to_be64(list_len * (1ull << fmr->attr.page_shift)); mpt 796 drivers/infiniband/hw/mthca/mthca_mr.c fmr->mem.arbel.mpt->start = cpu_to_be64(iova); mpt 800 drivers/infiniband/hw/mthca/mthca_mr.c *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_HW; mpt 814 drivers/infiniband/hw/mthca/mthca_mr.c writeb(MTHCA_MPT_STATUS_SW, fmr->mem.tavor.mpt); mpt 824 drivers/infiniband/hw/mthca/mthca_mr.c *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_SW; mpt 86 drivers/infiniband/hw/mthca/mthca_provider.h struct mthca_mpt_entry __iomem *mpt; mpt 90 drivers/infiniband/hw/mthca/mthca_provider.h struct mthca_mpt_entry *mpt; mpt 1000 drivers/net/ethernet/mellanox/mlx4/main.c dev->quotas.mpt = func_cap->mpt_quota; mpt 1012 drivers/net/ethernet/mellanox/mlx4/mr.c *(u8 *) fmr->mpt = MLX4_MPT_STATUS_SW; mpt 1026 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->key = cpu_to_be32(key); mpt 1027 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->lkey = cpu_to_be32(key); mpt 1028 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->length = cpu_to_be64(npages * (1ull << fmr->page_shift)); mpt 1029 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->start = cpu_to_be64(iova); mpt 1034 drivers/net/ethernet/mellanox/mlx4/mr.c *(u8 *) fmr->mpt = MLX4_MPT_STATUS_HW; mpt 1095 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt = mlx4_table_find(&priv->mr_table.dmpt_table, mpt 1097 drivers/net/ethernet/mellanox/mlx4/mr.c if (!fmr->mpt) mpt 1111 drivers/net/ethernet/mellanox/mlx4/mr.c *(u8 *)fmr->mpt = MLX4_MPT_STATUS_SW; mpt 1131 drivers/net/ethernet/mellanox/mlx4/mr.c *(u8 *)fmr->mpt = MLX4_MPT_STATUS_SW; mpt 1134 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->length = 0; mpt 1135 drivers/net/ethernet/mellanox/mlx4/mr.c fmr->mpt->start = 0; mpt 1138 drivers/net/ethernet/mellanox/mlx4/mr.c *(u8 *)fmr->mpt = MLX4_MPT_STATUS_HW; mpt 457 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; mpt 470 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev->quotas.mpt = mpt 1570 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c enum res_mpt_states state, struct res_mpt **mpt) mpt 1612 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt) mpt 1613 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c *mpt = r; mpt 1892 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *mpt; mpt 1919 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c RES_MPT_MAPPED, &mpt); mpt 1923 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = __mlx4_mpt_alloc_icm(dev, mpt->key); mpt 2425 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *mpt; mpt 2431 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, id, RES_MPT, &mpt); mpt 2434 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = mpt->key; mpt 2447 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c RES_MPT_RESERVED, &mpt); mpt 2451 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_mpt_free_icm(dev, mpt->key); mpt 2671 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_phys_mpt(struct mlx4_mpt_entry *mpt) mpt 2673 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return (be32_to_cpu(mpt->flags) >> 9) & 1; mpt 2676 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_get_mtt_addr(struct mlx4_mpt_entry *mpt) mpt 2678 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return (int)be64_to_cpu(mpt->mtt_addr) & 0xfffffff8; mpt 2681 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_get_mtt_size(struct mlx4_mpt_entry *mpt) mpt 2683 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return be32_to_cpu(mpt->mtt_sz); mpt 2686 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static u32 mr_get_pd(struct mlx4_mpt_entry *mpt) mpt 2688 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return be32_to_cpu(mpt->pd_flags) & 0x00ffffff; mpt 2691 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_is_fmr(struct mlx4_mpt_entry *mpt) mpt 2693 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return be32_to_cpu(mpt->pd_flags) & MLX4_MPT_PD_FLAG_FAST_REG; mpt 2696 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_is_bind_enabled(struct mlx4_mpt_entry *mpt) mpt 2698 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return be32_to_cpu(mpt->flags) & MLX4_MPT_FLAG_BIND_ENABLE; mpt 2701 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_is_region(struct mlx4_mpt_entry *mpt) mpt 2703 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c return be32_to_cpu(mpt->flags) & MLX4_MPT_FLAG_REGION; mpt 2763 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *mpt = NULL; mpt 2771 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mr_res_start_move_to(dev, slave, id, RES_MPT_HW, &mpt); mpt 2813 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mpt->mtt = mtt; mpt 2845 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *mpt; mpt 2849 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mr_res_start_move_to(dev, slave, id, RES_MPT_MAPPED, &mpt); mpt 2857 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt->mtt) mpt 2858 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&mpt->mtt->ref_count); mpt 2877 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *mpt; mpt 2881 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, id, RES_MPT, &mpt); mpt 2885 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt->com.from_state == RES_MPT_MAPPED) { mpt 2896 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mpt->key, NULL); mpt 2906 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c } else if (mpt->com.from_state == RES_MPT_HW) { mpt 4865 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *mpt; mpt 4878 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(mpt, tmp, mpt_list, com.list) { mpt 4880 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt->com.owner == slave) { mpt 4881 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c mptn = mpt->com.res_id; mpt 4882 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c state = mpt->com.from_state; mpt 4886 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_mpt_release(dev, mpt->key); mpt 4888 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c rb_erase(&mpt->com.node, mpt 4890 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_del(&mpt->com.list); mpt 4894 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kfree(mpt); mpt 4899 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_mpt_free_icm(dev, mpt->key); mpt 4912 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (mpt->mtt) mpt 4913 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c atomic_dec(&mpt->mtt->ref_count); mpt 712 include/linux/mlx4/device.h struct mlx4_mpt_entry *mpt; mpt 845 include/linux/mlx4/device.h int mpt;