Home
last modified time | relevance | path

Searched refs:cpu_write (Results 1 – 10 of 10) sorted by relevance

/aosp12/hardware/google/gchips/gralloc4/src/core/
H A Dmali_gralloc_bufferaccess.cpp70 hnd->cpu_write = (direction == TX_TO_DEVICE || direction == TX_BOTH) ? 1 : 0; in buffer_sync()
75 hnd->cpu_write ? true : false); in buffer_sync()
82 else if (hnd->cpu_read || hnd->cpu_write) in buffer_sync()
87 hnd->cpu_write ? true : false); in buffer_sync()
94 hnd->cpu_write = 0; in buffer_sync()
/aosp12/hardware/google/gchips/gralloc3/src/
H A Dmali_gralloc_buffer.h242 int cpu_write; /**< Buffer is locked for CPU write when non-zero. */ member
313 , cpu_write(0) in private_handle_t()
363 , cpu_write(0) in private_handle_t()
H A Dmali_gralloc_bufferaccess.cpp89 hnd->cpu_write = (direction == TX_TO_DEVICE || direction == TX_BOTH) ? 1 : 0; in buffer_sync()
93 hnd->cpu_write ? true : false); in buffer_sync()
99 else if (hnd->cpu_read || hnd->cpu_write) in buffer_sync()
103 hnd->cpu_write ? true : false); in buffer_sync()
110 hnd->cpu_write = 0; in buffer_sync()
H A Dmali_gralloc_ion.cpp1232 hnd->cpu_write = 0; in mali_gralloc_ion_unmap()
/aosp12/hardware/google/gchips/gralloc4/src/hidl_common/
H A DMapper.cpp198 if (private_handle->cpu_write != 0 && (cpuUsage & BufferUsage::CPU_WRITE_MASK)) in lockBuffer()
249 if (!private_handle->cpu_write && !private_handle->cpu_read) in unlockBuffer()
585 if (!private_handle->cpu_write && !private_handle->cpu_read) in flushLockedBuffer()
606 if (!private_handle->cpu_write && !private_handle->cpu_read) in rereadLockedBuffer()
/aosp12/hardware/google/gchips/include/
H A Dgralloc1_priv.h291 int cpu_write; /**< Buffer is locked for CPU write when non-zero. */ member
H A Dgralloc3_priv.h291 int cpu_write; /**< Buffer is locked for CPU write when non-zero. */ member
/aosp12/hardware/google/gchips/gralloc4/src/
H A Dmali_gralloc_buffer.h210 …int cpu_write DEFAULT_INITIALIZER(0); /**< Buffer is locked for CPU write when non-ze…
H A Dmali_gralloc_buffer4.h210 …int cpu_write DEFAULT_INITIALIZER(0); /**< Buffer is locked for CPU write when non-ze…
/aosp12/hardware/google/gchips/gralloc4/src/allocator/
H A Dmali_gralloc_ion.cpp818 hnd->cpu_write = 0; in mali_gralloc_ion_unmap()