Lines Matching refs:async
1477 struct regmap_async *async; in regmap_exit() local
1486 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1489 list_del(&async->list); in regmap_exit()
1490 kfree(async->work_buf); in regmap_exit()
1491 kfree(async); in regmap_exit()
1710 if (map->async && map->bus->async_write) { in _regmap_raw_write_impl()
1711 struct regmap_async *async; in _regmap_raw_write_impl() local
1716 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write_impl()
1719 if (async) in _regmap_raw_write_impl()
1720 list_del(&async->list); in _regmap_raw_write_impl()
1723 if (!async) { in _regmap_raw_write_impl()
1724 async = map->bus->async_alloc(); in _regmap_raw_write_impl()
1725 if (!async) in _regmap_raw_write_impl()
1728 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write_impl()
1730 if (!async->work_buf) { in _regmap_raw_write_impl()
1731 kfree(async); in _regmap_raw_write_impl()
1736 async->map = map; in _regmap_raw_write_impl()
1739 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1743 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write_impl()
1748 async->work_buf, in _regmap_raw_write_impl()
1751 val, val_len, async); in _regmap_raw_write_impl()
1754 async->work_buf, in _regmap_raw_write_impl()
1757 val_len, NULL, 0, async); in _regmap_raw_write_impl()
1764 list_move(&async->list, &map->async_free); in _regmap_raw_write_impl()
1981 map->async = true; in regmap_write_async()
1985 map->async = false; in regmap_write_async()
2149 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument
2155 change, async, force); in regmap_field_update_bits_base()
2176 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument
2186 change, async, force); in regmap_fields_update_bits_base()
2600 map->async = true; in regmap_raw_write_async()
2604 map->async = false; in regmap_raw_write_async()
3070 bool *change, bool async, bool force) in regmap_update_bits_base() argument
3076 map->async = async; in regmap_update_bits_base()
3080 map->async = false; in regmap_update_bits_base()
3111 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
3113 struct regmap *map = async->map; in regmap_async_complete_cb()
3119 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
3220 map->async = true; in regmap_register_patch()
3224 map->async = false; in regmap_register_patch()