Lines Matching refs:sp
75 static inline bool host1x_syncpt_check_max(struct host1x_syncpt *sp, u32 real)
78 if (sp->client_managed)
80 max = host1x_syncpt_read_max(sp);
85 static inline bool host1x_syncpt_client_managed(struct host1x_syncpt *sp)
87 return sp->client_managed;
94 static inline bool host1x_syncpt_idle(struct host1x_syncpt *sp)
98 min = atomic_read(&sp->min_val);
99 max = atomic_read(&sp->max_val);
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)
124 return sp->id < host1x_syncpt_nb_pts(sp->host);
128 int host1x_syncpt_patch_wait(struct host1x_syncpt *sp, void *patch_addr);