Searched refs:spi_cs (Results 1 – 11 of 11) sorted by relevance
32 struct spi_cs_control spi_cs; member255 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()
447 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()
589 static struct spi_cs_control spi_cs; in sx127x_lora_init() local606 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()
62 struct spi_cs_control spi_cs; member
399 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()
67 struct spi_cs_control spi_cs; member
61 struct spi_cs_control spi_cs; member594 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, \
26 struct spi_cs_control spi_cs = { variable31 #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()
116 struct spi_cs_control spi_cs; member
870 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()
116 struct spi_cs_control spi_cs; member1516 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()