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