Searched refs:ref_cnt (Results 1 – 8 of 8) sorted by relevance
54 uint32_t ref_cnt; member72 assert(layout && layout->ref_cnt >= 1); in vk_descriptor_set_layout_ref()73 p_atomic_inc(&layout->ref_cnt); in vk_descriptor_set_layout_ref()81 assert(layout && layout->ref_cnt >= 1); in vk_descriptor_set_layout_unref()82 if (p_atomic_dec_zero(&layout->ref_cnt)) in vk_descriptor_set_layout_unref()
55 uint32_t ref_cnt; member94 assert(layout && layout->ref_cnt >= 1); in vk_pipeline_layout_ref()95 p_atomic_inc(&layout->ref_cnt); in vk_pipeline_layout_ref()103 assert(layout && layout->ref_cnt >= 1); in vk_pipeline_layout_unref()104 if (p_atomic_dec_zero(&layout->ref_cnt)) in vk_pipeline_layout_unref()
111 uint32_t ref_cnt; member126 p_atomic_set(&object->ref_cnt, 1); in vk_pipeline_cache_object_init()135 assert(p_atomic_read(&object->ref_cnt) <= 1); in vk_pipeline_cache_object_finish()141 assert(object && p_atomic_read(&object->ref_cnt) >= 1); in vk_pipeline_cache_object_ref()142 p_atomic_inc(&object->ref_cnt); in vk_pipeline_cache_object_ref()
44 layout->ref_cnt = 1; in vk_pipeline_layout_init()116 assert(layout && layout->ref_cnt == 0); in vk_pipeline_layout_destroy()
37 layout->ref_cnt = 1; in vk_descriptor_set_layout_init()
181 assert(object && p_atomic_read(&object->ref_cnt) >= 1); in vk_pipeline_cache_object_unref()185 if (p_atomic_dec_zero(&object->ref_cnt)) in vk_pipeline_cache_object_unref()189 bool destroy = p_atomic_dec_zero(&object->ref_cnt); in vk_pipeline_cache_object_unref()274 assert(object->ref_cnt == 1); in vk_pipeline_cache_object_deserialize()305 assert(object->ref_cnt == 1); in vk_pipeline_cache_insert_object()
70 int ref_cnt[Audio_Mode_Max]; member327 if ((new_audio_mode == Audio_Mode_None) || (data->ref_cnt[new_audio_mode] <= 0)) { in audio_extn_tfa_98xx_disable_speaker()332 data->ref_cnt[new_audio_mode]--; in audio_extn_tfa_98xx_disable_speaker()335 if (data->ref_cnt[i] > 0) { in audio_extn_tfa_98xx_disable_speaker()364 if ((new_audio_mode != Audio_Mode_None) && (data->ref_cnt[new_audio_mode] >= 1)) { in audio_extn_tfa_98xx_enable_speaker()366 data->ref_cnt[new_audio_mode]++; in audio_extn_tfa_98xx_enable_speaker()384 data->ref_cnt[i] = data->route_cnt[i]; in audio_extn_tfa_98xx_enable_speaker()448 data->ref_cnt[new_audio_mode]++; in audio_extn_tfa_98xx_update()
2893 uint8_t ref_cnt = 1; in getStreamRefCount() local2896 return ref_cnt; in getStreamRefCount()2907 ref_cnt++; in getStreamRefCount()2918 return ref_cnt; in getStreamRefCount()