Lines Matching refs:async

1459 	struct regmap_async *async;  in regmap_exit()  local
1470 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1473 list_del(&async->list); in regmap_exit()
1474 kfree(async->work_buf); in regmap_exit()
1475 kfree(async); in regmap_exit()
1731 if (map->async && map->bus && map->bus->async_write) { in _regmap_raw_write_impl()
1732 struct regmap_async *async; in _regmap_raw_write_impl() local
1737 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write_impl()
1740 if (async) in _regmap_raw_write_impl()
1741 list_del(&async->list); in _regmap_raw_write_impl()
1744 if (!async) { in _regmap_raw_write_impl()
1745 async = map->bus->async_alloc(); in _regmap_raw_write_impl()
1746 if (!async) in _regmap_raw_write_impl()
1749 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write_impl()
1751 if (!async->work_buf) { in _regmap_raw_write_impl()
1752 kfree(async); in _regmap_raw_write_impl()
1757 async->map = map; in _regmap_raw_write_impl()
1760 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1764 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write_impl()
1769 async->work_buf, in _regmap_raw_write_impl()
1772 val, val_len, async); in _regmap_raw_write_impl()
1775 async->work_buf, in _regmap_raw_write_impl()
1778 val_len, NULL, 0, async); in _regmap_raw_write_impl()
1785 list_move(&async->list, &map->async_free); in _regmap_raw_write_impl()
2014 map->async = true; in regmap_write_async()
2018 map->async = false; in regmap_write_async()
2267 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument
2273 change, async, force); in regmap_field_update_bits_base()
2318 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument
2328 change, async, force); in regmap_fields_update_bits_base()
2742 map->async = true; in regmap_raw_write_async()
2746 map->async = false; in regmap_raw_write_async()
3309 bool *change, bool async, bool force) in regmap_update_bits_base() argument
3315 map->async = async; in regmap_update_bits_base()
3319 map->async = false; in regmap_update_bits_base()
3351 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
3353 struct regmap *map = async->map; in regmap_async_complete_cb()
3359 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
3460 map->async = true; in regmap_register_patch()
3464 map->async = false; in regmap_register_patch()