Lines Matching refs:async
1515 struct regmap_async *async; in regmap_exit() local
1524 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1527 list_del(&async->list); in regmap_exit()
1528 kfree(async->work_buf); in regmap_exit()
1529 kfree(async); in regmap_exit()
1750 if (map->async && map->bus->async_write) { in _regmap_raw_write_impl()
1751 struct regmap_async *async; in _regmap_raw_write_impl() local
1756 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write_impl()
1759 if (async) in _regmap_raw_write_impl()
1760 list_del(&async->list); in _regmap_raw_write_impl()
1763 if (!async) { in _regmap_raw_write_impl()
1764 async = map->bus->async_alloc(); in _regmap_raw_write_impl()
1765 if (!async) in _regmap_raw_write_impl()
1768 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write_impl()
1770 if (!async->work_buf) { in _regmap_raw_write_impl()
1771 kfree(async); in _regmap_raw_write_impl()
1776 async->map = map; in _regmap_raw_write_impl()
1779 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1783 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write_impl()
1788 async->work_buf, in _regmap_raw_write_impl()
1791 val, val_len, async); in _regmap_raw_write_impl()
1794 async->work_buf, in _regmap_raw_write_impl()
1797 val_len, NULL, 0, async); in _regmap_raw_write_impl()
1804 list_move(&async->list, &map->async_free); in _regmap_raw_write_impl()
2024 map->async = true; in regmap_write_async()
2028 map->async = false; in regmap_write_async()
2192 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument
2198 change, async, force); in regmap_field_update_bits_base()
2219 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument
2229 change, async, force); in regmap_fields_update_bits_base()
2643 map->async = true; in regmap_raw_write_async()
2647 map->async = false; in regmap_raw_write_async()
3113 bool *change, bool async, bool force) in regmap_update_bits_base() argument
3119 map->async = async; in regmap_update_bits_base()
3123 map->async = false; in regmap_update_bits_base()
3154 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
3156 struct regmap *map = async->map; in regmap_async_complete_cb()
3162 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
3263 map->async = true; in regmap_register_patch()
3267 map->async = false; in regmap_register_patch()