Home
last modified time | relevance | path

Searched refs:mmr (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmr.c68 ~0ull, convert_access(acc), 0, 0, &mr->mmr); in mlx4_ib_get_dma_mr()
72 err = mlx4_mr_enable(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_get_dma_mr()
76 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_get_dma_mr()
82 (void) mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_get_dma_mr()
429 convert_access(access_flags), n, shift, &mr->mmr); in mlx4_ib_reg_user_mr()
433 err = mlx4_ib_umem_write_mtt(dev, &mr->mmr.mtt, mr->umem); in mlx4_ib_reg_user_mr()
437 err = mlx4_mr_enable(dev->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
441 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_reg_user_mr()
448 (void) mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
465 struct mlx4_ib_mr *mmr = to_mmr(mr); in mlx4_ib_rereg_user_mr() local
[all …]
Dmlx4_ib.h139 struct mlx4_mr mmr; member
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgrufile.c313 unsigned long mmr = 0; in gru_chiplet_cpu_to_mmr() local
327 mmr = UVH_GR0_TLB_INT0_CONFIG + in gru_chiplet_cpu_to_mmr()
330 mmr = UVH_GR1_TLB_INT0_CONFIG + in gru_chiplet_cpu_to_mmr()
337 return mmr; in gru_chiplet_cpu_to_mmr()
359 unsigned long mmr; in gru_chiplet_setup_tlb_irq() local
363 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_setup_tlb_irq()
364 if (mmr == 0) in gru_chiplet_setup_tlb_irq()
390 unsigned long mmr; in gru_chiplet_teardown_tlb_irq() local
396 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_teardown_tlb_irq()
397 if (mmr == 0) in gru_chiplet_teardown_tlb_irq()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_mr.c93 mr->mmr.mr_handle = resp->mr_handle; in pvrdma_get_dma_mr()
150 mr->mmr.iova = virt_addr; in pvrdma_reg_user_mr()
151 mr->mmr.size = length; in pvrdma_reg_user_mr()
181 mr->mmr.mr_handle = resp->mr_handle; in pvrdma_reg_user_mr()
253 mr->mmr.mr_handle = resp->mr_handle; in pvrdma_alloc_mr()
287 cmd->mr_handle = mr->mmr.mr_handle; in pvrdma_dereg_mr()
Dpvrdma.h143 struct pvrdma_mr mmr; member
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dx2apic_uv_x.c75 unsigned long val, *mmr; in uv_early_read_mmr() local
77 mmr = early_ioremap(UV_LOCAL_MMR_BASE | addr, sizeof(*mmr)); in uv_early_read_mmr()
78 val = *mmr; in uv_early_read_mmr()
79 early_iounmap(mmr, sizeof(*mmr)); in uv_early_read_mmr()
197 u64 mmr; in uv_tsc_check_sync() local
203 mmr = uv_early_read_mmr(UVH_TSC_SYNC_MMR); in uv_tsc_check_sync()
206 sync_state = (mmr >> mmr_shift) & UVH_TSC_SYNC_MASK; in uv_tsc_check_sync()
959 union uvh_rh10_gam_mmr_overlay_config_u mmr; in map_mmr_high() local
961 mmr.v = uv_read_local_mmr(UVH_RH10_GAM_MMR_OVERLAY_CONFIG); in map_mmr_high()
962 enable = mmr.s.enable; in map_mmr_high()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmr.c293 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_get_mpt() argument
297 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_get_mpt()
300 if (mmr->enabled != MLX4_MPT_EN_HW) in mlx4_mr_hw_get_mpt()
310 mmr->enabled = MLX4_MPT_EN_SW; in mlx4_mr_hw_get_mpt()
344 int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_write_mpt() argument
360 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_write_mpt()
371 mmr->pd = be32_to_cpu((*mpt_entry)->pd_flags) & MLX4_MPT_PD_MASK; in mlx4_mr_hw_write_mpt()
372 mmr->enabled = MLX4_MPT_EN_HW; in mlx4_mr_hw_write_mpt()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmr.c1718 struct mlx5_ib_mr *mmr = to_mmr(ibmr); in mlx5_ib_dereg_mr() local
1721 dereg_mr(to_mdev(mmr->mtt_mr->ibmr.device), mmr->mtt_mr); in mlx5_ib_dereg_mr()
1722 dereg_mr(to_mdev(mmr->klm_mr->ibmr.device), mmr->klm_mr); in mlx5_ib_dereg_mr()
1725 if (is_odp_mr(mmr) && to_ib_umem_odp(mmr->umem)->is_implicit_odp) { in mlx5_ib_dereg_mr()
1726 mlx5_ib_free_implicit_mr(mmr); in mlx5_ib_dereg_mr()
1730 dereg_mr(to_mdev(ibmr->device), mmr); in mlx5_ib_dereg_mr()
2088 struct mlx5_ib_mr *mmr = to_mmr(ibmr); in mlx5_ib_check_mr_status() local
2099 if (!mmr->sig) { in mlx5_ib_check_mr_status()
2105 mmr->sig->sig_status_checked = true; in mlx5_ib_check_mr_status()
2106 if (!mmr->sig->sig_err_exists) in mlx5_ib_check_mr_status()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/
Dmb862xxfb.h46 unsigned long mmr; /* memory mode for SDRAM */ member
Dmb862xxfbdrv.c624 unsigned long ccf, mmr; in mb862xx_gdc_init() local
650 mmr = par->gc_mode ? par->gc_mode->mmr : 0x414fb7f2; in mb862xx_gdc_init()
659 outreg(host, GC_MMR, mmr); in mb862xx_gdc_init()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c949 struct mthca_mr *mmr = to_mmr(mr); in mthca_dereg_mr() local
951 mthca_free_mr(to_mdev(mr->device), mmr); in mthca_dereg_mr()
952 ib_umem_release(mmr->umem); in mthca_dereg_mr()
953 kfree(mmr); in mthca_dereg_mr()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/ti/
Dk3-am65.dtsi68 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dk3-j7200.dtsi125 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dk3-j721e.dtsi127 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h1508 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr,
1510 int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr,