Searched refs:io_code (Results 1 – 2 of 2) sorted by relevance
299 unsigned int io_code; in i2cSetPolarity() local303 io_code = ST21NFC_SET_POLARITY_FALLING; in i2cSetPolarity()305 io_code = ST21NFC_SET_POLARITY_LOW; in i2cSetPolarity()310 io_code = ST21NFC_SET_POLARITY_RISING; in i2cSetPolarity()312 io_code = ST21NFC_SET_POLARITY_HIGH; in i2cSetPolarity()316 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
312 unsigned int io_code; in i2cSetPolarity() local316 io_code = ST21NFC_SET_POLARITY_FALLING; in i2cSetPolarity()318 io_code = ST21NFC_SET_POLARITY_LOW; in i2cSetPolarity()323 io_code = ST21NFC_SET_POLARITY_RISING; in i2cSetPolarity()325 io_code = ST21NFC_SET_POLARITY_HIGH; in i2cSetPolarity()329 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()