Lines Matching refs:cache_ops
161 map->cache_ops = cache_types[i];
163 if (!map->cache_ops->read ||
164 !map->cache_ops->write ||
165 !map->cache_ops->name)
193 if (map->cache_ops->init) {
195 map->cache_ops->name);
196 ret = map->cache_ops->init(map);
215 BUG_ON(!map->cache_ops);
221 if (map->cache_ops->exit) {
223 map->cache_ops->name);
224 map->cache_ops->exit(map);
245 BUG_ON(!map->cache_ops);
248 ret = map->cache_ops->read(map, reg, value);
274 BUG_ON(!map->cache_ops);
277 return map->cache_ops->write(map, reg, value);
364 BUG_ON(!map->cache_ops);
370 map->cache_ops->name);
371 name = map->cache_ops->name;
389 if (map->cache_ops->sync)
390 ret = map->cache_ops->sync(map, 0, map->max_register);
456 BUG_ON(!map->cache_ops);
463 name = map->cache_ops->name;
473 if (map->cache_ops->sync)
474 ret = map->cache_ops->sync(map, min, max);
509 if (!map->cache_ops || !map->cache_ops->drop)
516 ret = map->cache_ops->drop(map, min, max);