Home
last modified time | relevance | path

Searched refs:spiconfig (Results 1 – 20 of 20) sorted by relevance

/hal_espressif-3.6.0/components/bootloader_support/src/esp32h2/
Dbootloader_esp32h2.c45 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
53 if (spiconfig == 0) { in bootloader_configure_spi_pins()
56 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
57 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
58 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
59 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
60 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
198 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
199 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-3.6.0/components/bootloader_support/src/esp32c3/
Dbootloader_esp32c3.c46 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
54 if (spiconfig == 0) { in bootloader_configure_spi_pins()
57 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
58 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
59 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
60 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
61 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
199 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
200 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-3.6.0/zephyr/esp32s3/src/boot/
Dbootloader_init.c94 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
102 if (spiconfig == 0) { in bootloader_configure_spi_pins()
105 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
106 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
107 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
108 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
109 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
134 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
135 if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && in bootloader_init_spi_flash()
136 spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI) { in bootloader_init_spi_flash()
/hal_espressif-3.6.0/zephyr/esp32s2/src/boot/
Dbootloader_init.c86 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
94 if (spiconfig != 0) { in bootloader_configure_spi_pins()
95 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
96 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
97 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
98 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
99 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
/hal_espressif-3.6.0/components/bootloader_support/src/esp32s2/
Dbootloader_esp32s2.c43 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
51 if (spiconfig == 0) { in bootloader_configure_spi_pins()
54 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
55 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
56 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
57 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
58 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
194 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
195 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-3.6.0/components/bootloader_support/src/esp32s3/
Dbootloader_esp32s3.c45 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
53 if (spiconfig == 0) { in bootloader_configure_spi_pins()
56 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
57 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
58 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
59 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
60 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
214 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
215 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-3.6.0/zephyr/esp32c3/src/boot/
Dbootloader_init.c58 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
66 if (spiconfig != 0) { in bootloader_configure_spi_pins()
67 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
68 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
69 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
70 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
71 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/
Dspiram_psram.c369 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in psram_gpio_config() local
370 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in psram_gpio_config()
374 psram_io.flash_clk_io = EFUSE_SPICONFIG_RET_SPICLK(spiconfig); in psram_gpio_config()
375 psram_io.flash_cs_io = EFUSE_SPICONFIG_RET_SPICS0(spiconfig); in psram_gpio_config()
376 psram_io.psram_spiq_sd0_io = EFUSE_SPICONFIG_RET_SPIQ(spiconfig); in psram_gpio_config()
377 psram_io.psram_spid_sd1_io = EFUSE_SPICONFIG_RET_SPID(spiconfig); in psram_gpio_config()
378 psram_io.psram_spihd_sd2_io = EFUSE_SPICONFIG_RET_SPIHD(spiconfig); in psram_gpio_config()
381 esp_rom_spiflash_select_qio_pins(psram_io.psram_spiwp_sd3_io, spiconfig); in psram_gpio_config()
/hal_espressif-3.6.0/components/esptool_py/esptool/flasher_stub/
Dstub_flasher.c474 uint32_t spiconfig = ets_efuse_get_spiconfig(); in stub_main() local
477 uint32_t spiconfig = 0; in stub_main() local
483 if (spiconfig == 0 && (strapping & 0x1c) == 0x08) { in stub_main()
484 spiconfig = 1; /* HSPI flash mode */ in stub_main()
486 spi_flash_attach(spiconfig, 0); in stub_main()
/hal_espressif-3.6.0/components/bootloader_support/src/esp32/
Dbootloader_esp32.c64 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
65 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in bootloader_configure_spi_pins()
252 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
253 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-3.6.0/components/bootloader_support/src/
Dflash_qio_mode.c150 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in enable_qio_mode() local
187 esp_rom_spiflash_select_qio_pins(wp_pin, spiconfig); in enable_qio_mode()
189 esp_rom_spiflash_select_qio_pins(esp_rom_efuse_get_flash_wp_gpio(), spiconfig); in enable_qio_mode()
Dbootloader_common.c218 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_flash_get_cs_io() local
219 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in bootloader_flash_get_cs_io()
222 cs_io = (spiconfig >> 18) & 0x3f; in bootloader_flash_get_cs_io()
Dbootloader_flash_config_esp32.c86 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_flash_gpio_config() local
87 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in bootloader_flash_gpio_config()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/
Dspiram_psram.c320 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in psram_gpio_config() local
321 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in psram_gpio_config()
328 esp_rom_spiflash_select_qio_pins(wp_io, spiconfig); in psram_gpio_config()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32/
Dspiram_psram.c873 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in psram_enable() local
874 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in psram_enable()
881 } else if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI) { in psram_enable()
889 psram_io.flash_clk_io = EFUSE_SPICONFIG_RET_SPICLK(spiconfig); in psram_enable()
890 psram_io.flash_cs_io = EFUSE_SPICONFIG_RET_SPICS0(spiconfig); in psram_enable()
891 psram_io.psram_spiq_sd0_io = EFUSE_SPICONFIG_RET_SPIQ(spiconfig); in psram_enable()
892 psram_io.psram_spid_sd1_io = EFUSE_SPICONFIG_RET_SPID(spiconfig); in psram_enable()
893 psram_io.psram_spihd_sd2_io = EFUSE_SPICONFIG_RET_SPIHD(spiconfig); in psram_enable()
/hal_espressif-3.6.0/components/esp_rom/include/esp32/rom/
Dspi_flash.h545 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);
/hal_espressif-3.6.0/components/esp_rom/include/esp32s2/rom/
Dspi_flash.h554 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);
/hal_espressif-3.6.0/components/esp_rom/include/esp32c3/rom/
Dspi_flash.h512 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);
/hal_espressif-3.6.0/components/esp_rom/include/esp32h2/rom/
Dspi_flash.h512 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);
/hal_espressif-3.6.0/components/esp_rom/include/esp32s3/rom/
Dspi_flash.h575 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);