Home
last modified time | relevance | path

Searched refs:spi_cs (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
Deswifi_bus_spi.c32 struct spi_cs_control spi_cs; member
255 spi->spi_cs.gpio_dev = in eswifi_spi_init()
257 spi->spi_cs.gpio_pin = DT_INST_SPI_DEV_CS_GPIOS_PIN(0); in eswifi_spi_init()
258 spi->spi_cs.gpio_dt_flags = DT_INST_SPI_DEV_CS_GPIOS_FLAGS(0); in eswifi_spi_init()
259 spi->spi_cs.delay = 1000U; in eswifi_spi_init()
260 spi->spi_cfg.cs = &spi->spi_cs; in eswifi_spi_init()
/Zephyr-Core-2.7.6/drivers/lora/
Dsx126x.c447 dev_data.spi_cs.gpio_dev = device_get_binding(GPIO_CS_LABEL); in sx126x_lora_init()
448 if (!dev_data.spi_cs.gpio_dev) { in sx126x_lora_init()
453 dev_data.spi_cs.gpio_pin = GPIO_CS_PIN; in sx126x_lora_init()
454 dev_data.spi_cs.gpio_dt_flags = GPIO_CS_FLAGS; in sx126x_lora_init()
455 dev_data.spi_cs.delay = 0U; in sx126x_lora_init()
457 dev_data.spi_cfg.cs = &dev_data.spi_cs; in sx126x_lora_init()
Dsx127x.c589 static struct spi_cs_control spi_cs; in sx127x_lora_init() local
606 spi_cs.gpio_dev = device_get_binding(DT_INST_SPI_DEV_CS_GPIOS_LABEL(0)); in sx127x_lora_init()
607 if (!spi_cs.gpio_dev) { in sx127x_lora_init()
613 spi_cs.gpio_pin = GPIO_CS_PIN; in sx127x_lora_init()
614 spi_cs.gpio_dt_flags = GPIO_CS_FLAGS; in sx127x_lora_init()
615 spi_cs.delay = 0U; in sx127x_lora_init()
617 dev_data.spi_cfg.cs = &spi_cs; in sx127x_lora_init()
Dsx126x_common.h62 struct spi_cs_control spi_cs; member
/Zephyr-Core-2.7.6/drivers/sensor/icm42605/
Dicm42605.c399 drv_data->spi_cs.gpio_dev = device_get_binding(cfg->gpio_label); in icm42605_init()
401 if (!drv_data->spi_cs.gpio_dev) { in icm42605_init()
406 drv_data->spi_cs.gpio_pin = cfg->gpio_pin; in icm42605_init()
407 drv_data->spi_cs.gpio_dt_flags = cfg->gpio_dt_flags; in icm42605_init()
408 drv_data->spi_cs.delay = 0U; in icm42605_init()
415 drv_data->spi_cfg.cs = &drv_data->spi_cs; in icm42605_init()
Dicm42605.h67 struct spi_cs_control spi_cs; member
/Zephyr-Core-2.7.6/drivers/flash/
Dspi_flash_at45.c61 struct spi_cs_control spi_cs; member
594 dev_data->spi_cs.gpio_dev = in spi_flash_at45_init()
596 if (!dev_data->spi_cs.gpio_dev) { in spi_flash_at45_init()
601 dev_data->spi_cs.gpio_pin = dev_config->cs_pin; in spi_flash_at45_init()
602 dev_data->spi_cs.gpio_dt_flags = dev_config->cs_dt_flags; in spi_flash_at45_init()
603 dev_data->spi_cs.delay = 0; in spi_flash_at45_init()
707 .cs = &inst_##idx##_data.spi_cs, \
/Zephyr-Core-2.7.6/tests/drivers/spi/spi_loopback/src/
Dspi.c26 struct spi_cs_control spi_cs = { variable
31 #define SPI_CS (&spi_cs)
94 spi_cs.gpio_dev = device_get_binding(CS_CTRL_GPIO_DRV_NAME); in cs_ctrl_gpio_config()
95 if (!spi_cs.gpio_dev) { in cs_ctrl_gpio_config()
97 zassert_not_null(spi_cs.gpio_dev, "Invalid gpio device"); in cs_ctrl_gpio_config()
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_rf2xx.h116 struct spi_cs_control spi_cs; member
Dieee802154_rf2xx.c870 ctx->spi_cs.gpio_dev = device_get_binding(conf->spi.cs.devname); in configure_spi()
871 if (ctx->spi_cs.gpio_dev) { in configure_spi()
872 ctx->spi_cs.gpio_pin = conf->spi.cs.pin; in configure_spi()
873 ctx->spi_cs.gpio_dt_flags = conf->spi.cs.flags; in configure_spi()
874 ctx->spi_cs.delay = 0U; in configure_spi()
876 ctx->spi_cfg.cs = &ctx->spi_cs; in configure_spi()
Dieee802154_dw1000.c116 struct spi_cs_control spi_cs; member
1516 ctx->spi_cs.gpio_dev = in dw1000_init()
1518 if (!ctx->spi_cs.gpio_dev) { in dw1000_init()
1523 ctx->spi_cs.gpio_pin = hi_cfg->spi_cs_pin; in dw1000_init()
1524 ctx->spi_cs.gpio_dt_flags = hi_cfg->spi_cs_flags; in dw1000_init()
1525 ctx->spi_cfg_slow.cs = &ctx->spi_cs; in dw1000_init()
1526 ctx->spi_cfg_fast.cs = &ctx->spi_cs; in dw1000_init()