Lines Matching refs:cache_ops
161 map->cache_ops = cache_types[i]; in regcache_init()
163 if (!map->cache_ops->read || in regcache_init()
164 !map->cache_ops->write || in regcache_init()
165 !map->cache_ops->name) in regcache_init()
195 if (map->cache_ops->init) { in regcache_init()
197 map->cache_ops->name); in regcache_init()
199 ret = map->cache_ops->init(map); in regcache_init()
219 BUG_ON(!map->cache_ops); in regcache_exit()
225 if (map->cache_ops->exit) { in regcache_exit()
227 map->cache_ops->name); in regcache_exit()
229 map->cache_ops->exit(map); in regcache_exit()
251 BUG_ON(!map->cache_ops); in regcache_read()
254 ret = map->cache_ops->read(map, reg, value); in regcache_read()
280 BUG_ON(!map->cache_ops); in regcache_write()
283 return map->cache_ops->write(map, reg, value); in regcache_write()
370 BUG_ON(!map->cache_ops); in regcache_sync()
376 map->cache_ops->name); in regcache_sync()
377 name = map->cache_ops->name; in regcache_sync()
395 if (map->cache_ops->sync) in regcache_sync()
396 ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
462 BUG_ON(!map->cache_ops); in regcache_sync_region()
469 name = map->cache_ops->name; in regcache_sync_region()
479 if (map->cache_ops->sync) in regcache_sync_region()
480 ret = map->cache_ops->sync(map, min, max); in regcache_sync_region()
515 if (!map->cache_ops || !map->cache_ops->drop) in regcache_drop_region()
522 ret = map->cache_ops->drop(map, min, max); in regcache_drop_region()