Searched refs:low_count (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/char/ |
D | mem.c | 440 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()
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-mxs.c | 692 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()
|