Searched refs:xfer (Results 1 – 2 of 2) sorted by relevance
148 struct spi_xfer xfer; in _spi_m_sync_io_read() local150 xfer.rxbuf = buf; in _spi_m_sync_io_read()151 xfer.txbuf = 0; in _spi_m_sync_io_read()152 xfer.size = length; in _spi_m_sync_io_read()154 return spi_m_sync_transfer(spi, &xfer); in _spi_m_sync_io_read()176 struct spi_xfer xfer; in _spi_m_sync_io_write() local178 xfer.rxbuf = 0; in _spi_m_sync_io_write()179 xfer.txbuf = (uint8_t *)buf; in _spi_m_sync_io_write()180 xfer.size = length; in _spi_m_sync_io_write()182 return spi_m_sync_transfer(spi, &xfer); in _spi_m_sync_io_write()
193 int32_t spi_m_sync_transfer(struct spi_m_sync_descriptor *spi, const struct spi_xfer *xfer);