Lines Matching full:transfer
48 struct spi_transfer transfer[2]; in qcaspi_read_register() local
52 memset(transfer, 0, sizeof(transfer)); in qcaspi_read_register()
59 transfer[0].tx_buf = &tx_data; in qcaspi_read_register()
60 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_read_register()
61 transfer[1].rx_buf = &rx_data; in qcaspi_read_register()
62 transfer[1].len = QCASPI_CMD_LEN; in qcaspi_read_register()
64 spi_message_add_tail(&transfer[0], &msg); in qcaspi_read_register()
70 spi_message_add_tail(&transfer[1], &msg); in qcaspi_read_register()
88 struct spi_transfer transfer[2]; in __qcaspi_write_register() local
92 memset(&transfer, 0, sizeof(transfer)); in __qcaspi_write_register()
99 transfer[0].tx_buf = &tx_data[0]; in __qcaspi_write_register()
100 transfer[0].len = QCASPI_CMD_LEN; in __qcaspi_write_register()
101 transfer[1].tx_buf = &tx_data[1]; in __qcaspi_write_register()
102 transfer[1].len = QCASPI_CMD_LEN; in __qcaspi_write_register()
104 spi_message_add_tail(&transfer[0], &msg); in __qcaspi_write_register()
109 spi_message_add_tail(&transfer[1], &msg); in __qcaspi_write_register()