Home
last modified time | relevance | path

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

/Linux-v5.10/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()
1181 priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev), in mlx4_init_eq_table()
1182 sizeof(*priv->eq_table.uar_map), in mlx4_init_eq_table()
1184 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.h430 void __iomem *uar_map; member
Den_tx.c124 ring->bf.uar->map = mdev->uar_map; in mlx4_en_create_tx_ring()
Dmlx4.h691 void __iomem **uar_map; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h211 mlx5e_notify_hw(struct mlx5_wq_cyc *wq, u16 pc, void __iomem *uar_map, in mlx5e_notify_hw() argument
225 mlx5_write64((__be32 *)ctrl, uar_map); in mlx5e_notify_hw()
Dxdp.h102 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, sq->doorbell_cseg); in mlx5e_xmit_xdp_doorbell()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c200 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in post_rx_param_wqes()
301 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in resync_post_get_progress_params()
372 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in resync_handle_seq_match()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c87 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &nopwqe->ctrl); in mlx5e_trigger_irq()
Den.h359 void __iomem *uar_map; member
468 void __iomem *uar_map; member
496 void __iomem *uar_map; member
Den_tx.c407 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete()
593 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in mlx5e_sq_xmit_mpwqe()
598 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, cseg); in mlx5e_sq_xmit_mpwqe()
Den_main.c993 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_xdpsq()
1064 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_icosq()
1166 sq->uar_map = mdev->mlx5e_res.bfreg.map; in mlx5e_alloc_txqsq()
1397 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, &nop->ctrl); in mlx5e_deactivate_txqsq()
Den_rx.c753 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, sq->doorbell_cseg); in mlx5e_post_rx_mpwqes()
/Linux-v5.10/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()
2918 iounmap(ibdev->uar_map); in mlx4_ib_add()
3022 iounmap(ibdev->uar_map); in mlx4_ib_remove()
Dmlx4_ib.h613 void __iomem *uar_map; member
Dcq.c909 to_mdev(ibcq->device)->uar_map, in mlx4_ib_arm_cq()
Dqp.c3786 to_mdev(ibqp->device)->uar_map + MLX4_SEND_DOORBELL); in _mlx4_ib_post_send()