Lines Matching refs:async
1537 struct regmap_async *async; in regmap_exit() local
1546 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1549 list_del(&async->list); in regmap_exit()
1550 kfree(async->work_buf); in regmap_exit()
1551 kfree(async); in regmap_exit()
1774 if (map->async && map->bus && map->bus->async_write) { in _regmap_raw_write_impl()
1775 struct regmap_async *async; in _regmap_raw_write_impl() local
1780 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write_impl()
1783 if (async) in _regmap_raw_write_impl()
1784 list_del(&async->list); in _regmap_raw_write_impl()
1787 if (!async) { in _regmap_raw_write_impl()
1788 async = map->bus->async_alloc(); in _regmap_raw_write_impl()
1789 if (!async) in _regmap_raw_write_impl()
1792 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write_impl()
1794 if (!async->work_buf) { in _regmap_raw_write_impl()
1795 kfree(async); in _regmap_raw_write_impl()
1800 async->map = map; in _regmap_raw_write_impl()
1803 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1807 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write_impl()
1812 async->work_buf, in _regmap_raw_write_impl()
1815 val, val_len, async); in _regmap_raw_write_impl()
1818 async->work_buf, in _regmap_raw_write_impl()
1821 val_len, NULL, 0, async); in _regmap_raw_write_impl()
1828 list_move(&async->list, &map->async_free); in _regmap_raw_write_impl()
2050 map->async = true; in regmap_write_async()
2054 map->async = false; in regmap_write_async()
2318 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument
2324 change, async, force); in regmap_field_update_bits_base()
2367 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument
2377 change, async, force); in regmap_fields_update_bits_base()
2797 map->async = true; in regmap_raw_write_async()
2801 map->async = false; in regmap_raw_write_async()
3287 bool *change, bool async, bool force) in regmap_update_bits_base() argument
3293 map->async = async; in regmap_update_bits_base()
3297 map->async = false; in regmap_update_bits_base()
3328 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
3330 struct regmap *map = async->map; in regmap_async_complete_cb()
3336 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
3437 map->async = true; in regmap_register_patch()
3441 map->async = false; in regmap_register_patch()