Searched refs:extra_dummy (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-3.4.0/components/spi_flash/esp32s3/ |
D | spi_timing_config.c | 140 void spi_timing_config_flash_set_extra_dummy(uint8_t spi_num, uint8_t extra_dummy) in spi_timing_config_flash_set_extra_dummy() argument 143 if (extra_dummy > 0) { in spi_timing_config_flash_set_extra_dummy() 145 … SET_PERI_REG_BITS(SPI_MEM_TIMING_CALI_REG(spi_num), SPI_MEM_EXTRA_DUMMY_CYCLELEN_V, extra_dummy, in spi_timing_config_flash_set_extra_dummy() 161 g_rom_spiflash_dummy_len_plus[spi_num] = s_rom_flash_extra_dummy[spi_num] + extra_dummy; in spi_timing_config_flash_set_extra_dummy() 209 void spi_timing_config_psram_set_extra_dummy(uint8_t spi_num, uint8_t extra_dummy) in spi_timing_config_psram_set_extra_dummy() argument 212 if (extra_dummy > 0) { in spi_timing_config_psram_set_extra_dummy() 214 …TS(SPI_MEM_SPI_SMEM_TIMING_CALI_REG(spi_num), SPI_MEM_SPI_SMEM_EXTRA_DUMMY_CYCLELEN_V, extra_dummy, in spi_timing_config_psram_set_extra_dummy() 223 …spi_num), SPI_MEM_SRAM_RDUMMY_CYCLELEN_V, (QPI_PSRAM_FAST_READ_DUMMY + extra_dummy - 1), SPI_MEM_S… in spi_timing_config_psram_set_extra_dummy() 333 void spi_timing_config_flash_tune_dummy(uint8_t extra_dummy) in spi_timing_config_flash_tune_dummy() argument 335 spi_timing_config_flash_set_extra_dummy(1, extra_dummy); in spi_timing_config_flash_tune_dummy() [all …]
|
D | spi_timing_config.h | 227 void spi_timing_config_flash_set_extra_dummy(uint8_t spi_num, uint8_t extra_dummy); 232 void spi_timing_config_psram_set_extra_dummy(uint8_t spi_num, uint8_t extra_dummy); 242 void spi_timing_config_flash_tune_dummy(uint8_t extra_dummy); 244 void spi_timing_config_psram_tune_dummy(uint8_t extra_dummy);
|
/hal_espressif-3.4.0/components/hal/ |
D | spi_flash_hal.c | 78 int extra_dummy = 0; in extra_dummy_under_timing_tuning() local 84 extra_dummy = cfg->extra_dummy; in extra_dummy_under_timing_tuning() 90 return extra_dummy; in extra_dummy_under_timing_tuning() 116 data_out->extra_dummy = extra_dummy_under_timing_tuning(cfg); in spi_flash_hal_init() 121 …data_out->extra_dummy = get_dummy_n(!cfg->iomux, cfg->input_delay_ns, APB_CLK_FREQ/clock_cfg->div); in spi_flash_hal_init() 141 HAL_LOGD(TAG, "extra_dummy: %d", data_out->extra_dummy); in spi_flash_hal_init()
|
D | spi_hal_iram.c | 72 int extra_dummy = 0; in spi_hal_setup_trans() local 75 extra_dummy = dev->timing_conf.timing_dummy; in spi_hal_setup_trans() 80 spi_ll_set_dummy(hw, extra_dummy + trans->dummy_bits); in spi_hal_setup_trans() 103 miso_delay_num = extra_dummy ? dev->timing_conf.timing_miso_delay : 0; in spi_hal_setup_trans()
|
D | spi_flash_hal_common.inc | 23 …fine COMPUTE_DUMMY_CYCLELEN(host, base) ((base) + ((spi_flash_hal_context_t*)host)->extra_dummy)
|
/hal_espressif-3.4.0/components/hal/include/hal/ |
D | spi_flash_hal.h | 44 uint8_t extra_dummy; ///< Pre-calculated extra dummy used for compensation member 63 uint32_t extra_dummy; member 73 uint32_t extra_dummy; ///< extra dummy for timing compensation. member
|
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32s2/ |
D | spiram_psram.c | 493 int extra_dummy = 0; in psram_cache_init() local 497 extra_dummy = PSRAM_IO_MATRIX_DUMMY_80M; in psram_cache_init() 501 extra_dummy = PSRAM_IO_MATRIX_DUMMY_40M; in psram_cache_init() 505 extra_dummy = PSRAM_IO_MATRIX_DUMMY_20M; in psram_cache_init() 509 extra_dummy = PSRAM_IO_MATRIX_DUMMY_20M; in psram_cache_init() 532 …I_MEM_CACHE_SCTRL_REG(0), SPI_MEM_SRAM_RDUMMY_CYCLELEN_V, PSRAM_FAST_READ_QUAD_DUMMY + extra_dummy, in psram_cache_init()
|
/hal_espressif-3.4.0/components/esp_hw_support/port/esp32/ |
D | spiram_psram.c | 190 static int extra_dummy = 0; variable 420 uint32_t dummy_bits = 0 + extra_dummy; in psram_read_id() 527 ps_cmd.dummyBitLen = dummy_bits + extra_dummy; in spi_user_psram_read() 714 extra_dummy = PSRAM_IO_MATRIX_DUMMY_40M; in psram_gpio_config() 725 extra_dummy = PSRAM_IO_MATRIX_DUMMY_80M; in psram_gpio_config() 736 extra_dummy = PSRAM_IO_MATRIX_DUMMY_40M; in psram_gpio_config() 1061 …G_BITS(SPI_CACHE_SCTRL_REG(0), SPI_SRAM_DUMMY_CYCLELEN_V, PSRAM_FAST_READ_QUAD_DUMMY + extra_dummy, in psram_cache_init() 1079 …G_BITS(SPI_CACHE_SCTRL_REG(0), SPI_SRAM_DUMMY_CYCLELEN_V, PSRAM_FAST_READ_QUAD_DUMMY + extra_dummy, in psram_cache_init()
|
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/ |
D | spimem_flash_ll.h | 563 static inline void spimem_flash_ll_set_extra_dummy(spi_mem_dev_t *dev, uint32_t extra_dummy) in spimem_flash_ll_set_extra_dummy() argument 565 dev->timing_cali.extra_dummy_cyclelen = extra_dummy; in spimem_flash_ll_set_extra_dummy()
|
/hal_espressif-3.4.0/components/spi_flash/ |
D | spi_flash_timing_tuning.c | 503 out_timing_config->extra_dummy = s_flash_best_timing_tuning_config.extra_dummy_len; in spi_timing_get_flash_timing_param()
|