Lines Matching refs:fidI2c
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()
236 if (fidI2c < 0) { in I2cOpenLayer()
241 i2cSetPolarity(fidI2c, false, true); in I2cOpenLayer()
242 i2cResetPulse(fidI2c); in I2cOpenLayer()