Lines Matching defs:base
554 bool regcache_set_val(struct regmap *map, void *base, unsigned int idx,
557 if (regcache_get_val(map, base, idx) == val)
562 map->format.format_val(base + (map->cache_word_size * idx),
569 u8 *cache = base;
575 u16 *cache = base;
581 u32 *cache = base;
588 u64 *cache = base;
600 unsigned int regcache_get_val(struct regmap *map, const void *base,
603 if (!base)
608 return map->format.parse_val(regcache_get_val_addr(map, base,
613 const u8 *cache = base;
618 const u16 *cache = base;
623 const u32 *cache = base;
629 const u64 *cache = base;
711 unsigned int base, unsigned int cur)
719 count = (cur - base) / map->reg_stride;
722 count * val_bytes, count, base, cur - map->reg_stride);
726 ret = _regmap_raw_write(map, base, *data, count * val_bytes, false);
729 base, cur - map->reg_stride, ret);
745 unsigned int base = 0;
755 base, regtmp);
764 base, regtmp);
772 base = regtmp;
776 return regcache_sync_block_raw_flush(map, &data, base, regtmp +