Lines Matching refs:cache_ops
157 map->cache_ops = cache_types[i];
159 if (!map->cache_ops->read ||
160 !map->cache_ops->write ||
161 !map->cache_ops->name)
189 if (map->cache_ops->init) {
191 map->cache_ops->name);
192 ret = map->cache_ops->init(map);
211 BUG_ON(!map->cache_ops);
217 if (map->cache_ops->exit) {
219 map->cache_ops->name);
220 map->cache_ops->exit(map);
241 BUG_ON(!map->cache_ops);
244 ret = map->cache_ops->read(map, reg, value);
270 BUG_ON(!map->cache_ops);
273 return map->cache_ops->write(map, reg, value);
349 BUG_ON(!map->cache_ops);
355 map->cache_ops->name);
356 name = map->cache_ops->name;
376 if (map->cache_ops->sync)
377 ret = map->cache_ops->sync(map, 0, map->max_register);
421 BUG_ON(!map->cache_ops);
428 name = map->cache_ops->name;
438 if (map->cache_ops->sync)
439 ret = map->cache_ops->sync(map, min, max);
474 if (!map->cache_ops || !map->cache_ops->drop)
481 ret = map->cache_ops->drop(map, min, max);