Lines Matching refs:syncpt
165 struct host1x_syncpt *syncpt, in process_wait_list() argument
175 spin_lock(&syncpt->intr.lock); in process_wait_list()
177 remove_completed_waiters(&syncpt->intr.wait_head, threshold, in process_wait_list()
180 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list()
182 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id); in process_wait_list()
184 reset_threshold_interrupt(host, &syncpt->intr.wait_head, in process_wait_list()
185 syncpt->id); in process_wait_list()
187 spin_unlock(&syncpt->intr.lock); in process_wait_list()
203 struct host1x_syncpt *syncpt = in syncpt_thresh_work() local
205 unsigned int id = syncpt->id; in syncpt_thresh_work()
206 struct host1x *host = syncpt->host; in syncpt_thresh_work()
208 (void)process_wait_list(host, syncpt, in syncpt_thresh_work()
209 host1x_syncpt_load(host->syncpt + id)); in syncpt_thresh_work()
216 struct host1x_syncpt *syncpt; in host1x_intr_add_action() local
235 syncpt = host->syncpt + id; in host1x_intr_add_action()
237 spin_lock(&syncpt->intr.lock); in host1x_intr_add_action()
239 queue_was_empty = list_empty(&syncpt->intr.wait_head); in host1x_intr_add_action()
241 if (add_waiter_to_queue(waiter, &syncpt->intr.wait_head)) { in host1x_intr_add_action()
250 spin_unlock(&syncpt->intr.lock); in host1x_intr_add_action()
260 struct host1x_syncpt *syncpt; in host1x_intr_put_ref() local
266 syncpt = host->syncpt + id; in host1x_intr_put_ref()
267 (void)process_wait_list(host, syncpt, in host1x_intr_put_ref()
268 host1x_syncpt_load(host->syncpt + id)); in host1x_intr_put_ref()
285 struct host1x_syncpt *syncpt = host->syncpt + id; in host1x_intr_init() local
287 spin_lock_init(&syncpt->intr.lock); in host1x_intr_init()
288 INIT_LIST_HEAD(&syncpt->intr.wait_head); in host1x_intr_init()
289 snprintf(syncpt->intr.thresh_irq_name, in host1x_intr_init()
290 sizeof(syncpt->intr.thresh_irq_name), in host1x_intr_init()
323 struct host1x_syncpt *syncpt = host->syncpt; in host1x_intr_stop() local
334 &syncpt[id].intr.wait_head, list) { in host1x_intr_stop()
342 if (!list_empty(&syncpt[id].intr.wait_head)) { in host1x_intr_stop()