Lines Matching refs:async
1320 struct regmap_async *async; in regmap_exit() local
1329 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1332 list_del(&async->list); in regmap_exit()
1333 kfree(async->work_buf); in regmap_exit()
1334 kfree(async); in regmap_exit()
1544 if (map->async && map->bus->async_write) { in _regmap_raw_write_impl()
1545 struct regmap_async *async; in _regmap_raw_write_impl() local
1550 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write_impl()
1553 if (async) in _regmap_raw_write_impl()
1554 list_del(&async->list); in _regmap_raw_write_impl()
1557 if (!async) { in _regmap_raw_write_impl()
1558 async = map->bus->async_alloc(); in _regmap_raw_write_impl()
1559 if (!async) in _regmap_raw_write_impl()
1562 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write_impl()
1564 if (!async->work_buf) { in _regmap_raw_write_impl()
1565 kfree(async); in _regmap_raw_write_impl()
1570 async->map = map; in _regmap_raw_write_impl()
1573 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1577 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write_impl()
1582 async->work_buf, in _regmap_raw_write_impl()
1585 val, val_len, async); in _regmap_raw_write_impl()
1588 async->work_buf, in _regmap_raw_write_impl()
1591 val_len, NULL, 0, async); in _regmap_raw_write_impl()
1598 list_move(&async->list, &map->async_free); in _regmap_raw_write_impl()
1814 map->async = true; in regmap_write_async()
1818 map->async = false; in regmap_write_async()
1919 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument
1925 change, async, force); in regmap_field_update_bits_base()
1946 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument
1956 change, async, force); in regmap_fields_update_bits_base()
2362 map->async = true; in regmap_raw_write_async()
2366 map->async = false; in regmap_raw_write_async()
2834 bool *change, bool async, bool force) in regmap_update_bits_base() argument
2840 map->async = async; in regmap_update_bits_base()
2844 map->async = false; in regmap_update_bits_base()
2852 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
2854 struct regmap *map = async->map; in regmap_async_complete_cb()
2860 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
2961 map->async = true; in regmap_register_patch()
2965 map->async = false; in regmap_register_patch()