Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Den_main.c238 iounmap(mdev->uar_map); in mlx4_en_remove()
283 mdev->uar_map = ioremap((phys_addr_t) mdev->priv_uar.pfn << PAGE_SHIFT, in mlx4_en_add()
285 if (!mdev->uar_map) in mlx4_en_add()
337 if (mdev->uar_map) in mlx4_en_add()
338 iounmap(mdev->uar_map); in mlx4_en_add()
Deq.c940 if (!priv->eq_table.uar_map[index]) { in mlx4_get_eq_uar()
941 priv->eq_table.uar_map[index] = in mlx4_get_eq_uar()
946 if (!priv->eq_table.uar_map[index]) { in mlx4_get_eq_uar()
953 return priv->eq_table.uar_map[index] + 0x800 + 8 * (eq->eqn % 4); in mlx4_get_eq_uar()
962 if (priv->eq_table.uar_map[i]) { in mlx4_unmap_uar()
963 iounmap(priv->eq_table.uar_map[i]); in mlx4_unmap_uar()
964 priv->eq_table.uar_map[i] = NULL; in mlx4_unmap_uar()
1183 priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev), in mlx4_init_eq_table()
1184 sizeof(*priv->eq_table.uar_map), in mlx4_init_eq_table()
1186 if (!priv->eq_table.uar_map) { in mlx4_init_eq_table()
[all …]
Den_cq.c214 mlx4_cq_arm(&cq->mcq, MLX4_CQ_DB_REQ_NOT, priv->mdev->uar_map, in mlx4_en_arm_cq()
Dmlx4_en.h420 void __iomem *uar_map; member
Den_tx.c126 ring->bf.uar->map = mdev->uar_map; in mlx4_en_create_tx_ring()
Dmlx4.h692 void __iomem **uar_map; member
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h371 void __iomem *uar_map; member
406 void __iomem *uar_map; member
433 void __iomem *uar_map; member
962 void __iomem *uar_map, in mlx5e_notify_hw() argument
976 mlx5_write64((__be32 *)ctrl, uar_map, NULL); in mlx5e_notify_hw()
Den_rx.c372 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, &wqe->ctrl); in mlx5e_post_umr_wqe()
763 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &wqe->ctrl); in mlx5e_xmit_xdp_doorbell()
Den_tx.c301 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete()
Den_main.c952 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, &nopwqe->ctrl); in mlx5e_activate_rq()
1000 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()
1122 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_txqsq()
1340 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, &nop->ctrl); in mlx5e_deactivate_txqsq()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h588 void __iomem *uar_map; member
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()
2988 iounmap(ibdev->uar_map); in mlx4_ib_add()
3091 iounmap(ibdev->uar_map); in mlx4_ib_remove()
Dcq.c910 to_mdev(ibcq->device)->uar_map, in mlx4_ib_arm_cq()
Dqp.c3864 to_mdev(ibqp->device)->uar_map + MLX4_SEND_DOORBELL); in mlx4_ib_post_send()