Lines Matching +full:sync +full:- +full:read
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013, NVIDIA Corporation.
52 /* Initialize sync point array */
55 /* Free sync point array */
58 /* Return number of sync point supported. */
68 * Check sync point sanity. If max is larger than min, there have too many
69 * sync point increments.
71 * Client managed sync point are not tracked.
76 if (sp->client_managed) in host1x_syncpt_check_max()
79 return (s32)(max - real) >= 0; in host1x_syncpt_check_max()
82 /* Return true if sync point is client managed. */
85 return sp->client_managed; in host1x_syncpt_client_managed()
96 min = atomic_read(&sp->min_val); in host1x_syncpt_idle()
97 max = atomic_read(&sp->max_val); in host1x_syncpt_idle()
107 /* Save host1x sync point state into shadow registers. */
110 /* Reset host1x sync point state from shadow registers. */
113 /* Read current wait base value into shadow register and return it. */
116 /* Indicate future operations by incrementing the sync point max. */
119 /* Check if sync point id is valid. */
122 return sp->id < host1x_syncpt_nb_pts(sp->host); in host1x_syncpt_is_valid()
127 sp->locked = true; in host1x_syncpt_set_locked()