Home
last modified time | relevance | path

Searched refs:sync_ret (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/base/regmap/
H A Dregcache.c423 int sync_ret = 0; in regcache_sync() local
455 sync_ret = _regmap_write(map, map->patch[i].reg, map->patch[i].def); in regcache_sync()
456 if (sync_ret != 0) { in regcache_sync()
458 map->patch[i].reg, map->patch[i].def, sync_ret); in regcache_sync()
465 sync_ret = map->cache_ops->sync(map, 0, map->max_register); in regcache_sync()
467 sync_ret = regcache_default_sync(map, 0, map->max_register); in regcache_sync()
469 if (sync_ret == 0) in regcache_sync()
506 return sync_ret ? sync_ret : selector_ret; in regcache_sync()
/linux/drivers/leds/
H A Dleds-pca963x.c258 int ret = 0, sync_ret; in pca963x_led_mc_set() local
281 sync_ret = pca963x_sync_power_state(led, cached_leds); in pca963x_led_mc_set()
283 return ret ? : sync_ret; in pca963x_led_mc_set()