Lines Matching refs:fid
62 static int i2cSetPolarity(int fid, bool low, bool edge);
63 static int i2cResetPulse(int fid);
64 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
65 static int i2cGetGPIOState(int fid);
310 static int i2cSetPolarity(int fid, bool low, bool edge) { in i2cSetPolarity() argument
329 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
341 static int i2cResetPulse(int fid) { in i2cResetPulse() argument
344 if (-1 == (result = ioctl(fid, ST21NFC_PULSE_RESET, NULL))) { in i2cResetPulse()
358 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) { in i2cWrite() argument
365 result = write(fid, pvBuffer, length); in i2cWrite()
402 static int i2cRead(int fid, uint8_t* pvBuffer, int length) { in i2cRead() argument
407 result = read(fid, pvBuffer, length); in i2cRead()
453 static int i2cGetGPIOState(int fid) { in i2cGetGPIOState() argument
456 if (-1 == (result = ioctl(fid, ST21NFC_GET_WAKEUP, NULL))) { in i2cGetGPIOState()