Lines Matching refs:msg

68 	struct spi_message msg;  in get_status()  local
79 spi_message_init(&msg); in get_status()
80 spi_message_add_tail(&tx, &msg); in get_status()
81 spi_message_add_tail(&rx, &msg); in get_status()
82 ret = spi_sync(spi, &msg); in get_status()
138 struct spi_message msg; in machxo2_cleanup() local
145 spi_message_init(&msg); in machxo2_cleanup()
148 spi_message_add_tail(&tx[0], &msg); in machxo2_cleanup()
149 ret = spi_sync(spi, &msg); in machxo2_cleanup()
157 spi_message_init(&msg); in machxo2_cleanup()
162 spi_message_add_tail(&tx[1], &msg); in machxo2_cleanup()
163 ret = spi_sync(spi, &msg); in machxo2_cleanup()
192 struct spi_message msg; in machxo2_write_init() local
209 spi_message_init(&msg); in machxo2_write_init()
214 spi_message_add_tail(&tx[0], &msg); in machxo2_write_init()
218 spi_message_add_tail(&tx[1], &msg); in machxo2_write_init()
219 ret = spi_sync(spi, &msg); in machxo2_write_init()
234 spi_message_init(&msg); in machxo2_write_init()
237 spi_message_add_tail(&tx[2], &msg); in machxo2_write_init()
238 ret = spi_sync(spi, &msg); in machxo2_write_init()
256 struct spi_message msg; in machxo2_write() local
273 spi_message_init(&msg); in machxo2_write()
278 spi_message_add_tail(&tx, &msg); in machxo2_write()
279 ret = spi_sync(spi, &msg); in machxo2_write()
295 struct spi_message msg; in machxo2_write_complete() local
303 spi_message_init(&msg); in machxo2_write_complete()
306 spi_message_add_tail(&tx[0], &msg); in machxo2_write_complete()
307 ret = spi_sync(spi, &msg); in machxo2_write_complete()
323 spi_message_init(&msg); in machxo2_write_complete()
328 spi_message_add_tail(&tx[1], &msg); in machxo2_write_complete()
329 ret = spi_sync(spi, &msg); in machxo2_write_complete()