Home
last modified time | relevance | path

Searched refs:uar_map (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_main.c243 iounmap(mdev->uar_map); in mlx4_en_remove()
288 mdev->uar_map = ioremap((phys_addr_t) mdev->priv_uar.pfn << PAGE_SHIFT, in mlx4_en_add()
290 if (!mdev->uar_map) in mlx4_en_add()
342 if (mdev->uar_map) in mlx4_en_add()
343 iounmap(mdev->uar_map); in mlx4_en_add()
Deq.c941 if (!priv->eq_table.uar_map[index]) { in mlx4_get_eq_uar()
942 priv->eq_table.uar_map[index] = in mlx4_get_eq_uar()
947 if (!priv->eq_table.uar_map[index]) { in mlx4_get_eq_uar()
954 return priv->eq_table.uar_map[index] + 0x800 + 8 * (eq->eqn % 4); in mlx4_get_eq_uar()
963 if (priv->eq_table.uar_map[i]) { in mlx4_unmap_uar()
964 iounmap(priv->eq_table.uar_map[i]); in mlx4_unmap_uar()
965 priv->eq_table.uar_map[i] = NULL; in mlx4_unmap_uar()
1182 priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev), in mlx4_init_eq_table()
1183 sizeof(*priv->eq_table.uar_map), in mlx4_init_eq_table()
1185 if (!priv->eq_table.uar_map) { in mlx4_init_eq_table()
[all …]
Den_cq.c211 mlx4_cq_arm(&cq->mcq, MLX4_CQ_DB_REQ_NOT, priv->mdev->uar_map, in mlx4_en_arm_cq()
Dmlx4_en.h425 void __iomem *uar_map; member
Den_tx.c123 ring->bf.uar->map = mdev->uar_map; in mlx4_en_create_tx_ring()
Dmlx4.h691 void __iomem **uar_map; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h102 mlx5e_notify_hw(struct mlx5_wq_cyc *wq, u16 pc, void __iomem *uar_map, in mlx5e_notify_hw() argument
116 mlx5_write64((__be32 *)ctrl, uar_map); in mlx5e_notify_hw()
Dxdp.h110 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, sq->doorbell_cseg); in mlx5e_xmit_xdp_doorbell()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c82 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &nopwqe->ctrl); in mlx5e_trigger_irq()
Den.h405 void __iomem *uar_map; member
530 void __iomem *uar_map; member
558 void __iomem *uar_map; member
Den_tx.c266 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete()
Den_main.c983 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_xdpsq()
1054 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_icosq()
1129 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_txqsq()
1365 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &nop->ctrl); in mlx5e_deactivate_txqsq()
Den_rx.c691 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, sq->doorbell_cseg); in mlx5e_post_rx_mpwqes()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmain.c2643 ibdev->uar_map = ioremap((phys_addr_t) ibdev->priv_uar.pfn << PAGE_SHIFT, in mlx4_ib_add()
2645 if (!ibdev->uar_map) in mlx4_ib_add()
2920 iounmap(ibdev->uar_map); in mlx4_ib_add()
3025 iounmap(ibdev->uar_map); in mlx4_ib_remove()
Dmlx4_ib.h586 void __iomem *uar_map; member
Dcq.c913 to_mdev(ibcq->device)->uar_map, in mlx4_ib_arm_cq()
Dqp.c3829 to_mdev(ibqp->device)->uar_map + MLX4_SEND_DOORBELL); in _mlx4_ib_post_send()