Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx4/
A Dmr.c474 err = mlx4_mr_hw_get_mpt(dev->dev, &mmr->mmr, &pmpt_entry); in mlx4_ib_rereg_user_mr()
504 mlx4_mr_rereg_mem_cleanup(dev->dev, &mmr->mmr); in mlx4_ib_rereg_user_mr()
508 if (IS_ERR(mmr->umem)) { in mlx4_ib_rereg_user_mr()
511 mmr->umem = NULL; in mlx4_ib_rereg_user_mr()
517 err = mlx4_mr_rereg_mem_write(dev->dev, &mmr->mmr, in mlx4_ib_rereg_user_mr()
524 mmr->mmr.iova = virt_addr; in mlx4_ib_rereg_user_mr()
525 mmr->mmr.size = length; in mlx4_ib_rereg_user_mr()
527 err = mlx4_ib_umem_write_mtt(dev, &mmr->mmr.mtt, mmr->umem); in mlx4_ib_rereg_user_mr()
529 mlx4_mr_rereg_mem_cleanup(dev->dev, &mmr->mmr); in mlx4_ib_rereg_user_mr()
538 err = mlx4_mr_hw_write_mpt(dev->dev, &mmr->mmr, pmpt_entry); in mlx4_ib_rereg_user_mr()
[all …]
A Dmlx4_ib.h139 struct mlx4_mr mmr; member
/linux/drivers/misc/sgi-gru/
A 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()
337 return mmr; in gru_chiplet_cpu_to_mmr()
359 unsigned long mmr; in gru_chiplet_setup_tlb_irq() local
364 if (mmr == 0) in gru_chiplet_setup_tlb_irq()
390 unsigned long mmr; in gru_chiplet_teardown_tlb_irq() local
397 if (mmr == 0) in gru_chiplet_teardown_tlb_irq()
409 unsigned long mmr; in gru_chiplet_setup_tlb_irq() local
414 if (mmr == 0) in gru_chiplet_setup_tlb_irq()
438 unsigned long mmr; in gru_chiplet_teardown_tlb_irq() local
[all …]
/linux/arch/x86/kernel/apic/
A 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()
968 enable = mmr.s.enable; in map_mmr_high()
969 base = mmr.s.base; in map_mmr_high()
975 enable = mmr.s.enable; in map_mmr_high()
976 base = mmr.s.base; in map_mmr_high()
[all …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
A 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()
A Dpvrdma.h143 struct pvrdma_mr mmr; member
/linux/drivers/net/ethernet/mellanox/mlx4/
A 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/drivers/video/fbdev/mb862xx/
A Dmb862xxfb.h46 unsigned long mmr; /* memory mode for SDRAM */ member
A 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/Documentation/devicetree/bindings/hwlock/
A Dti,omap-hwspinlock.yaml61 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
/linux/drivers/infiniband/hw/mthca/
A Dmthca_provider.c931 struct mthca_mr *mmr = to_mmr(mr); in mthca_dereg_mr() local
933 mthca_free_mr(to_mdev(mr->device), mmr); in mthca_dereg_mr()
934 ib_umem_release(mmr->umem); in mthca_dereg_mr()
935 kfree(mmr); in mthca_dereg_mr()
/linux/drivers/infiniband/hw/mlx5/
A Dmr.c2351 struct mlx5_ib_mr *mmr = to_mmr(ibmr); in mlx5_ib_check_mr_status() local
2362 if (!mmr->sig) { in mlx5_ib_check_mr_status()
2368 mmr->sig->sig_status_checked = true; in mlx5_ib_check_mr_status()
2369 if (!mmr->sig->sig_err_exists) in mlx5_ib_check_mr_status()
2372 if (ibmr->lkey == mmr->sig->err_item.key) in mlx5_ib_check_mr_status()
2373 memcpy(&mr_status->sig_err, &mmr->sig->err_item, in mlx5_ib_check_mr_status()
2378 mr_status->sig_err.key = mmr->sig->err_item.key; in mlx5_ib_check_mr_status()
2381 mmr->sig->sig_err_exists = false; in mlx5_ib_check_mr_status()
/linux/arch/arm64/boot/dts/ti/
A Dk3-am65.dtsi70 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
A Dk3-j7200.dtsi127 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
A Dk3-j721e.dtsi130 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
/linux/Documentation/devicetree/bindings/remoteproc/
A Dti,k3-dsp-rproc.yaml144 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
A Dti,k3-r5f-rproc.yaml241 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
/linux/include/linux/mlx4/
A Ddevice.h1507 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr,
1509 int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr,

Completed in 42 milliseconds