Home
last modified time | relevance | path

Searched refs:spi_ (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_sedi.c394 static void spi_##num##_irq_init(void) \
401 static struct spi_sedi_data spi_##num##_data = { \
402 SPI_CONTEXT_INIT_LOCK(spi_##num##_data, ctx), \
403 SPI_CONTEXT_INIT_SYNC(spi_##num##_data, ctx), \
405 const static struct spi_sedi_config spi_##num##_config = { \
407 .spi_device = num, .irq_config = spi_##num##_irq_init, \
409 PM_DEVICE_DEFINE(spi_##num, spi_sedi_device_ctrl); \
412 PM_DEVICE_GET(spi_##num), \
413 &spi_##num##_data, \
414 &spi_##num##_config, \
Dspi_nrfx_spis.c368 static struct spi_nrfx_data spi_##idx##_data = { \
369 SPI_CONTEXT_INIT_LOCK(spi_##idx##_data, ctx), \
370 SPI_CONTEXT_INIT_SYNC(spi_##idx##_data, ctx), \
373 spi_##idx##_data.wake_sem, 0, 1), \
376 static const struct spi_nrfx_config spi_##idx##z_config = { \
400 &spi_##idx##_data, \
401 &spi_##idx##z_config, \
Dspi_pw.c835 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), \
[all …]
Dspi_nrfx_spi.c430 static struct spi_nrfx_data spi_##idx##_data = { \
431 SPI_CONTEXT_INIT_LOCK(spi_##idx##_data, ctx), \
432 SPI_CONTEXT_INIT_SYNC(spi_##idx##_data, ctx), \
438 static const struct spi_nrfx_config spi_##idx##z_config = { \
462 &spi_##idx##_data, \
463 &spi_##idx##z_config, \
Dspi_nrfx_spim.c797 static struct spi_nrfx_data spi_##idx##_data = { \
798 SPI_CONTEXT_INIT_LOCK(spi_##idx##_data, ctx), \
799 SPI_CONTEXT_INIT_SYNC(spi_##idx##_data, ctx), \
808 static const struct spi_nrfx_config spi_##idx##z_config = { \
848 &spi_##idx##_data, \
849 &spi_##idx##z_config, \