Searched refs:SPI_USER1_REG (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.6.0/components/spi_flash/esp32/ |
D | spi_flash_rom_patch.c | 343 REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_ADDR_BITLEN, SPI0_R_QIO_ADDR_BITSLEN); in spi_cache_mode_switch() 344 …REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN, SPI0_R_QIO_DUMMY_CYCLELEN + g_rom_spiflash… in spi_cache_mode_switch() 349 REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_ADDR_BITLEN, SPI0_R_FAST_ADDR_BITSLEN); in spi_cache_mode_switch() 352 …REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN, SPI0_R_FAST_DUMMY_CYCLELEN + g_rom_spiflas… in spi_cache_mode_switch() 354 REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_ADDR_BITLEN, SPI0_R_DIO_ADDR_BITSLEN); in spi_cache_mode_switch() 355 …REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN, SPI0_R_DIO_DUMMY_CYCLELEN + g_rom_spiflash… in spi_cache_mode_switch() 358 …REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN, SPI0_R_FAST_DUMMY_CYCLELEN + g_rom_spiflas… in spi_cache_mode_switch() 361 …REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN, SPI0_R_FAST_DUMMY_CYCLELEN + g_rom_spiflas… in spi_cache_mode_switch() 370 … REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN, g_rom_spiflash_dummy_len_plus[0] - 1); in spi_cache_mode_switch() 373 REG_SET_FIELD(SPI_USER1_REG(0), SPI_USR_ADDR_BITLEN, SPI0_R_SIO_ADDR_BITSLEN); in spi_cache_mode_switch()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32/ |
D | spiram_psram.c | 313 backup_usr1[spi_num]=READ_PERI_REG(SPI_USER1_REG(spi_num)); in psram_cmd_config() 330 …SET_PERI_REG_BITS(SPI_USER1_REG(spi_num), SPI_USR_ADDR_BITLEN, (pInData->addrBitLen - 1), SPI_USR_… in psram_cmd_config() 337 SET_PERI_REG_BITS(SPI_USER1_REG(spi_num), SPI_USR_ADDR_BITLEN, 0, SPI_USR_ADDR_BITLEN_S); in psram_cmd_config() 369 … SET_PERI_REG_BITS(SPI_USER1_REG(PSRAM_SPI_1), SPI_USR_DUMMY_CYCLELEN_V, pInData->dummyBitLen - 1, in psram_cmd_config() 373 …SET_PERI_REG_BITS(SPI_USER1_REG(PSRAM_SPI_1), SPI_USR_DUMMY_CYCLELEN_V, 0, SPI_USR_DUMMY_CYCLELEN_… in psram_cmd_config() 381 WRITE_PERI_REG(SPI_USER1_REG(spi_num), backup_usr1[spi_num]); in psram_cmd_end() 689 WRITE_PERI_REG(SPI_USER1_REG(spi_num), 0); in psram_spi_init() 705 …SET_PERI_REG_BITS(SPI_USER1_REG(0), SPI_USR_ADDR_BITLEN_V, SPI0_R_DIO_ADDR_BITSLEN, SPI_USR_ADDR_B… in psram_gpio_config() 717 …SET_PERI_REG_BITS(SPI_USER1_REG(_SPI_CACHE_PORT), SPI_USR_DUMMY_CYCLELEN_V, spi_cache_dummy + PSRA… in psram_gpio_config() 728 …SET_PERI_REG_BITS(SPI_USER1_REG(_SPI_CACHE_PORT), SPI_USR_DUMMY_CYCLELEN_V, spi_cache_dummy + PSRA… in psram_gpio_config() [all …]
|
/hal_espressif-3.6.0/components/bootloader_support/src/ |
D | bootloader_flash_config_esp32.c | 131 …SET_PERI_REG_BITS(SPI_USER1_REG(0), SPI_USR_ADDR_BITLEN_V, SPI0_R_DIO_ADDR_BITSLEN, SPI_USR_ADDR_B… in bootloader_flash_dummy_config() 156 …SET_PERI_REG_BITS(SPI_USER1_REG(0), SPI_USR_DUMMY_CYCLELEN_V, spi_cache_dummy + g_rom_spiflash_dum… in bootloader_flash_dummy_config()
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32/rom/ |
D | spi_flash.h | 78 #define PERIPHS_SPI_FLASH_USRREG1 SPI_USER1_REG(1)
|
/hal_espressif-3.6.0/components/soc/esp32c3/include/soc/ |
D | spi_reg.h | 320 #define SPI_USER1_REG(i) (REG_SPI_BASE(i) + 0x14) macro
|
/hal_espressif-3.6.0/components/soc/esp32h2/include/soc/ |
D | spi_reg.h | 320 #define SPI_USER1_REG(i) (REG_SPI_BASE(i) + 0x14) macro
|
/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/ |
D | spi_reg.h | 355 #define SPI_USER1_REG(i) (REG_SPI_BASE(i) + 0x14) macro
|
/hal_espressif-3.6.0/components/soc/esp32/include/soc/ |
D | spi_reg.h | 533 #define SPI_USER1_REG(i) (REG_SPI_BASE(i) + 0x20) macro
|
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/ |
D | spi_reg.h | 476 #define SPI_USER1_REG(i) (REG_SPI_BASE(i) + 0x01C) macro
|