Home | History | Annotate | Download | only in stm32_flash

Lines Matching refs:spi_handle

26     spi_handle_t *spi_handle = (spi_handle_t *)handle;
37 if (ioctl(spi_handle->fd, SPI_IOC_MESSAGE(1), &xfer) >= 0)
45 spi_handle_t *spi_handle = (spi_handle_t *)handle;
60 if (ioctl(spi_handle->fd, SPI_IOC_MESSAGE(1), &xfer) >= 0)
68 spi_handle_t *spi_handle = (spi_handle_t *)handle;
88 if (ioctl(spi_handle->fd, SPI_IOC_MESSAGE(2), xfer) >= 0)
96 spi_handle_t *spi_handle = (spi_handle_t *)handle;
111 if (ioctl(spi_handle->fd, SPI_IOC_MESSAGE(1), &xfer) >= 0) {
113 ioctl(spi_handle->fd, SPI_IOC_MESSAGE(1), &xfer);
121 ioctl(spi_handle->fd, SPI_IOC_MESSAGE(1), &xfer);
131 spi_handle_t *spi_handle = (spi_handle_t *)handle;
144 if (ioctl(spi_handle->fd, SPI_IOC_MESSAGE(1), &xfer) >= 0)
152 spi_handle_t *spi_handle = (spi_handle_t *)handle;
166 if (ioctl(spi_handle->fd, SPI_IOC_WR_MODE, &tmp8) < 0) {
172 if (ioctl(spi_handle->fd, SPI_IOC_WR_MAX_SPEED_HZ, &tmp32) < 0) {
178 if (ioctl(spi_handle->fd, SPI_IOC_WR_BITS_PER_WORD, &tmp8) < 0) {