Lines Matching refs:syncpt
61 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
137 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
155 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
337 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
340 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
342 if (!syncpt) in host1x_syncpt_init()
351 syncpt[i].id = i; in host1x_syncpt_init()
352 syncpt[i].host = host; in host1x_syncpt_init()
359 host1x_hw_syncpt_assign_to_channel(host, &syncpt[i], NULL); in host1x_syncpt_init()
366 host->syncpt = syncpt; in host1x_syncpt_init()
378 kref_init(&host->syncpt[26].ref); in host1x_syncpt_init()
379 kref_init(&host->syncpt[27].ref); in host1x_syncpt_init()
442 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_deinit()
515 if (kref_get_unless_zero(&host->syncpt[id].ref)) in host1x_syncpt_get_by_id()
516 return &host->syncpt[id]; in host1x_syncpt_get_by_id()
534 return &host->syncpt[id]; in host1x_syncpt_get_by_id_noref()
594 kref_put(&host->syncpt[syncpt_id].ref, do_nothing); in host1x_syncpt_release_vblank_reservation()