Lines Matching refs:max
108 unsigned int max) in regcache_maple_drop() argument
111 MA_STATE(mas, mt, min, max); in regcache_maple_drop()
122 mas_for_each(&mas, entry, max) { in regcache_maple_drop()
144 if (mas.last > max) { in regcache_maple_drop()
145 upper_index = max + 1; in regcache_maple_drop()
148 upper = kmemdup(&entry[max - mas.index + 1], in regcache_maple_drop()
149 ((mas.last - max) * in regcache_maple_drop()
191 unsigned int min, unsigned int max) in regcache_maple_sync_block() argument
206 if (max - min > 1 && regmap_can_raw_write(map)) { in regcache_maple_sync_block()
207 buf = kmalloc(val_bytes * (max - min), map->alloc_flags); in regcache_maple_sync_block()
214 for (r = min; r < max; r++) { in regcache_maple_sync_block()
219 ret = _regmap_raw_write(map, min, buf, (max - min) * val_bytes, in regcache_maple_sync_block()
224 for (r = min; r < max; r++) { in regcache_maple_sync_block()
239 unsigned int max) in regcache_maple_sync() argument
243 MA_STATE(mas, mt, min, max); in regcache_maple_sync()
245 unsigned long lmax = max; in regcache_maple_sync()
254 mas_for_each(&mas, entry, max) { in regcache_maple_sync()
255 for (r = max(mas.index, lmin); r <= min(mas.last, lmax); r++) { in regcache_maple_sync()