Home
last modified time | relevance | path

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

/hardware/st/secure_element/ese-spi-driver/
DSpiLayerDriver.cc27 int spiDeviceId; variable
47 spiDeviceId = open(spiDeviceName, O_RDWR | O_NOCTTY); in SpiLayerDriver_open()
48 STLOG_HAL_V(" spiDeviceId: %d", spiDeviceId); in SpiLayerDriver_open()
49 if (spiDeviceId < 0) { in SpiLayerDriver_open()
55 return spiDeviceId; in SpiLayerDriver_open()
70 if (spiDeviceId > 0) { in SpiLayerDriver_close()
71 close(spiDeviceId); in SpiLayerDriver_close()
109 rc = read(spiDeviceId, rxBuffer, bytesToRead); in SpiLayerDriver_read()
179 rc = write(spiDeviceId, txBuffer, txBufferLength); in SpiLayerDriver_write()
223 int rc = ioctl(spiDeviceId, ST54J_SE_PULSE_RESET, NULL); in SpiLayerDriver_reset()