Lines Matching refs:rx
180 struct spi_transfer tx, rx; in __nci_spi_read() local
195 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
196 rx.rx_buf = resp_hdr; in __nci_spi_read()
197 rx.len = 2; in __nci_spi_read()
198 rx.cs_change = 1; in __nci_spi_read()
199 rx.speed_hz = nspi->xfer_speed_hz; in __nci_spi_read()
200 spi_message_add_tail(&rx, &m); in __nci_spi_read()
218 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
219 rx.rx_buf = skb_put(skb, rx_len); in __nci_spi_read()
220 rx.len = rx_len; in __nci_spi_read()
221 rx.cs_change = 0; in __nci_spi_read()
222 rx.delay.value = nspi->xfer_udelay; in __nci_spi_read()
223 rx.delay.unit = SPI_DELAY_UNIT_USECS; in __nci_spi_read()
224 rx.speed_hz = nspi->xfer_speed_hz; in __nci_spi_read()
225 spi_message_add_tail(&rx, &m); in __nci_spi_read()