Home
last modified time | relevance | path

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

/linux-6.6.21/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()
447 (void) mlx4_mr_free(to_mdev(pd->device)->dev, &mr->mmr); in mlx4_ib_reg_user_mr()
464 struct mlx4_ib_mr *mmr = to_mmr(mr); in mlx4_ib_rereg_user_mr() local
[all …]
Dmlx4_ib.h140 struct mlx4_mr mmr; member
/linux-6.6.21/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 …]
/linux-6.6.21/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
/linux-6.6.21/arch/x86/kernel/apic/
Dx2apic_uv_x.c77 unsigned long val, *mmr; in uv_early_read_mmr() local
79 mmr = early_ioremap(UV_LOCAL_MMR_BASE | addr, sizeof(*mmr)); in uv_early_read_mmr()
80 val = *mmr; in uv_early_read_mmr()
81 early_iounmap(mmr, sizeof(*mmr)); in uv_early_read_mmr()
199 u64 mmr; in uv_tsc_check_sync() local
211 mmr = uv_early_read_mmr(UVH_TSC_SYNC_MMR); in uv_tsc_check_sync()
214 sync_state = (mmr >> mmr_shift) & UVH_TSC_SYNC_MASK; in uv_tsc_check_sync()
934 union uvh_rh10_gam_mmr_overlay_config_u mmr; in map_mmr_high() local
936 mmr.v = uv_read_local_mmr(UVH_RH10_GAM_MMR_OVERLAY_CONFIG); in map_mmr_high()
937 enable = mmr.s.enable; in map_mmr_high()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_provider.c923 struct mthca_mr *mmr = to_mmr(mr); in mthca_dereg_mr() local
925 mthca_free_mr(to_mdev(mr->device), mmr); in mthca_dereg_mr()
926 ib_umem_release(mmr->umem); in mthca_dereg_mr()
927 kfree(mmr); in mthca_dereg_mr()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmr.c2285 struct mlx5_ib_mr *mmr = to_mmr(ibmr); in mlx5_ib_check_mr_status() local
2296 if (!mmr->sig) { in mlx5_ib_check_mr_status()
2302 mmr->sig->sig_status_checked = true; in mlx5_ib_check_mr_status()
2303 if (!mmr->sig->sig_err_exists) in mlx5_ib_check_mr_status()
2306 if (ibmr->lkey == mmr->sig->err_item.key) in mlx5_ib_check_mr_status()
2307 memcpy(&mr_status->sig_err, &mmr->sig->err_item, in mlx5_ib_check_mr_status()
2312 mr_status->sig_err.key = mmr->sig->err_item.key; in mlx5_ib_check_mr_status()
2315 mmr->sig->sig_err_exists = false; in mlx5_ib_check_mr_status()
/linux-6.6.21/arch/arm64/boot/dts/ti/
Dk3-am65.dtsi54 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dk3-j7200.dtsi113 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dk3-j721s2.dtsi118 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dk3-j721e.dtsi114 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dk3-j784s4.dtsi235 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
/linux-6.6.21/Documentation/devicetree/bindings/remoteproc/
Dti,k3-dsp-rproc.yaml160 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
Dti,k3-r5f-rproc.yaml286 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
/linux-6.6.21/include/linux/mlx4/
Ddevice.h1527 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr,
1529 int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr,