Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/bootloader_support/src/esp32c3/
Dbootloader_esp32c3.c53 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
61 if (spiconfig == 0) { in bootloader_configure_spi_pins()
64 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
65 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
66 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
67 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
68 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
206 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
207 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-2.7.6/components/bootloader_support/src/esp32s2/
Dbootloader_esp32s2.c51 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
59 if (spiconfig == 0) { in bootloader_configure_spi_pins()
62 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
63 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
64 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
65 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
66 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
202 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
203 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-2.7.6/components/bootloader_support/src/esp32s3/
Dbootloader_esp32s3.c51 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
59 if (spiconfig == 0) { in bootloader_configure_spi_pins()
62 clk_gpio_num = spiconfig & 0x3f; in bootloader_configure_spi_pins()
63 q_gpio_num = (spiconfig >> 6) & 0x3f; in bootloader_configure_spi_pins()
64 d_gpio_num = (spiconfig >> 12) & 0x3f; in bootloader_configure_spi_pins()
65 cs0_gpio_num = (spiconfig >> 18) & 0x3f; in bootloader_configure_spi_pins()
66 hd_gpio_num = (spiconfig >> 24) & 0x3f; in bootloader_configure_spi_pins()
202 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
203 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-2.7.6/components/esp32s2/
Dspiram_psram.c365 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in psram_gpio_config() local
366 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in psram_gpio_config()
370 psram_io.flash_clk_io = EFUSE_SPICONFIG_RET_SPICLK(spiconfig); in psram_gpio_config()
371 psram_io.flash_cs_io = EFUSE_SPICONFIG_RET_SPICS0(spiconfig); in psram_gpio_config()
372 psram_io.psram_spiq_sd0_io = EFUSE_SPICONFIG_RET_SPIQ(spiconfig); in psram_gpio_config()
373 psram_io.psram_spid_sd1_io = EFUSE_SPICONFIG_RET_SPID(spiconfig); in psram_gpio_config()
374 psram_io.psram_spihd_sd2_io = EFUSE_SPICONFIG_RET_SPIHD(spiconfig); in psram_gpio_config()
377 esp_rom_spiflash_select_qio_pins(psram_io.psram_spiwp_sd3_io, spiconfig); in psram_gpio_config()
/hal_espressif-2.7.6/components/esp32s3/
Dspiram_psram.c368 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in psram_gpio_config() local
369 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in psram_gpio_config()
373 psram_io.flash_clk_io = EFUSE_SPICONFIG_RET_SPICLK(spiconfig); in psram_gpio_config()
374 psram_io.flash_cs_io = EFUSE_SPICONFIG_RET_SPICS0(spiconfig); in psram_gpio_config()
375 psram_io.psram_spiq_sd0_io = EFUSE_SPICONFIG_RET_SPIQ(spiconfig); in psram_gpio_config()
376 psram_io.psram_spid_sd1_io = EFUSE_SPICONFIG_RET_SPID(spiconfig); in psram_gpio_config()
377 psram_io.psram_spihd_sd2_io = EFUSE_SPICONFIG_RET_SPIHD(spiconfig); in psram_gpio_config()
380 esp_rom_spiflash_select_qio_pins(psram_io.psram_spiwp_sd3_io, spiconfig); in psram_gpio_config()
/hal_espressif-2.7.6/components/bootloader_support/src/esp32/
Dbootloader_esp32.c68 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_configure_spi_pins() local
69 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in bootloader_configure_spi_pins()
256 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_init_spi_flash() local
257 …if (spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_SPI && spiconfig != ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI)… in bootloader_init_spi_flash()
/hal_espressif-2.7.6/components/bootloader_support/src/
Dflash_qio_mode.c163 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in enable_qio_mode() local
200 esp_rom_spiflash_select_qio_pins(wp_pin, spiconfig); in enable_qio_mode()
202 esp_rom_spiflash_select_qio_pins(esp_rom_efuse_get_flash_wp_gpio(), spiconfig); in enable_qio_mode()
Dbootloader_flash_config_esp32.c94 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in bootloader_flash_gpio_config() local
95 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in bootloader_flash_gpio_config()
/hal_espressif-2.7.6/components/esp32/
Dspiram_psram.c858 const uint32_t spiconfig = esp_rom_efuse_get_flash_gpio_info(); in psram_enable() local
859 if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_SPI) { in psram_enable()
866 } else if (spiconfig == ESP_ROM_EFUSE_FLASH_DEFAULT_HSPI) { in psram_enable()
874 psram_io.flash_clk_io = EFUSE_SPICONFIG_RET_SPICLK(spiconfig); in psram_enable()
875 psram_io.flash_cs_io = EFUSE_SPICONFIG_RET_SPICS0(spiconfig); in psram_enable()
876 psram_io.psram_spiq_sd0_io = EFUSE_SPICONFIG_RET_SPIQ(spiconfig); in psram_enable()
877 psram_io.psram_spid_sd1_io = EFUSE_SPICONFIG_RET_SPID(spiconfig); in psram_enable()
878 psram_io.psram_spihd_sd2_io = EFUSE_SPICONFIG_RET_SPIHD(spiconfig); in psram_enable()
/hal_espressif-2.7.6/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-2.7.6/components/esp_rom/include/esp32s3/rom/
Dspi_flash.h542 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);
/hal_espressif-2.7.6/components/esp_rom/include/esp32s2/rom/
Dspi_flash.h555 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);
/hal_espressif-2.7.6/components/esp_rom/include/esp32c3/rom/
Dspi_flash.h512 void esp_rom_spiflash_select_qio_pins(uint8_t wp_gpio_num, uint32_t spiconfig);