Lines Matching refs:async
1075 struct regmap_async *async; in regmap_exit() local
1084 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1087 list_del(&async->list); in regmap_exit()
1088 kfree(async->work_buf); in regmap_exit()
1089 kfree(async); in regmap_exit()
1280 if (map->async && map->bus->async_write) { in _regmap_raw_write()
1281 struct regmap_async *async; in _regmap_raw_write() local
1286 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write()
1289 if (async) in _regmap_raw_write()
1290 list_del(&async->list); in _regmap_raw_write()
1293 if (!async) { in _regmap_raw_write()
1294 async = map->bus->async_alloc(); in _regmap_raw_write()
1295 if (!async) in _regmap_raw_write()
1298 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write()
1300 if (!async->work_buf) { in _regmap_raw_write()
1301 kfree(async); in _regmap_raw_write()
1306 async->map = map; in _regmap_raw_write()
1309 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write()
1313 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write()
1318 async->work_buf, in _regmap_raw_write()
1321 val, val_len, async); in _regmap_raw_write()
1324 async->work_buf, in _regmap_raw_write()
1327 val_len, NULL, 0, async); in _regmap_raw_write()
1334 list_move(&async->list, &map->async_free); in _regmap_raw_write()
1521 map->async = true; in regmap_write_async()
1525 map->async = false; in regmap_write_async()
2020 map->async = true; in regmap_raw_write_async()
2024 map->async = false; in regmap_raw_write_async()
2399 map->async = true; in regmap_update_bits_async()
2403 map->async = false; in regmap_update_bits_async()
2461 map->async = true; in regmap_update_bits_check_async()
2465 map->async = false; in regmap_update_bits_check_async()
2473 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
2475 struct regmap *map = async->map; in regmap_async_complete_cb()
2481 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
2582 map->async = true; in regmap_register_patch()
2589 map->async = false; in regmap_register_patch()