Lines Matching refs:cache
2 * Register cache access API - flat caching support
22 unsigned int *cache;
24 map->cache = kzalloc(sizeof(unsigned int) * (map->max_register + 1),
26 if (!map->cache)
29 cache = map->cache;
32 cache[map->reg_defaults[i].reg] = map->reg_defaults[i].def;
39 kfree(map->cache);
40 map->cache = NULL;
48 unsigned int *cache = map->cache;
50 *value = cache[reg];
58 unsigned int *cache = map->cache;
60 cache[reg] = value;