Home
last modified time | relevance | path

Searched refs:IPU3_CSS_POOL_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-css-pool.c29 for (i = 0; i < IPU3_CSS_POOL_SIZE; i++) in imgu_css_pool_cleanup()
38 for (i = 0; i < IPU3_CSS_POOL_SIZE; i++) { in imgu_css_pool_init()
49 pool->last = IPU3_CSS_POOL_SIZE; in imgu_css_pool_init()
64 u32 n = (pool->last + 1) % IPU3_CSS_POOL_SIZE; in imgu_css_pool_get()
76 pool->last = (pool->last + IPU3_CSS_POOL_SIZE - 1) % IPU3_CSS_POOL_SIZE; in imgu_css_pool_put()
92 int i = (pool->last + IPU3_CSS_POOL_SIZE - n) % IPU3_CSS_POOL_SIZE; in imgu_css_pool_last()
94 WARN_ON(n >= IPU3_CSS_POOL_SIZE); in imgu_css_pool_last()
H A Dipu3-css-pool.h10 #define IPU3_CSS_POOL_SIZE 4 macro
39 } entry[IPU3_CSS_POOL_SIZE];