Lines Matching full:transfer
64 struct spi_transfer transfer[2] = {}; in mchp23k256_write() local
76 transfer[0].tx_buf = command; in mchp23k256_write()
77 transfer[0].len = cmd_len; in mchp23k256_write()
78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
80 transfer[1].tx_buf = buf; in mchp23k256_write()
81 transfer[1].len = len; in mchp23k256_write()
82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
103 struct spi_transfer transfer[2] = {}; in mchp23k256_read() local
112 memset(&transfer, 0, sizeof(transfer)); in mchp23k256_read()
116 transfer[0].tx_buf = command; in mchp23k256_read()
117 transfer[0].len = cmd_len; in mchp23k256_read()
118 spi_message_add_tail(&transfer[0], &message); in mchp23k256_read()
120 transfer[1].rx_buf = buf; in mchp23k256_read()
121 transfer[1].len = len; in mchp23k256_read()
122 spi_message_add_tail(&transfer[1], &message); in mchp23k256_read()
145 struct spi_transfer transfer = {}; in mchp23k256_set_mode() local
154 transfer.tx_buf = command; in mchp23k256_set_mode()
155 transfer.len = sizeof(command); in mchp23k256_set_mode()
156 spi_message_add_tail(&transfer, &message); in mchp23k256_set_mode()