Searched refs:spi_device_t (Results 1 – 2 of 2) sorted by relevance
134 typedef struct spi_device_t spi_device_t; typedef146 spi_device_t* device[DEV_NUM_MAX];157 spi_device_t* device_acquiring_lock;163 struct spi_device_t { struct314 spi_device_t *dev = NULL; in spi_bus_add_device()371 dev = malloc(sizeof(spi_device_t)); in spi_bus_add_device()373 memset(dev, 0, sizeof(spi_device_t)); in spi_bus_add_device()474 static SPI_MASTER_ISR_ATTR void spi_setup_device(spi_device_t *dev) in spi_setup_device()487 static SPI_MASTER_ISR_ATTR spi_device_t *get_acquiring_dev(spi_host_t *host) in get_acquiring_dev()498 static inline SPI_MASTER_ISR_ATTR bool spi_bus_device_is_polling(spi_device_t *dev) in spi_bus_device_is_polling()[all …]
159 typedef struct spi_device_t* spi_device_handle_t; ///< Handle for a device on a SPI bus