Home
last modified time | relevance | path

Searched refs:driver_uar (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c871 dev->driver_uar.index = 0; in pvrdma_pci_probe()
872 dev->driver_uar.pfn = in pvrdma_pci_probe()
875 dev->driver_uar.map = in pvrdma_pci_probe()
876 ioremap(dev->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); in pvrdma_pci_probe()
877 if (!dev->driver_uar.map) { in pvrdma_pci_probe()
904 dev->dsr->uar_pfn = dev->driver_uar.pfn; in pvrdma_pci_probe()
906 dev->dsr->uar_pfn64 = dev->driver_uar.pfn; in pvrdma_pci_probe()
1075 iounmap(dev->driver_uar.map); in pvrdma_pci_probe()
1135 iounmap(dev->driver_uar.map); in pvrdma_pci_remove()
Dpvrdma.h235 struct pvrdma_uar_map driver_uar; member
311 writel(cpu_to_le32(val), dev->driver_uar.map + PVRDMA_UAR_CQ_OFFSET); in pvrdma_write_uar_cq()
316 writel(cpu_to_le32(val), dev->driver_uar.map + PVRDMA_UAR_QP_OFFSET); in pvrdma_write_uar_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_memfree.c636 mthca_uarc_virt(dev, &dev->driver_uar, i)); in mthca_alloc_db()
683 mthca_UNMAP_ICM(dev, mthca_uarc_virt(dev, &dev->driver_uar, i), 1); in mthca_free_db()
751 mthca_UNMAP_ICM(dev, mthca_uarc_virt(dev, &dev->driver_uar, i), 1); in mthca_cleanup_db_tab()
Dmthca_main.c707 err = mthca_uar_alloc(dev, &dev->driver_uar); in mthca_setup_hca()
714 dev->kar = ioremap((phys_addr_t) dev->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); in mthca_setup_hca()
844 mthca_uar_free(dev, &dev->driver_uar); in mthca_setup_hca()
1107 mthca_uar_free(mdev, &mdev->driver_uar); in __mthca_remove_one()
Dmthca_srq.c115 context->uar = cpu_to_be32(dev->driver_uar.index); in mthca_tavor_init_srq_context()
143 context->logstride_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_arbel_init_srq_context()
Dmthca_dev.h350 struct mthca_uar driver_uar; member
Dmthca_eq.c539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_create_eq()
Dmthca_cq.c832 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq()
Dmthca_qp.c629 qp_context->usr_page = cpu_to_be32(dev->driver_uar.index); in __mthca_modify_qp()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmain.c2716 err = mlx4_uar_alloc(dev, &priv->driver_uar); in mlx4_setup_hca()
2722 priv->kar = ioremap((phys_addr_t) priv->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); in mlx4_setup_hca()
2898 mlx4_uar_free(dev, &priv->driver_uar); in mlx4_setup_hca()
4117 mlx4_uar_free(dev, &priv->driver_uar); in mlx4_unload_one()
Dmlx4.h907 struct mlx4_uar driver_uar; member