Lines Matching full:transfer
33 struct spi_transfer transfer[2]; in qcaspi_read_register() local
37 memset(transfer, 0, sizeof(transfer)); in qcaspi_read_register()
44 transfer[0].tx_buf = &tx_data; in qcaspi_read_register()
45 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_read_register()
46 transfer[1].rx_buf = &rx_data; in qcaspi_read_register()
47 transfer[1].len = QCASPI_CMD_LEN; in qcaspi_read_register()
49 spi_message_add_tail(&transfer[0], &msg); in qcaspi_read_register()
55 spi_message_add_tail(&transfer[1], &msg); in qcaspi_read_register()
73 struct spi_transfer transfer[2]; in __qcaspi_write_register() local
77 memset(&transfer, 0, sizeof(transfer)); in __qcaspi_write_register()
84 transfer[0].tx_buf = &tx_data[0]; in __qcaspi_write_register()
85 transfer[0].len = QCASPI_CMD_LEN; in __qcaspi_write_register()
86 transfer[1].tx_buf = &tx_data[1]; in __qcaspi_write_register()
87 transfer[1].len = QCASPI_CMD_LEN; in __qcaspi_write_register()
89 spi_message_add_tail(&transfer[0], &msg); in __qcaspi_write_register()
94 spi_message_add_tail(&transfer[1], &msg); in __qcaspi_write_register()