Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ !
Dpvrdma_main.c833 dev->driver_uar.index = 0; in pvrdma_pci_probe()
834 dev->driver_uar.pfn = in pvrdma_pci_probe()
837 dev->driver_uar.map = in pvrdma_pci_probe()
838 ioremap(dev->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); in pvrdma_pci_probe()
839 if (!dev->driver_uar.map) { in pvrdma_pci_probe()
866 dev->dsr->uar_pfn = dev->driver_uar.pfn; in pvrdma_pci_probe()
868 dev->dsr->uar_pfn64 = dev->driver_uar.pfn; in pvrdma_pci_probe()
1037 iounmap(dev->driver_uar.map); in pvrdma_pci_probe()
1097 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()
/linux-6.1.9/drivers/infiniband/hw/mthca/ !
Dmthca_memfree.c639 mthca_uarc_virt(dev, &dev->driver_uar, i)); in mthca_alloc_db()
686 mthca_UNMAP_ICM(dev, mthca_uarc_virt(dev, &dev->driver_uar, i), 1); in mthca_free_db()
754 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()
1092 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_cq.c832 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq()
Dmthca_eq.c539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_create_eq()
Dmthca_qp.c629 qp_context->usr_page = cpu_to_be32(dev->driver_uar.index); in __mthca_modify_qp()
/linux-6.1.9/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()
4114 mlx4_uar_free(dev, &priv->driver_uar); in mlx4_unload_one()
Dmlx4.h908 struct mlx4_uar driver_uar; member