Lines Matching refs:async
27 struct regmap_async_spi *async = data; in regmap_spi_complete() local
29 regmap_async_complete_cb(&async->core, async->m.status); in regmap_spi_complete()
62 struct regmap_async_spi *async = container_of(a, in regmap_spi_async_write() local
68 async->t[0].tx_buf = reg; in regmap_spi_async_write()
69 async->t[0].len = reg_len; in regmap_spi_async_write()
70 async->t[1].tx_buf = val; in regmap_spi_async_write()
71 async->t[1].len = val_len; in regmap_spi_async_write()
73 spi_message_init(&async->m); in regmap_spi_async_write()
74 spi_message_add_tail(&async->t[0], &async->m); in regmap_spi_async_write()
76 spi_message_add_tail(&async->t[1], &async->m); in regmap_spi_async_write()
78 async->m.complete = regmap_spi_complete; in regmap_spi_async_write()
79 async->m.context = async; in regmap_spi_async_write()
81 return spi_async(spi, &async->m); in regmap_spi_async_write()