Lines Matching refs:sp
75 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real) in host1x_syncpt_check_max() argument
78 if (sp->client_managed) in host1x_syncpt_check_max()
80 max = host1x_syncpt_read_max(sp); in host1x_syncpt_check_max()
85 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp) in host1x_syncpt_client_managed() argument
87 return sp->client_managed; in host1x_syncpt_client_managed()
94 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp) in host1x_syncpt_idle() argument
98 min = atomic_read(&sp->min_val); in host1x_syncpt_idle()
99 max = atomic_read(&sp->max_val); in host1x_syncpt_idle()
104 u32 host1x_syncpt_load(struct host1x_syncpt *sp);
107 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
116 u32 host1x_syncpt_load_wait_base(struct host1x_syncpt *sp);
119 u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs);
122 static inline int host1x_syncpt_is_valid(struct host1x_syncpt *sp) in host1x_syncpt_is_valid() argument
124 return sp->id < host1x_syncpt_nb_pts(sp->host); in host1x_syncpt_is_valid()
128 int host1x_syncpt_patch_wait(struct host1x_syncpt *sp, void *patch_addr);