Lines Matching full:transfer

98 	struct spi_transfer transfer[2];  in qcaspi_write_burst()  local
101 memset(&transfer, 0, sizeof(transfer)); in qcaspi_write_burst()
105 transfer[0].tx_buf = &cmd; in qcaspi_write_burst()
106 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_write_burst()
107 transfer[1].tx_buf = src; in qcaspi_write_burst()
108 transfer[1].len = len; in qcaspi_write_burst()
110 spi_message_add_tail(&transfer[0], &msg); in qcaspi_write_burst()
111 spi_message_add_tail(&transfer[1], &msg); in qcaspi_write_burst()
126 struct spi_transfer transfer; in qcaspi_write_legacy() local
129 memset(&transfer, 0, sizeof(transfer)); in qcaspi_write_legacy()
132 transfer.tx_buf = src; in qcaspi_write_legacy()
133 transfer.len = len; in qcaspi_write_legacy()
135 spi_message_add_tail(&transfer, &msg); in qcaspi_write_legacy()
151 struct spi_transfer transfer[2]; in qcaspi_read_burst() local
154 memset(&transfer, 0, sizeof(transfer)); in qcaspi_read_burst()
158 transfer[0].tx_buf = &cmd; in qcaspi_read_burst()
159 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_read_burst()
160 transfer[1].rx_buf = dst; in qcaspi_read_burst()
161 transfer[1].len = len; in qcaspi_read_burst()
163 spi_message_add_tail(&transfer[0], &msg); in qcaspi_read_burst()
164 spi_message_add_tail(&transfer[1], &msg); in qcaspi_read_burst()
179 struct spi_transfer transfer; in qcaspi_read_legacy() local
182 memset(&transfer, 0, sizeof(transfer)); in qcaspi_read_legacy()
185 transfer.rx_buf = dst; in qcaspi_read_legacy()
186 transfer.len = len; in qcaspi_read_legacy()
188 spi_message_add_tail(&transfer, &msg); in qcaspi_read_legacy()
204 struct spi_transfer transfer; in qcaspi_tx_cmd() local
207 memset(&transfer, 0, sizeof(transfer)); in qcaspi_tx_cmd()
212 transfer.len = sizeof(cmd); in qcaspi_tx_cmd()
213 transfer.tx_buf = &tx_data; in qcaspi_tx_cmd()
214 spi_message_add_tail(&transfer, &msg); in qcaspi_tx_cmd()