Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c256 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_probe()
290 if (!mdev->uar_map) { in mlx4_en_probe()
370 if (mdev->uar_map) in mlx4_en_probe()
371 iounmap(mdev->uar_map); in mlx4_en_probe()
H A Deq.c942 if (!priv->eq_table.uar_map[index]) { in mlx4_get_eq_uar()
943 priv->eq_table.uar_map[index] = in mlx4_get_eq_uar()
948 if (!priv->eq_table.uar_map[index]) { in mlx4_get_eq_uar()
955 return priv->eq_table.uar_map[index] + 0x800 + 8 * (eq->eqn % 4); in mlx4_get_eq_uar()
964 if (priv->eq_table.uar_map[i]) { in mlx4_unmap_uar()
965 iounmap(priv->eq_table.uar_map[i]); in mlx4_unmap_uar()
966 priv->eq_table.uar_map[i] = NULL; in mlx4_unmap_uar()
1180 priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev), in mlx4_init_eq_table()
1181 sizeof(*priv->eq_table.uar_map), in mlx4_init_eq_table()
1183 if (!priv->eq_table.uar_map) { in mlx4_init_eq_table()
[all …]
H A Den_cq.c222 mlx4_cq_arm(&cq->mcq, MLX4_CQ_DB_REQ_NOT, priv->mdev->uar_map, in mlx4_en_arm_cq()
H A Dmlx4_en.h425 void __iomem *uar_map; member
H A Den_tx.c126 ring->bf.uar->map = mdev->uar_map; in mlx4_en_create_tx_ring()
H A Dmlx4.h694 void __iomem **uar_map; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c32 void __iomem *uar_map; member
166 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5_aso_alloc_sq()
385 mlx5_write64((__be32 *)doorbell_cseg, aso->uar_map); in mlx5_aso_post_wqe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_rx.c215 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in post_rx_param_wqes()
313 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in resync_post_get_progress_params()
765 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, db_cseg); in mlx5e_ktls_rx_handle_resync_list()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.h161 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, sq->doorbell_cseg); in mlx5e_xmit_xdp_doorbell()
H A Dtxrx.h280 mlx5e_notify_hw(struct mlx5_wq_cyc *wq, u16 pc, void __iomem *uar_map, in mlx5e_notify_hw() argument
294 mlx5_write64((__be32 *)ctrl, uar_map); in mlx5e_notify_hw()
H A Dptp.c336 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_ptp_alloc_txqsq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c371 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, &wqe->ctrl); in mlx5e_tx_flush()
423 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete()
634 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in mlx5e_sq_xmit_mpwqe()
639 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in mlx5e_sq_xmit_mpwqe()
H A Den_txrx.c85 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &nopwqe->ctrl); in mlx5e_trigger_irq()
H A Den.h436 void __iomem *uar_map; member
503 void __iomem *uar_map; member
535 void __iomem *uar_map; member
H A Den_main.c1462 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_alloc_xdpsq()
1547 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_alloc_icosq()
1632 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in mlx5e_alloc_txqsq()
1885 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &nop->ctrl); in mlx5e_deactivate_txqsq()
H A Den_rx.c1124 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, sq->doorbell_cseg); in mlx5e_post_rx_mpwqes()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_send.h116 void __iomem *uar_map; member
H A Dmlx5hws_send.c113 mlx5_write64((__be32 *)doorbell_cseg, sq->uar_map); in hws_send_engine_post_ring()
569 sq->uar_map = mdev->mlx5e_res.hw_objs.bfreg.map; in hws_send_ring_alloc_sq()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c2654 ibdev->uar_map = ioremap((phys_addr_t) ibdev->priv_uar.pfn << PAGE_SHIFT, in mlx4_ib_probe()
2656 if (!ibdev->uar_map) { in mlx4_ib_probe()
2897 iounmap(ibdev->uar_map); in mlx4_ib_probe()
3005 iounmap(ibdev->uar_map); in mlx4_ib_remove()
H A Dmlx4_ib.h614 void __iomem *uar_map; member
H A Dcq.c910 to_mdev(ibcq->device)->uar_map, in mlx4_ib_arm_cq()
H A Dqp.c3825 to_mdev(ibqp->device)->uar_map + MLX4_SEND_DOORBELL); in _mlx4_ib_post_send()