Lines Matching refs:cache_ops
129 map->cache_ops = cache_types[i]; in regcache_init()
131 if (!map->cache_ops->read || in regcache_init()
132 !map->cache_ops->write || in regcache_init()
133 !map->cache_ops->name) in regcache_init()
163 if (map->cache_ops->init) { in regcache_init()
165 map->cache_ops->name); in regcache_init()
166 ret = map->cache_ops->init(map); in regcache_init()
185 BUG_ON(!map->cache_ops); in regcache_exit()
191 if (map->cache_ops->exit) { in regcache_exit()
193 map->cache_ops->name); in regcache_exit()
194 map->cache_ops->exit(map); in regcache_exit()
215 BUG_ON(!map->cache_ops); in regcache_read()
218 ret = map->cache_ops->read(map, reg, value); in regcache_read()
244 BUG_ON(!map->cache_ops); in regcache_write()
247 return map->cache_ops->write(map, reg, value); in regcache_write()
306 BUG_ON(!map->cache_ops); in regcache_sync()
312 map->cache_ops->name); in regcache_sync()
313 name = map->cache_ops->name; in regcache_sync()
333 if (map->cache_ops->sync) in regcache_sync()
334 ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
374 BUG_ON(!map->cache_ops); in regcache_sync_region()
381 name = map->cache_ops->name; in regcache_sync_region()
391 if (map->cache_ops->sync) in regcache_sync_region()
392 ret = map->cache_ops->sync(map, min, max); in regcache_sync_region()
426 if (!map->cache_ops || !map->cache_ops->drop) in regcache_drop_region()
433 ret = map->cache_ops->drop(map, min, max); in regcache_drop_region()