Lines Matching defs:async

1443 	struct regmap_async *async;
1452 async = list_first_entry_or_null(&map->async_free,
1455 list_del(&async->list);
1456 kfree(async->work_buf);
1457 kfree(async);
1691 if (map->async && map->bus && map->bus->async_write) {
1692 struct regmap_async *async;
1697 async = list_first_entry_or_null(&map->async_free,
1700 if (async)
1701 list_del(&async->list);
1704 if (!async) {
1705 async = map->bus->async_alloc();
1706 if (!async)
1709 async->work_buf = kzalloc(map->format.buf_size,
1711 if (!async->work_buf) {
1712 kfree(async);
1717 async->map = map;
1720 memcpy(async->work_buf, map->work_buf, map->format.pad_bytes +
1724 list_add_tail(&async->list, &map->async_list);
1729 async->work_buf,
1732 val, val_len, async);
1735 async->work_buf,
1738 val_len, NULL, 0, async);
1745 list_move(&async->list, &map->async_free);
1974 map->async = true;
1978 map->async = false;
2216 * @async: Boolean indicating asynchronously
2220 * async, force option.
2227 bool *change, bool async, bool force)
2233 change, async, force);
2268 * @async: Boolean indicating asynchronously
2276 bool *change, bool async, bool force)
2286 change, async, force);
2700 map->async = true;
2704 map->async = false;
3178 * @async: Boolean indicating asynchronously
3181 * Perform a read/modify/write cycle on a register map with change, async, force
3184 * If async is true:
3194 bool *change, bool async, bool force)
3200 map->async = async;
3204 map->async = false;
3235 void regmap_async_complete_cb(struct regmap_async *async, int ret)
3237 struct regmap *map = async->map;
3243 list_move(&async->list, &map->async_free);
3281 /* Nothing to do with no async support */
3344 map->async = true;
3348 map->async = false;