Searched refs:upm_refcounts (Results 1 – 3 of 3) sorted by relevance
298 refcount_inc(&hvs->upm_refcounts[vc4_state->upm_handle[i]].refcount); in vc4_plane_duplicate_state()321 struct vc4_upm_refcounts *refcount = &hvs->upm_refcounts[upm_handle]; in vc4_plane_release_upm_ida()356 refcount = &hvs->upm_refcounts[vc4_state->upm_handle[i]]; in vc4_plane_destroy_state()1004 hvs->upm_refcounts[upm_handle].size == upm_size) { in vc6_plane_allocate_upm()1011 refcount_dec_and_test(&hvs->upm_refcounts[upm_handle].refcount)) { in vc6_plane_allocate_upm()1025 refcount = &hvs->upm_refcounts[upm_handle]; in vc6_plane_allocate_upm()1044 refcount = &hvs->upm_refcounts[upm_handle]; in vc6_plane_allocate_upm()1074 if (refcount_dec_and_test(&hvs->upm_refcounts[upm_handle].refcount)) in vc6_plane_free_upm()
344 refcount = &hvs->upm_refcounts[i]; in vc6_hvs_debugfs_upm_allocs()1237 refcount_set(&hvs->upm_refcounts[i].refcount, 0); in __vc4_hvs_alloc()1238 hvs->upm_refcounts[i].hvs = hvs; in __vc4_hvs_alloc()
338 struct vc4_upm_refcounts upm_refcounts[VC4_NUM_UPM_HANDLES + 1]; member