Searched refs:io_code (Results 1 – 3 of 3) 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()
376 unsigned int io_code; in i2cSetPolarity() local380 io_code = ST21NFC_SET_POLARITY_FALLING; in i2cSetPolarity()382 io_code = ST21NFC_SET_POLARITY_LOW; in i2cSetPolarity()387 io_code = ST21NFC_SET_POLARITY_RISING; in i2cSetPolarity()389 io_code = ST21NFC_SET_POLARITY_HIGH; in i2cSetPolarity()393 if (-1 == (result = ioctl(fid, io_code, NULL))) { in i2cSetPolarity()
227 uint32_t io_code; in se_gto_Spi_Reset() local231 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()