/linux/drivers/infiniband/hw/mlx4/ |
A D | mr.c | 474 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 D | mlx4_ib.h | 139 struct mlx4_mr mmr; member
|
/linux/drivers/misc/sgi-gru/ |
A D | grufile.c | 313 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 D | x2apic_uv_x.c | 75 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 D | pvrdma_mr.c | 93 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 D | pvrdma.h | 143 struct pvrdma_mr mmr; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | mr.c | 293 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 D | mb862xxfb.h | 46 unsigned long mmr; /* memory mode for SDRAM */ member
|
A D | mb862xxfbdrv.c | 624 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 D | ti,omap-hwspinlock.yaml | 61 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_provider.c | 931 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 D | mr.c | 2351 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 D | k3-am65.dtsi | 70 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
A D | k3-j7200.dtsi | 127 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
A D | k3-j721e.dtsi | 130 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
A D | ti,k3-dsp-rproc.yaml | 144 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
A D | ti,k3-r5f-rproc.yaml | 241 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
|
/linux/include/linux/mlx4/ |
A D | device.h | 1507 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,
|