Lines Matching refs:dev_config
204 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT(); in probe_spi() local
205 dev_config.gpio_cs = pin_cs; in probe_spi()
206 test_sdspi_init_bus(dev_config.host_id, pin_mosi, pin_miso, pin_sck, TEST_SDSPI_DMACHAN); in probe_spi()
208 TEST_ESP_OK(sdspi_host_init_device(&dev_config, &handle)); in probe_spi()
213 test_sdspi_deinit_bus(dev_config.host_id); in probe_spi()
385 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT();
386 … test_sdspi_init_bus(dev_config.host_id, GPIO_NUM_15, GPIO_NUM_2, GPIO_NUM_14, TEST_SDSPI_DMACHAN);
388 TEST_ESP_OK(sdspi_host_init_device(&dev_config, &handle));
401 test_sdspi_deinit_bus(dev_config.host_id);
494 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT();
495 dev_config.gpio_cd = CD_WP_TEST_GPIO;
496 … test_sdspi_init_bus(dev_config.host_id, GPIO_NUM_15, GPIO_NUM_2, GPIO_NUM_14, TEST_SDSPI_DMACHAN);
498 TEST_ESP_OK(sdspi_host_init_device(&dev_config, &handle));
506 test_sdspi_deinit_bus(dev_config.host_id);
568 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT();
569 dev_config.gpio_wp = CD_WP_TEST_GPIO;
570 … test_sdspi_init_bus(dev_config.host_id, GPIO_NUM_15, GPIO_NUM_2, GPIO_NUM_14, TEST_SDSPI_DMACHAN);
573 TEST_ESP_OK(sdspi_host_init_device(&dev_config, &handle));
581 test_sdspi_deinit_bus(dev_config.host_id);