Searched refs:spiDeviceId (Results 1 – 1 of 1) sorted by relevance
27 int spiDeviceId; variable63 spiDeviceId = open(spiDeviceName, O_RDWR | O_NOCTTY); in SpiLayerDriver_open()64 STLOG_HAL_V(" spiDeviceId: %d", spiDeviceId); in SpiLayerDriver_open()65 if (spiDeviceId < 0) { in SpiLayerDriver_open()71 return spiDeviceId; in SpiLayerDriver_open()86 if (spiDeviceId > 0) { in SpiLayerDriver_close()87 close(spiDeviceId); in SpiLayerDriver_close()126 rc = read(spiDeviceId, rxBuffer, bytesToRead); in SpiLayerDriver_read()196 rc = write(spiDeviceId, txBuffer, txBufferLength); in SpiLayerDriver_write()240 int rc = ioctl(spiDeviceId, ST54J_SE_PULSE_RESET, NULL); in SpiLayerDriver_reset()