Lines Matching +full:sync +full:- +full:read
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
53 /* Initialize sync point array */
56 /* Free sync point array */
59 /* Return number of sync point supported. */
69 * Check sync point sanity. If max is larger than min, there have too many
70 * sync point increments.
72 * Client managed sync point are not tracked.
77 if (sp->client_managed) in host1x_syncpt_check_max()
80 return (s32)(max - real) >= 0; in host1x_syncpt_check_max()
83 /* Return true if sync point is client managed. */
86 return sp->client_managed; in host1x_syncpt_client_managed()
97 min = atomic_read(&sp->min_val); in host1x_syncpt_idle()
98 max = atomic_read(&sp->max_val); in host1x_syncpt_idle()
108 /* Save host1x sync point state into shadow registers. */
111 /* Reset host1x sync point state from shadow registers. */
114 /* Read current wait base value into shadow register and return it. */
117 /* Indicate future operations by incrementing the sync point max. */
120 /* Check if sync point id is valid. */
123 return sp->id < host1x_syncpt_nb_pts(sp->host); in host1x_syncpt_is_valid()
128 sp->locked = true; in host1x_syncpt_set_locked()