Lines Matching refs:message
65 struct spi_message message; in mchp23k256_write() local
69 spi_message_init(&message); in mchp23k256_write()
78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
86 ret = spi_sync(flash->spi, &message); in mchp23k256_write()
93 if (retlen && message.actual_length > cmd_len) in mchp23k256_write()
94 *retlen += message.actual_length - cmd_len; in mchp23k256_write()
104 struct spi_message message; in mchp23k256_read() local
108 spi_message_init(&message); in mchp23k256_read()
118 spi_message_add_tail(&transfer[0], &message); in mchp23k256_read()
122 spi_message_add_tail(&transfer[1], &message); in mchp23k256_read()
126 ret = spi_sync(flash->spi, &message); in mchp23k256_read()
133 if (retlen && message.actual_length > cmd_len) in mchp23k256_read()
134 *retlen += message.actual_length - cmd_len; in mchp23k256_read()
146 struct spi_message message; in mchp23k256_set_mode() local
149 spi_message_init(&message); in mchp23k256_set_mode()
156 spi_message_add_tail(&transfer, &message); in mchp23k256_set_mode()
158 return spi_sync(spi, &message); in mchp23k256_set_mode()