Lines Matching refs:spi_
835 static void spi_##n##_irq_init(const struct device *dev) \
859 static struct spi_pw_data spi_##n##_data = { \
860 SPI_CONTEXT_INIT_LOCK(spi_##n##_data, ctx), \
861 SPI_CONTEXT_INIT_SYNC(spi_##n##_data, ctx), \
869 static const struct spi_pw_config spi_##n##_config = { \
870 .irq_config = spi_##n##_irq_init, \
875 &spi_##n##_data, &spi_##n##_config, \
881 static struct spi_pw_data spi_##n##_data = { \
882 SPI_CONTEXT_INIT_LOCK(spi_##n##_data, ctx), \
883 SPI_CONTEXT_INIT_SYNC(spi_##n##_data, ctx), \
890 static const struct spi_pw_config spi_##n##_config = { \
895 &spi_##n##_data, &spi_##n##_config, \