Home
last modified time | relevance | path

Searched refs:io_code (Results 1 – 2 of 2) sorted by relevance

/hardware/st/nfc/1.0/adaptation/
Di2clayer.c299 unsigned int io_code; in i2cSetPolarity() local
303 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()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc312 unsigned int io_code; in i2cSetPolarity() local
316 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()