Home
last modified time | relevance | path

Searched refs:aseg (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dqp.c3337 static void set_atomic_seg(struct mlx4_wqe_atomic_seg *aseg, in set_atomic_seg() argument
3341 aseg->swap_add = cpu_to_be64(wr->swap); in set_atomic_seg()
3342 aseg->compare = cpu_to_be64(wr->compare_add); in set_atomic_seg()
3344 aseg->swap_add = cpu_to_be64(wr->compare_add); in set_atomic_seg()
3345 aseg->compare = cpu_to_be64(wr->compare_add_mask); in set_atomic_seg()
3347 aseg->swap_add = cpu_to_be64(wr->compare_add); in set_atomic_seg()
3348 aseg->compare = 0; in set_atomic_seg()
3353 static void set_masked_atomic_seg(struct mlx4_wqe_masked_atomic_seg *aseg, in set_masked_atomic_seg() argument
3356 aseg->swap_add = cpu_to_be64(wr->swap); in set_masked_atomic_seg()
3357 aseg->swap_add_mask = cpu_to_be64(wr->swap_mask); in set_masked_atomic_seg()
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_qp.c1594 static __always_inline void set_atomic_seg(struct mthca_atomic_seg *aseg, in set_atomic_seg() argument
1598 aseg->swap_add = cpu_to_be64(wr->swap); in set_atomic_seg()
1599 aseg->compare = cpu_to_be64(wr->compare_add); in set_atomic_seg()
1601 aseg->swap_add = cpu_to_be64(wr->compare_add); in set_atomic_seg()
1602 aseg->compare = 0; in set_atomic_seg()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c173 struct hns_roce_wqe_atomic_seg *aseg = in set_atomic_seg() local
179 aseg->fetchadd_swap_data = cpu_to_le64(atomic_wr(wr)->swap); in set_atomic_seg()
180 aseg->cmp_data = cpu_to_le64(atomic_wr(wr)->compare_add); in set_atomic_seg()
182 aseg->fetchadd_swap_data = in set_atomic_seg()
184 aseg->cmp_data = 0; in set_atomic_seg()