Lines Matching full:transfer

109 	struct spi_transfer transfer[2];  in qcaspi_write_burst()  local
112 memset(&transfer, 0, sizeof(transfer)); in qcaspi_write_burst()
116 transfer[0].tx_buf = &cmd; in qcaspi_write_burst()
117 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_write_burst()
118 transfer[1].tx_buf = src; in qcaspi_write_burst()
119 transfer[1].len = len; in qcaspi_write_burst()
121 spi_message_add_tail(&transfer[0], &msg); in qcaspi_write_burst()
122 spi_message_add_tail(&transfer[1], &msg); in qcaspi_write_burst()
137 struct spi_transfer transfer; in qcaspi_write_legacy() local
140 memset(&transfer, 0, sizeof(transfer)); in qcaspi_write_legacy()
143 transfer.tx_buf = src; in qcaspi_write_legacy()
144 transfer.len = len; in qcaspi_write_legacy()
146 spi_message_add_tail(&transfer, &msg); in qcaspi_write_legacy()
162 struct spi_transfer transfer[2]; in qcaspi_read_burst() local
165 memset(&transfer, 0, sizeof(transfer)); in qcaspi_read_burst()
169 transfer[0].tx_buf = &cmd; in qcaspi_read_burst()
170 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_read_burst()
171 transfer[1].rx_buf = dst; in qcaspi_read_burst()
172 transfer[1].len = len; in qcaspi_read_burst()
174 spi_message_add_tail(&transfer[0], &msg); in qcaspi_read_burst()
175 spi_message_add_tail(&transfer[1], &msg); in qcaspi_read_burst()
190 struct spi_transfer transfer; in qcaspi_read_legacy() local
193 memset(&transfer, 0, sizeof(transfer)); in qcaspi_read_legacy()
196 transfer.rx_buf = dst; in qcaspi_read_legacy()
197 transfer.len = len; in qcaspi_read_legacy()
199 spi_message_add_tail(&transfer, &msg); in qcaspi_read_legacy()
215 struct spi_transfer transfer; in qcaspi_tx_cmd() local
218 memset(&transfer, 0, sizeof(transfer)); in qcaspi_tx_cmd()
223 transfer.len = sizeof(cmd); in qcaspi_tx_cmd()
224 transfer.tx_buf = &tx_data; in qcaspi_tx_cmd()
225 spi_message_add_tail(&transfer, &msg); in qcaspi_tx_cmd()