Home
last modified time | relevance | path

Searched refs:read_mode (Results 1 – 22 of 22) sorted by relevance

/hal_espressif-3.6.0/components/spi_flash/test/
Dtest_read_write.c183 esp_rom_spiflash_read_mode_t read_mode; in fix_rom_func() local
185 read_mode = ESP_ROM_SPIFLASH_QIO_MODE; in fix_rom_func()
187 read_mode = ESP_ROM_SPIFLASH_QOUT_MODE; in fix_rom_func()
189 read_mode = ESP_ROM_SPIFLASH_DIO_MODE; in fix_rom_func()
191 read_mode = ESP_ROM_SPIFLASH_DOUT_MODE; in fix_rom_func()
193 read_mode = ESP_ROM_SPIFLASH_OPI_STR_MODE; in fix_rom_func()
195 read_mode = ESP_ROM_SPIFLASH_OPI_DTR_MODE; in fix_rom_func()
199 spi_common_set_dummy_output(read_mode); in fix_rom_func()
203 esp_rom_spiflash_config_readmode(read_mode); in fix_rom_func()
Dtest_esp_flash.c761 esp_flash_io_mode_t io_mode_before = chip->read_mode; in test_toggle_qe()
770 chip->read_mode = qe? SPI_FLASH_QOUT: SPI_FLASH_SLOWRD; in test_toggle_qe()
788 chip->read_mode = io_mode_before; in test_toggle_qe()
794 chip->read_mode = io_mode_before; in test_toggle_qe()
/hal_espressif-3.6.0/components/spi_flash/
Dspi_flash_chip_mxic_opi.c41 if (chip->read_mode < SPI_FLASH_OPI_FLAG) { in spi_flash_chip_mxic_opi_probe()
94 spi_flash_chip_mxic_opi_get_data_length_zoom(chip->read_mode, &length_zoom); in spi_flash_chip_mxic_opi_read_id()
105 if(chip->read_mode == SPI_FLASH_OPI_DTR) { in spi_flash_chip_mxic_opi_read_id()
129 spi_flash_chip_mxic_opi_get_data_length_zoom(chip->read_mode, &length_zoom); in spi_flash_chip_mxic_opi_read_reg()
309 spi_flash_chip_mxic_opi_get_data_length_zoom(chip->read_mode, &length_zoom); in spi_flash_chip_mxic_opi_get_io_mode()
337 if (*out_io_mode != chip->read_mode) { in spi_flash_chip_mxic_opi_get_io_mode()
360 esp_flash_io_mode_t read_mode = chip->read_mode; in spi_flash_chip_xmic_opi_config_host_io_mode() local
362 switch (read_mode & 0xFFFF) { in spi_flash_chip_xmic_opi_config_host_io_mode()
377 …ver->configure_host_io_mode(chip->host, read_command, addr_bitlen, dummy_cyclelen_base, read_mode); in spi_flash_chip_xmic_opi_config_host_io_mode()
Dflash_ops.c582 esp_rom_spiflash_read_mode_t read_mode; in flash_rom_init() local
584 read_mode = ESP_ROM_SPIFLASH_QIO_MODE; in flash_rom_init()
586 read_mode = ESP_ROM_SPIFLASH_QOUT_MODE; in flash_rom_init()
588 read_mode = ESP_ROM_SPIFLASH_DIO_MODE; in flash_rom_init()
590 read_mode = ESP_ROM_SPIFLASH_DOUT_MODE; in flash_rom_init()
601 spi_common_set_dummy_output(read_mode); in flash_rom_init()
Dspi_flash_chip_generic.c458 esp_flash_io_mode_t read_mode = chip->read_mode; in spi_flash_chip_generic_config_host_io_mode() local
461 switch (read_mode & 0xFFFF) { in spi_flash_chip_generic_config_host_io_mode()
505 read_mode |= SPI_FLASH_CONFIG_CONF_BITS; in spi_flash_chip_generic_config_host_io_mode()
508 …ver->configure_host_io_mode(chip->host, read_command, addr_bitlen, dummy_cyclelen_base, read_mode); in spi_flash_chip_generic_config_host_io_mode()
Desp_flash_spi_init.c208 .read_mode = config->io_mode, in spi_bus_add_flash_device()
276 .read_mode = DEFAULT_FLASH_MODE,
Dspi_flash_chip_mxic.c30 if (chip->read_mode >= SPI_FLASH_OPI_FLAG) { in spi_flash_chip_mxic_probe()
Desp_flash_api.c246 ESP_LOGI(TAG, "flash io: %s", io_mode_str[chip->read_mode]); in esp_flash_init()
274 bool octal_mode = (chip->read_mode >= SPI_FLASH_OPI_FLAG); in esp_flash_init_main()
324 ESP_LOGI(TAG, "flash io: %s", io_mode_str[chip->read_mode]); in esp_flash_init_main()
1100 chip->read_mode = (qe? SPI_FLASH_QOUT: SPI_FLASH_SLOWRD); in esp_flash_set_io_mode()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Dspi_flash_ll.h66 …efine spi_flash_ll_set_read_mode(dev, read_mode) gpspi_flash_ll_set_read_mode((spi_dev_t… argument
93 …ine spi_flash_ll_set_read_mode(dev, read_mode) spimem_flash_ll_set_read_mode((spi_mem_de… argument
Dgpspi_flash_ll.h216 static inline void gpspi_flash_ll_set_read_mode(spi_dev_t *dev, esp_flash_io_mode_t read_mode) in gpspi_flash_ll_set_read_mode() argument
224 switch (read_mode) { in gpspi_flash_ll_set_read_mode()
Dspimem_flash_ll.h386 static inline void spimem_flash_ll_set_read_mode(spi_mem_dev_t *dev, esp_flash_io_mode_t read_mode) in spimem_flash_ll_set_read_mode() argument
391 switch (read_mode) { in spimem_flash_ll_set_read_mode()
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Dspi_flash_ll.h66 …efine spi_flash_ll_set_read_mode(dev, read_mode) gpspi_flash_ll_set_read_mode((spi_dev_t… argument
93 …ine spi_flash_ll_set_read_mode(dev, read_mode) spimem_flash_ll_set_read_mode((spi_mem_de… argument
Dgpspi_flash_ll.h216 static inline void gpspi_flash_ll_set_read_mode(spi_dev_t *dev, esp_flash_io_mode_t read_mode) in gpspi_flash_ll_set_read_mode() argument
224 switch (read_mode) { in gpspi_flash_ll_set_read_mode()
Dspimem_flash_ll.h386 static inline void spimem_flash_ll_set_read_mode(spi_mem_dev_t *dev, esp_flash_io_mode_t read_mode) in spimem_flash_ll_set_read_mode() argument
391 switch (read_mode) { in spimem_flash_ll_set_read_mode()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dspi_flash_ll.h66 …efine spi_flash_ll_set_read_mode(dev, read_mode) gpspi_flash_ll_set_read_mode((spi_dev_t… argument
95 …ine spi_flash_ll_set_read_mode(dev, read_mode) spimem_flash_ll_set_read_mode((spi_mem_de… argument
Dgpspi_flash_ll.h214 static inline void gpspi_flash_ll_set_read_mode(spi_dev_t *dev, esp_flash_io_mode_t read_mode) in gpspi_flash_ll_set_read_mode() argument
222 switch (read_mode) { in gpspi_flash_ll_set_read_mode()
Dspimem_flash_ll.h382 static inline void spimem_flash_ll_set_read_mode(spi_mem_dev_t *dev, esp_flash_io_mode_t read_mode) in spimem_flash_ll_set_read_mode() argument
387 switch (read_mode) { in spimem_flash_ll_set_read_mode()
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dspi_flash_ll.h65 …efine spi_flash_ll_set_read_mode(dev, read_mode) gpspi_flash_ll_set_read_mode((spi_dev_t… argument
93 …ine spi_flash_ll_set_read_mode(dev, read_mode) spimem_flash_ll_set_read_mode((spi_mem_de… argument
Dgpspi_flash_ll.h221 static inline void gpspi_flash_ll_set_read_mode(spi_dev_t *dev, esp_flash_io_mode_t read_mode) in gpspi_flash_ll_set_read_mode() argument
229 switch (read_mode) { in gpspi_flash_ll_set_read_mode()
Dspimem_flash_ll.h382 static inline void spimem_flash_ll_set_read_mode(spi_mem_dev_t *dev, esp_flash_io_mode_t read_mode) in spimem_flash_ll_set_read_mode() argument
388 switch (read_mode) { in spimem_flash_ll_set_read_mode()
/hal_espressif-3.6.0/components/spi_flash/include/
Desp_flash.h102 …esp_flash_io_mode_t read_mode; ///< Configured SPI flash read mode. Set before ``esp_flash_init`` … member
362 return (chip->read_mode == SPI_FLASH_QIO) || (chip->read_mode == SPI_FLASH_QOUT); in esp_flash_is_quad_mode()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dspi_flash_ll.h254 static inline void spi_flash_ll_set_read_mode(spi_dev_t *dev, esp_flash_io_mode_t read_mode) in spi_flash_ll_set_read_mode() argument
259 switch (read_mode) { in spi_flash_ll_set_read_mode()