Home
last modified time | relevance | path

Searched refs:low_count (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/android/ion/heaps/
Dion_page_pool.c36 pool->low_count++; in ion_page_pool_add()
53 BUG_ON(!pool->low_count); in ion_page_pool_remove()
55 pool->low_count--; in ion_page_pool_remove()
73 else if (pool->low_count) in ion_page_pool_alloc()
92 int count = pool->low_count; in ion_page_pool_total()
118 if (pool->low_count) { in ion_page_pool_shrink()
141 pool->low_count = 0; in ion_page_pool_create()
Dion_page_pool.h43 int low_count; member
/drivers/char/
Dmem.c440 ssize_t low_count, read, sz; in read_kmem() local
446 low_count = count; in read_kmem()
448 low_count = (unsigned long)high_memory - p; in read_kmem()
452 if (p < PAGE_SIZE && low_count > 0) { in read_kmem()
453 sz = size_inside_page(p, low_count); in read_kmem()
459 low_count -= sz; in read_kmem()
463 while (low_count > 0) { in read_kmem()
464 sz = size_inside_page(p, low_count); in read_kmem()
480 low_count -= sz; in read_kmem()
/drivers/i2c/busses/
Di2c-mxs.c692 uint16_t high_count, low_count, rcv_count, xmit_count; in mxs_i2c_derive_timing() local
736 low_count = DIV_ROUND_CLOSEST(divider * 13, (13 + 6)); in mxs_i2c_derive_timing()
742 low_count = DIV_ROUND_CLOSEST(divider * 47, (47 + 40)); in mxs_i2c_derive_timing()
748 xmit_count = low_count * 3 / 8; in mxs_i2c_derive_timing()
752 speed, clk / divider, divider, low_count, high_count, in mxs_i2c_derive_timing()
755 low_count -= 2; in mxs_i2c_derive_timing()
758 i2c->timing1 = (low_count << 16) | xmit_count; in mxs_i2c_derive_timing()