Home
last modified time | relevance | path

Searched refs:wq_ctrl (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.c69 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_cyc_create() argument
76 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_cyc_create()
83 &wq_ctrl->buf, param->buf_numa_node); in mlx5_wq_cyc_create()
89 wq->buf = wq_ctrl->buf.direct.buf; in mlx5_wq_cyc_create()
90 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create()
92 wq_ctrl->mdev = mdev; in mlx5_wq_cyc_create()
97 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create()
104 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_cqwq_create() argument
112 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_cqwq_create()
119 &wq_ctrl->buf, param->buf_numa_node); in mlx5_cqwq_create()
[all …]
Dwq.h79 struct mlx5_wq_ctrl *wq_ctrl);
84 struct mlx5_wq_ctrl *wq_ctrl);
89 struct mlx5_wq_ctrl *wq_ctrl);
92 void mlx5_wq_destroy(struct mlx5_wq_ctrl *wq_ctrl);
Den_main.c324 &rq->wq_ctrl); in mlx5e_create_rq()
360 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_create_rq()
368 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_destroy_rq()
383 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_enable_rq()
396 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_enable_rq()
398 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_enable_rq()
400 mlx5_fill_page_array(&rq->wq_ctrl.buf, in mlx5e_enable_rq()
552 &sq->wq_ctrl); in mlx5e_create_sq()
580 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_create_sq()
594 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_destroy_sq()
[all …]
Den.h305 struct mlx5_wq_ctrl wq_ctrl; member
323 struct mlx5_wq_ctrl wq_ctrl; member
388 struct mlx5_wq_ctrl wq_ctrl; member
/drivers/scsi/snic/
Dvnic_dev.c35 struct vnic_wq_ctrl __iomem *wq_ctrl; member
273 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()
297 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()
392 dc2c->wq_ctrl = dc2c->wq.ctrl; in svnic_dev_init_devcmd2()
/drivers/net/ethernet/cisco/enic/
Dvnic_wq.h92 struct vnic_wq_ctrl __iomem *wq_ctrl; member
Dvnic_dev.c308 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2()
334 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _vnic_dev_cmd2()
421 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()