Searched refs:low_count (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/ |
| H A D | ion_page_pool.c | 36 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() 94 int count = pool->low_count; in ion_page_pool_total() 132 if (pool->low_count) { in ion_page_pool_shrink() 156 pool->low_count = 0; in ion_page_pool_create()
|
| H A D | ion_page_pool.h | 43 int low_count; member
|
| /OK3568_Linux_fs/kernel/drivers/staging/android/ion/ |
| H A D | ion_protected_heap.c | 68 pool->low_count++; in protected_pool_add() 83 pool->low_count--; in protected_pool_remove() 97 else if (pool->low_count) in protected_pool_alloc() 112 return (pool->low_count + pool->high_count) << pool->order; in protected_pool_total() 128 if (pool->low_count) { in protected_pool_shrink() 153 pool->low_count = 0; in protected_pool_create() 422 pool->low_count, pool->order, in ion_protected_heap_debug_show() 423 (PAGE_SIZE << pool->order) * pool->low_count); in ion_protected_heap_debug_show()
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | mem.c | 444 ssize_t low_count, read, sz; in read_kmem() local 450 low_count = count; in read_kmem() 452 low_count = (unsigned long)high_memory - p; in read_kmem() 456 if (p < PAGE_SIZE && low_count > 0) { in read_kmem() 457 sz = size_inside_page(p, low_count); in read_kmem() 463 low_count -= sz; in read_kmem() 467 while (low_count > 0) { in read_kmem() 468 sz = size_inside_page(p, low_count); in read_kmem() 484 low_count -= sz; in read_kmem()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-mxs.c | 696 uint16_t high_count, low_count, rcv_count, xmit_count; in mxs_i2c_derive_timing() local 740 low_count = DIV_ROUND_CLOSEST(divider * 13, (13 + 6)); in mxs_i2c_derive_timing() 746 low_count = DIV_ROUND_CLOSEST(divider * 47, (47 + 40)); in mxs_i2c_derive_timing() 752 xmit_count = low_count * 3 / 8; in mxs_i2c_derive_timing() 756 speed, clk / divider, divider, low_count, high_count, in mxs_i2c_derive_timing() 759 low_count -= 2; in mxs_i2c_derive_timing() 762 i2c->timing1 = (low_count << 16) | xmit_count; in mxs_i2c_derive_timing()
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | mxs_i2c.c | 66 uint16_t low_count = base - 3; in mxs_i2c_set_bus_speed() local 68 uint16_t xmit_count = low_count / 4; in mxs_i2c_set_bus_speed() 81 writel((low_count << 16) | xmit_count, &i2c_regs->hw_i2c_timing1); in mxs_i2c_set_bus_speed()
|