Lines Matching refs:aseg
3337 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()
3358 aseg->compare = cpu_to_be64(wr->compare_add); in set_masked_atomic_seg()
3359 aseg->compare_mask = cpu_to_be64(wr->compare_add_mask); in set_masked_atomic_seg()