Home
last modified time | relevance | path

Searched refs:txBufferLength (Results 1 – 2 of 2) sorted by relevance

/hardware/st/secure_element/ese-spi-driver/
DSpiLayerComm.cc178 int txBufferLength; in SpiLayerComm_writeTpdu() local
184 txBufferLength = TPDU_PROLOGUE_LENGTH + cmdTpdu->len + TPDU_LRC_LENGTH; in SpiLayerComm_writeTpdu()
187 txBufferLength = TPDU_PROLOGUE_LENGTH + cmdTpdu->len + TPDU_CRC_LENGTH; in SpiLayerComm_writeTpdu()
195 if (SpiLayerDriver_write(txBuffer, txBufferLength) != txBufferLength) { in SpiLayerComm_writeTpdu()
200 return txBufferLength; in SpiLayerComm_writeTpdu()
DSpiLayerDriver.cc156 int SpiLayerDriver_write(uint8_t* txBuffer, unsigned int txBufferLength) { in SpiLayerDriver_write() argument
176 DispHal("Tx", txBuffer, txBufferLength); in SpiLayerDriver_write()
179 rc = write(spiDeviceId, txBuffer, txBufferLength); in SpiLayerDriver_write()