Searched refs:GRALLOC_USAGE_SW_READ_MASK (Results 1 – 17 of 17) sorted by relevance
55 #define GRALLOC_USAGE_SW_READ_MASK 0x0000000F macro
64 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_lock()99 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK) && in mali_gralloc_lock_ycbcr()281 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK) && in mali_gralloc_lock_flex_async()
305 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_async()333 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_flex_async()
404 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in determine_producer()450 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in determine_consumer()
360 if ((usage & GRALLOC_USAGE_SW_READ_MASK) == GRALLOC_USAGE_SW_READ_OFTEN) in set_ion_flags()
978 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_buffer_allocate()
306 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_async()334 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_flex_async()
317 if ((usage & GRALLOC_USAGE_SW_READ_MASK) == GRALLOC_USAGE_SW_READ_OFTEN) in set_ion_flags()
979 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_buffer_allocate()
441 GRALLOC_USAGE_SW_READ_MASK)) { in gralloc_gbm_bo_lock()471 (GRALLOC_USAGE_SW_WRITE_MASK | GRALLOC_USAGE_SW_READ_MASK); in gralloc_gbm_bo_unlock()
631 bool sw_read = (0 != (usage & GRALLOC_USAGE_SW_READ_MASK)); in gralloc_alloc()781 GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_SW_READ_MASK)) in gralloc_alloc()785 GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_SW_READ_MASK)) in gralloc_alloc()1153 bool sw_read = (0 != (usage & GRALLOC_USAGE_SW_READ_MASK)); in gralloc_lock()1171 bool sw_read_allowed = (0 != (cb->usage & GRALLOC_USAGE_SW_READ_MASK)); in gralloc_lock()
293 const bool usageSwRead = usage & GRALLOC_USAGE_SW_READ_MASK; in lock_impl()520 const bool usageSwRead = usage & GRALLOC_USAGE_SW_READ_MASK; in gralloc_alloc()946 | GRALLOC_USAGE_SW_READ_MASK)); in need_host_cb()
317 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in gralloc_lock()355 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in gralloc_lock_ycbcr()
289 if ((usage & GRALLOC_USAGE_SW_READ_MASK) == GRALLOC_USAGE_SW_READ_OFTEN) in gralloc_alloc_buffer()