Lines Matching refs:async

1079 	struct regmap_async *async;  in regmap_exit()  local
1088 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1091 list_del(&async->list); in regmap_exit()
1092 kfree(async->work_buf); in regmap_exit()
1093 kfree(async); in regmap_exit()
1284 if (map->async && map->bus->async_write) { in _regmap_raw_write()
1285 struct regmap_async *async; in _regmap_raw_write() local
1290 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write()
1293 if (async) in _regmap_raw_write()
1294 list_del(&async->list); in _regmap_raw_write()
1297 if (!async) { in _regmap_raw_write()
1298 async = map->bus->async_alloc(); in _regmap_raw_write()
1299 if (!async) in _regmap_raw_write()
1302 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write()
1304 if (!async->work_buf) { in _regmap_raw_write()
1305 kfree(async); in _regmap_raw_write()
1310 async->map = map; in _regmap_raw_write()
1313 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write()
1317 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write()
1322 async->work_buf, in _regmap_raw_write()
1325 val, val_len, async); in _regmap_raw_write()
1328 async->work_buf, in _regmap_raw_write()
1331 val_len, NULL, 0, async); in _regmap_raw_write()
1338 list_move(&async->list, &map->async_free); in _regmap_raw_write()
1548 map->async = true; in regmap_write_async()
1552 map->async = false; in regmap_write_async()
2141 map->async = true; in regmap_raw_write_async()
2145 map->async = false; in regmap_raw_write_async()
2616 map->async = true; in regmap_update_bits_async()
2620 map->async = false; in regmap_update_bits_async()
2678 map->async = true; in regmap_update_bits_check_async()
2682 map->async = false; in regmap_update_bits_check_async()
2690 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
2692 struct regmap *map = async->map; in regmap_async_complete_cb()
2698 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
2799 map->async = true; in regmap_register_patch()
2803 map->async = false; in regmap_register_patch()