Lines Matching refs:cache_ops
181 map->cache_ops = cache_types[i];
183 if (!map->cache_ops->read ||
184 !map->cache_ops->write ||
185 !map->cache_ops->name)
215 if (map->cache_ops->init) {
217 map->cache_ops->name);
219 ret = map->cache_ops->init(map);
239 BUG_ON(!map->cache_ops);
245 if (map->cache_ops->exit) {
247 map->cache_ops->name);
249 map->cache_ops->exit(map);
271 BUG_ON(!map->cache_ops);
274 ret = map->cache_ops->read(map, reg, value);
300 BUG_ON(!map->cache_ops);
303 return map->cache_ops->write(map, reg, value);
390 BUG_ON(!map->cache_ops);
396 map->cache_ops->name);
397 name = map->cache_ops->name;
415 if (map->cache_ops->sync)
416 ret = map->cache_ops->sync(map, 0, map->max_register);
482 BUG_ON(!map->cache_ops);
489 name = map->cache_ops->name;
499 if (map->cache_ops->sync)
500 ret = map->cache_ops->sync(map, min, max);
535 if (!map->cache_ops || !map->cache_ops->drop)
542 ret = map->cache_ops->drop(map, min, max);