Lines Matching refs:syncpt
62 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
138 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
165 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
283 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
286 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
288 if (!syncpt) in host1x_syncpt_init()
297 syncpt[i].id = i; in host1x_syncpt_init()
298 syncpt[i].host = host; in host1x_syncpt_init()
305 host->syncpt = syncpt; in host1x_syncpt_init()
314 kref_init(&host->syncpt[26].ref); in host1x_syncpt_init()
315 kref_init(&host->syncpt[27].ref); in host1x_syncpt_init()
378 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_deinit()
451 if (kref_get_unless_zero(&host->syncpt[id].ref)) in host1x_syncpt_get_by_id()
452 return &host->syncpt[id]; in host1x_syncpt_get_by_id()
470 return &host->syncpt[id]; in host1x_syncpt_get_by_id_noref()
530 kref_put(&host->syncpt[syncpt_id].ref, do_nothing); in host1x_syncpt_release_vblank_reservation()