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()
164 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
331 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
334 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
336 if (!syncpt) in host1x_syncpt_init()
345 syncpt[i].id = i; in host1x_syncpt_init()
346 syncpt[i].host = host; in host1x_syncpt_init()
353 host->syncpt = syncpt; in host1x_syncpt_init()
362 kref_init(&host->syncpt[26].ref); in host1x_syncpt_init()
363 kref_init(&host->syncpt[27].ref); in host1x_syncpt_init()
426 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_deinit()
499 if (kref_get_unless_zero(&host->syncpt[id].ref)) in host1x_syncpt_get_by_id()
500 return &host->syncpt[id]; in host1x_syncpt_get_by_id()
518 return &host->syncpt[id]; in host1x_syncpt_get_by_id_noref()
578 kref_put(&host->syncpt[syncpt_id].ref, do_nothing); in host1x_syncpt_release_vblank_reservation()