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()
193 if (map->cache_ops->init) { in regcache_init()
195 map->cache_ops->name); in regcache_init()
196 ret = map->cache_ops->init(map); in regcache_init()
215 BUG_ON(!map->cache_ops); in regcache_exit()
221 if (map->cache_ops->exit) { in regcache_exit()
223 map->cache_ops->name); in regcache_exit()
224 map->cache_ops->exit(map); in regcache_exit()
245 BUG_ON(!map->cache_ops); in regcache_read()
248 ret = map->cache_ops->read(map, reg, value); in regcache_read()
274 BUG_ON(!map->cache_ops); in regcache_write()
277 return map->cache_ops->write(map, reg, value); in regcache_write()
350 BUG_ON(!map->cache_ops); in regcache_sync()
356 map->cache_ops->name); in regcache_sync()
357 name = map->cache_ops->name; in regcache_sync()
377 if (map->cache_ops->sync) in regcache_sync()
378 ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
419 BUG_ON(!map->cache_ops); in regcache_sync_region()
426 name = map->cache_ops->name; in regcache_sync_region()
436 if (map->cache_ops->sync) in regcache_sync_region()
437 ret = map->cache_ops->sync(map, min, max); in regcache_sync_region()
472 if (!map->cache_ops || !map->cache_ops->drop) in regcache_drop_region()
479 ret = map->cache_ops->drop(map, min, max); in regcache_drop_region()