Lines Matching refs:cache_ops
163 map->cache_ops = cache_types[i]; in regcache_init()
165 if (!map->cache_ops->read || in regcache_init()
166 !map->cache_ops->write || in regcache_init()
167 !map->cache_ops->name) in regcache_init()
195 if (map->cache_ops->init) { in regcache_init()
197 map->cache_ops->name); in regcache_init()
198 ret = map->cache_ops->init(map); in regcache_init()
217 BUG_ON(!map->cache_ops); in regcache_exit()
223 if (map->cache_ops->exit) { in regcache_exit()
225 map->cache_ops->name); in regcache_exit()
226 map->cache_ops->exit(map); in regcache_exit()
247 BUG_ON(!map->cache_ops); in regcache_read()
250 ret = map->cache_ops->read(map, reg, value); in regcache_read()
276 BUG_ON(!map->cache_ops); in regcache_write()
279 return map->cache_ops->write(map, reg, value); in regcache_write()
352 BUG_ON(!map->cache_ops); in regcache_sync()
358 map->cache_ops->name); in regcache_sync()
359 name = map->cache_ops->name; in regcache_sync()
379 if (map->cache_ops->sync) in regcache_sync()
380 ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
421 BUG_ON(!map->cache_ops); in regcache_sync_region()
428 name = map->cache_ops->name; in regcache_sync_region()
438 if (map->cache_ops->sync) in regcache_sync_region()
439 ret = map->cache_ops->sync(map, min, max); in regcache_sync_region()
474 if (!map->cache_ops || !map->cache_ops->drop) in regcache_drop_region()
481 ret = map->cache_ops->drop(map, min, max); in regcache_drop_region()