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()
358 BUG_ON(!map->cache_ops); in regcache_sync()
364 map->cache_ops->name); in regcache_sync()
365 name = map->cache_ops->name; in regcache_sync()
383 if (map->cache_ops->sync) in regcache_sync()
384 ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
427 BUG_ON(!map->cache_ops); in regcache_sync_region()
434 name = map->cache_ops->name; in regcache_sync_region()
444 if (map->cache_ops->sync) in regcache_sync_region()
445 ret = map->cache_ops->sync(map, min, max); in regcache_sync_region()
480 if (!map->cache_ops || !map->cache_ops->drop) in regcache_drop_region()
487 ret = map->cache_ops->drop(map, min, max); in regcache_drop_region()