Lines Matching refs:async

1340 	struct regmap_async *async;  in regmap_exit()  local
1349 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1352 list_del(&async->list); in regmap_exit()
1353 kfree(async->work_buf); in regmap_exit()
1354 kfree(async); in regmap_exit()
1563 if (map->async && map->bus->async_write) { in _regmap_raw_write_impl()
1564 struct regmap_async *async; in _regmap_raw_write_impl() local
1569 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write_impl()
1572 if (async) in _regmap_raw_write_impl()
1573 list_del(&async->list); in _regmap_raw_write_impl()
1576 if (!async) { in _regmap_raw_write_impl()
1577 async = map->bus->async_alloc(); in _regmap_raw_write_impl()
1578 if (!async) in _regmap_raw_write_impl()
1581 async->work_buf = kzalloc(map->format.buf_size, in _regmap_raw_write_impl()
1583 if (!async->work_buf) { in _regmap_raw_write_impl()
1584 kfree(async); in _regmap_raw_write_impl()
1589 async->map = map; in _regmap_raw_write_impl()
1592 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + in _regmap_raw_write_impl()
1596 list_add_tail(&async->list, &map->async_list); in _regmap_raw_write_impl()
1601 async->work_buf, in _regmap_raw_write_impl()
1604 val, val_len, async); in _regmap_raw_write_impl()
1607 async->work_buf, in _regmap_raw_write_impl()
1610 val_len, NULL, 0, async); in _regmap_raw_write_impl()
1617 list_move(&async->list, &map->async_free); in _regmap_raw_write_impl()
1833 map->async = true; in regmap_write_async()
1837 map->async = false; in regmap_write_async()
2001 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument
2007 change, async, force); in regmap_field_update_bits_base()
2028 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument
2038 change, async, force); in regmap_fields_update_bits_base()
2444 map->async = true; in regmap_raw_write_async()
2448 map->async = false; in regmap_raw_write_async()
2914 bool *change, bool async, bool force) in regmap_update_bits_base() argument
2920 map->async = async; in regmap_update_bits_base()
2924 map->async = false; in regmap_update_bits_base()
2932 void regmap_async_complete_cb(struct regmap_async *async, int ret) in regmap_async_complete_cb() argument
2934 struct regmap *map = async->map; in regmap_async_complete_cb()
2940 list_move(&async->list, &map->async_free); in regmap_async_complete_cb()
3041 map->async = true; in regmap_register_patch()
3045 map->async = false; in regmap_register_patch()