Searched refs:driver_uar (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 833 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()
|
D | pvrdma.h | 235 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.6.21/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 639 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()
|
D | mthca_main.c | 707 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()
|
D | mthca_srq.c | 115 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()
|
D | mthca_dev.h | 350 struct mthca_uar driver_uar; member
|
D | mthca_cq.c | 832 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq()
|
D | mthca_eq.c | 539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_create_eq()
|
D | mthca_qp.c | 629 qp_context->usr_page = cpu_to_be32(dev->driver_uar.index); in __mthca_modify_qp()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | main.c | 2741 err = mlx4_uar_alloc(dev, &priv->driver_uar); in mlx4_setup_hca() 2747 priv->kar = ioremap((phys_addr_t) priv->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); in mlx4_setup_hca() 2923 mlx4_uar_free(dev, &priv->driver_uar); in mlx4_setup_hca() 4147 mlx4_uar_free(dev, &priv->driver_uar); in mlx4_unload_one()
|
D | mlx4.h | 915 struct mlx4_uar driver_uar; member
|