Lines Matching refs:cache_ops
192 map->cache_ops = cache_types[i]; in regcache_init()
194 if (!map->cache_ops->read || in regcache_init()
195 !map->cache_ops->write || in regcache_init()
196 !map->cache_ops->name) in regcache_init()
226 if (map->cache_ops->init) { in regcache_init()
228 map->cache_ops->name); in regcache_init()
230 ret = map->cache_ops->init(map); in regcache_init()
250 BUG_ON(!map->cache_ops); in regcache_exit()
256 if (map->cache_ops->exit) { in regcache_exit()
258 map->cache_ops->name); in regcache_exit()
260 map->cache_ops->exit(map); in regcache_exit()
282 BUG_ON(!map->cache_ops); in regcache_read()
285 ret = map->cache_ops->read(map, reg, value); in regcache_read()
311 BUG_ON(!map->cache_ops); in regcache_write()
314 return map->cache_ops->write(map, reg, value); in regcache_write()
401 BUG_ON(!map->cache_ops); in regcache_sync()
407 map->cache_ops->name); in regcache_sync()
408 name = map->cache_ops->name; in regcache_sync()
426 if (map->cache_ops->sync) in regcache_sync()
427 ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
493 BUG_ON(!map->cache_ops); in regcache_sync_region()
500 name = map->cache_ops->name; in regcache_sync_region()
510 if (map->cache_ops->sync) in regcache_sync_region()
511 ret = map->cache_ops->sync(map, min, max); in regcache_sync_region()
546 if (!map->cache_ops || !map->cache_ops->drop) in regcache_drop_region()
553 ret = map->cache_ops->drop(map, min, max); in regcache_drop_region()