Home
last modified time | relevance | path

Searched refs:io_code (Results 1 – 3 of 3) 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.cc397 unsigned int io_code; in i2cSetPolarity() local
401 io_code = ST21NFC_SET_POLARITY_FALLING; in i2cSetPolarity()
403 io_code = ST21NFC_SET_POLARITY_LOW; in i2cSetPolarity()
408 io_code = ST21NFC_SET_POLARITY_RISING; in i2cSetPolarity()
410 io_code = ST21NFC_SET_POLARITY_HIGH; in i2cSetPolarity()
414 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
/hardware/st/secure_element2/secure_element/esehal/src/
Dlibse-gto.c227 uint32_t io_code; in se_gto_Spi_Reset() local
231 io_code = ST54SPI_IOC_WR_POWER; in se_gto_Spi_Reset()
233 if (-1 == ioctl (ctx->t1.spi_fd, io_code, &power)) { in se_gto_Spi_Reset()