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()
397 unsigned int io_code; in i2cSetPolarity() local401 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()
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()