Searched refs:wq_offset (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/dma/idxd/ |
D | device.c | 295 int i, wq_offset; in idxd_wq_disable_cleanup() local 308 wq_offset = WQCFG_OFFSET(idxd, wq->id, i); in idxd_wq_disable_cleanup() 309 iowrite32(0, idxd->reg_base + wq_offset); in idxd_wq_disable_cleanup() 311 wq->id, i, wq_offset, in idxd_wq_disable_cleanup() 312 ioread32(idxd->reg_base + wq_offset)); in idxd_wq_disable_cleanup() 536 u32 wq_offset; in idxd_wq_config_write() local 566 wq_offset = WQCFG_OFFSET(idxd, wq->id, i); in idxd_wq_config_write() 567 iowrite32(wq->wqcfg->bits[i], idxd->reg_base + wq_offset); in idxd_wq_config_write() 569 wq->id, i, wq_offset, in idxd_wq_config_write() 570 ioread32(idxd->reg_base + wq_offset)); in idxd_wq_config_write()
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | qp.c | 108 int wq_offset, int wq_wqe_cnt, in mlx5_ib_read_user_wqe_common() argument 112 size_t offset = wq_offset + ((wqe_index % wq_wqe_cnt) << wq_wqe_shift); in mlx5_ib_read_user_wqe_common() 113 size_t wq_end = wq_offset + (wq_wqe_cnt << wq_wqe_shift); in mlx5_ib_read_user_wqe_common()
|