Searched refs:aseg (Results 1 – 3 of 3) sorted by relevance
3337 static void set_atomic_seg(struct mlx4_wqe_atomic_seg *aseg, in set_atomic_seg() argument3341 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() argument3356 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 …]
1594 static __always_inline void set_atomic_seg(struct mthca_atomic_seg *aseg, in set_atomic_seg() argument1598 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()
173 struct hns_roce_wqe_atomic_seg *aseg = in set_atomic_seg() local179 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()