Searched refs:devfd (Results 1 – 4 of 4) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 138 dev->devfd = open(path, O_RDWR); in mraa_spi_init_raw() 139 if (dev->devfd < 0) { in mraa_spi_init_raw() 146 if ((ioctl(dev->devfd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) != -1) && (speed < 4000000)) { in mraa_spi_init_raw() 192 if (ioctl(dev->devfd, SPI_IOC_WR_MODE, &spi_mode) < 0) { in mraa_spi_mode() 206 if (ioctl(dev->devfd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) != -1) { in mraa_spi_frequency() 223 if (ioctl(dev->devfd, SPI_IOC_WR_LSB_FIRST, &lsb_mode) < 0) { in mraa_spi_lsbmode() 227 if (ioctl(dev->devfd, SPI_IOC_RD_LSB_FIRST, &lsb_mode) < 0) { in mraa_spi_lsbmode() 238 if (ioctl(dev->devfd, SPI_IOC_WR_BITS_PER_WORD, &bits) < 0) { in mraa_spi_bit_per_word() 261 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_write() 283 if (ioctl(dev->devfd, SPI_IOC_MESSAGE(1), &msg) < 0) { in mraa_spi_write_word() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 85 int devfd; /**< File descriptor to SPI Device */ member
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_galileo_rev_d.c | 127 if (ioctl(dev->devfd, SPI_IOC_WR_LSB_FIRST, &lsb_mode) < 0) { in mraa_intel_galileo_g1_spi_lsbmode_replace() 131 if (ioctl(dev->devfd, SPI_IOC_RD_LSB_FIRST, &lsb_mode) < 0) { in mraa_intel_galileo_g1_spi_lsbmode_replace()
|
D | intel_edison_fab_c.c | 85 if (ioctl(dev->devfd, SPI_IOC_WR_LSB_FIRST, &lsb_mode) < 0) { in mraa_intel_edison_spi_lsbmode_replace() 89 if (ioctl(dev->devfd, SPI_IOC_RD_LSB_FIRST, &lsb_mode) < 0) { in mraa_intel_edison_spi_lsbmode_replace()
|