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);
296 static int i2cSetPolarity(int fid, bool low, bool edge) in i2cSetPolarity() argument
316 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
328 static int i2cResetPulse(int fid) in i2cResetPulse() argument
332 if (-1 == (result = ioctl(fid, ST21NFC_PULSE_RESET, NULL))) { in i2cResetPulse()
346 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) in i2cWrite() argument
352 result = write(fid, pvBuffer, length); in i2cWrite()
382 static int i2cRead(int fid, uint8_t* pvBuffer, int length) in i2cRead() argument
388 result = read(fid, pvBuffer, length); in i2cRead()
432 static int i2cGetGPIOState(int fid) in i2cGetGPIOState() argument
436 if (-1 == (result = ioctl(fid, ST21NFC_GET_WAKEUP, NULL))) { in i2cGetGPIOState()