Searched refs:sSpiDevFd (Results 1 – 1 of 1) sorted by relevance
166 static int sSpiDevFd = -1; variable478 ret = ioctl(sSpiDevFd, SPI_IOC_MESSAGE(2), &xfer[0]); in do_spi_xfer()484 ret = ioctl(sSpiDevFd, SPI_IOC_MESSAGE(1), &xfer[1]); in do_spi_xfer()1128 if ((sSpiDevFd >= 0) && (ioctl(sSpiDevFd, SPI_IOC_WR_MODE, &sSpiMode) < 0)) in update_spi_mode()1141 if ((sSpiDevFd >= 0) && (ioctl(sSpiDevFd, SPI_IOC_WR_MAX_SPEED_HZ, &sSpiSpeed) < 0)) in update_spi_speed()1196 sSpiDevFd = fd; in setup_spi_dev()1204 return sSpiDevFd >= 0; in setup_spi_dev()