Searched refs:fidI2c (Results 1 – 2 of 2) sorted by relevance
/hardware/st/nfc/st21nfc/adaptation/ |
D | i2clayer.cc | 49 static int fidI2c = 0; variable 86 event_table[0].fd = fidI2c; in I2cWorkerThread() 110 int bytesRead = i2cRead(fidI2c, buffer, 3); in I2cWorkerThread() 122 bytesRead = i2cRead(fidI2c, buffer + 2, 1); in I2cWorkerThread() 130 bytesRead = i2cRead(fidI2c, buffer + 1, 2); in I2cWorkerThread() 144 bytesRead = i2cRead(fidI2c, buffer + 3, remaining); in I2cWorkerThread() 163 } while (i2cGetGPIOState(fidI2c) == 1); in I2cWorkerThread() 185 i2cWrite(fidI2c, buffer, length); in I2cWorkerThread() 203 close(fidI2c); in I2cWorkerThread() 233 fidI2c = open("/dev/st21nfc", O_RDWR); in I2cOpenLayer() [all …]
|
/hardware/st/nfc/1.0/adaptation/ |
D | i2clayer.c | 49 static int fidI2c = 0; variable 87 event_table[0].fd = fidI2c; in I2cWorkerThread() 111 int bytesRead = i2cRead(fidI2c, buffer, 3); in I2cWorkerThread() 122 bytesRead = i2cRead(fidI2c, buffer + 2, 1); in I2cWorkerThread() 130 bytesRead = i2cRead(fidI2c, buffer + 1, 2); in I2cWorkerThread() 143 bytesRead = i2cRead(fidI2c, buffer + 3, remaining); in I2cWorkerThread() 161 } while (i2cGetGPIOState(fidI2c) == 1); in I2cWorkerThread() 184 i2cWrite(fidI2c, buffer, length); in I2cWorkerThread() 203 close(fidI2c); in I2cWorkerThread() 235 fidI2c = open("/dev/st21nfc", O_RDWR); in I2cOpenLayer() [all …]
|