Lines Matching refs:syncpt

152  * Remove & handle all waiters that have completed for the given syncpt
155 struct host1x_syncpt *syncpt,
165 spin_lock(&syncpt->intr.lock);
167 remove_completed_waiters(&syncpt->intr.wait_head, threshold,
170 empty = list_empty(&syncpt->intr.wait_head);
172 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id);
174 reset_threshold_interrupt(host, &syncpt->intr.wait_head,
175 syncpt->id);
177 spin_unlock(&syncpt->intr.lock);
193 struct host1x_syncpt *syncpt =
195 unsigned int id = syncpt->id;
196 struct host1x *host = syncpt->host;
198 (void)process_wait_list(host, syncpt,
199 host1x_syncpt_load(host->syncpt + id));
202 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
225 spin_lock(&syncpt->intr.lock);
227 queue_was_empty = list_empty(&syncpt->intr.wait_head);
229 if (add_waiter_to_queue(waiter, &syncpt->intr.wait_head)) {
231 host1x_hw_intr_set_syncpt_threshold(host, syncpt->id, thresh);
235 host1x_hw_intr_enable_syncpt_intr(host, syncpt->id);
238 spin_unlock(&syncpt->intr.lock);
248 struct host1x_syncpt *syncpt;
254 syncpt = host->syncpt + id;
255 (void)process_wait_list(host, syncpt,
256 host1x_syncpt_load(host->syncpt + id));
270 struct host1x_syncpt *syncpt = host->syncpt + id;
272 spin_lock_init(&syncpt->intr.lock);
273 INIT_LIST_HEAD(&syncpt->intr.wait_head);
274 snprintf(syncpt->intr.thresh_irq_name,
275 sizeof(syncpt->intr.thresh_irq_name),
307 struct host1x_syncpt *syncpt = host->syncpt;
318 &syncpt[id].intr.wait_head, list) {
326 if (!list_empty(&syncpt[id].intr.wait_head)) {
329 pr_warn("%s cannot stop syncpt intr id=%u\n",