Searched refs:driver_uar (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 871 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()
|
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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 636 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()
|
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() 1107 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_eq.c | 539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_create_eq()
|
D | mthca_cq.c | 832 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq()
|
D | mthca_qp.c | 629 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/ |
D | main.c | 2716 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()
|
D | mlx4.h | 907 struct mlx4_uar driver_uar; member
|