ESP-IDF
+
0
/1 examples
SourceVu will show references to
esp_flash_t::host
from the following samples and libraries:
custom_flash_driver sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_flash_t::host
esp_flash_t::host field
Syntax
Show:
Summary
Declaration
from
esp_flash.h:95
spi_flash_host_inst_t
*
host
;
Examples
esp_flash_t::host
is referenced by 1 libraries and example projects:
custom_flash_driver sample
References
from
0/1
examples
Code
Location
Referrer
spi_flash_host_inst_t
*
host
;
///< Pointer to hardware-specific "host_driver" structure. Must be initialized before used.
esp_flash.h:95
chip
->
host
->
driver
->
dev_config
(
chip
->
host
)
;
esp_flash_api.c:193
spiflash_start_default()
if
(
chip
->
host
->
driver
->
flush_cache
)
{
esp_flash_api.c:235
flash_end_flush_cache()
esp_err_t
flush_err
=
chip
->
host
->
driver
->
flush_cache
(
chip
->
host
,
address
,
length
)
;
esp_flash_api.c:236
flash_end_flush_cache()
if
(
chip
==
NULL
||
chip
->
host
==
NULL
||
chip
->
host
->
driver
==
NULL
||
esp_flash_api.c:263
esp_flash_init()
(
(
memspi_host_inst_t
*
)
chip
->
host
)
->
spi
==
NULL
)
{
esp_flash_api.c:264
esp_flash_init()
if
(
chip
==
NULL
||
chip
->
host
==
NULL
||
chip
->
host
->
driver
==
NULL
||
esp_flash_api.c:336
esp_flash_init_main()
(
(
memspi_host_inst_t
*
)
chip
->
host
)
->
spi
==
NULL
)
{
esp_flash_api.c:337
esp_flash_init_main()
read_id_func
=
(
void
*
)
chip
->
host
->
driver
->
read_id
;
esp_flash_api.c:419
read_id_core()
read_id_arg
=
(
void
*
)
chip
->
host
;
esp_flash_api.c:420
read_id_core()
direct_read
|=
chip
->
host
->
driver
->
supports_direct_read
(
chip
->
host
,
buffer
)
;
esp_flash_api.c:866
esp_flash_read()
direct_write
|=
chip
->
host
->
driver
->
supports_direct_write
(
chip
->
host
,
buffer
)
;
esp_flash_api.c:1026
esp_flash_write()
.
host
=
(
spi_flash_host_inst_t
*
)
host
,
esp_flash_spi_init.c:246
spi_bus_add_flash_device()
free
(
chip
->
host
)
;
esp_flash_spi_init.c:307
spi_bus_remove_flash_device()
.
host
=
(
spi_flash_host_inst_t
*
)
&
esp_flash_default_host
,
esp_flash_spi_init.c:319
return
chip
->
host
->
driver
->
sus_setup
(
chip
->
host
,
&
sus_conf
)
;
spi_flash_chip_gd.c:137
spi_flash_chip_gd_suspend_cmd_conf()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:129
spi_flash_chip_generic_reset()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:137
spi_flash_chip_generic_reset()
chip
->
host
->
driver
->
erase_chip
(
chip
->
host
)
;
spi_flash_chip_generic.c:157
spi_flash_chip_generic_erase_chip()
chip
->
host
->
driver
->
erase_sector
(
chip
->
host
,
start_address
)
;
spi_flash_chip_generic.c:183
spi_flash_chip_generic_erase_sector()
chip
->
host
->
driver
->
erase_block
(
chip
->
host
,
start_address
)
;
spi_flash_chip_generic.c:209
spi_flash_chip_generic_erase_block()
uint32_t
read_len
=
chip
->
host
->
driver
->
read_data_slicer
(
chip
->
host
,
address
,
length
,
&
align_address
,
page_size
)
;
spi_flash_chip_generic.c:244
spi_flash_chip_generic_read()
err
=
chip
->
host
->
driver
->
read
(
chip
->
host
,
temp_buffer
,
align_address
,
read_len
)
;
spi_flash_chip_generic.c:247
spi_flash_chip_generic_read()
chip
->
host
->
driver
->
program_page
(
chip
->
host
,
buffer
,
address
,
length
)
;
spi_flash_chip_generic.c:267
spi_flash_chip_generic_page_program()
uint32_t
page_len
=
chip
->
host
->
driver
->
write_data_slicer
(
chip
->
host
,
address
,
length
,
&
align_address
,
page_size
)
;
spi_flash_chip_generic.c:288
spi_flash_chip_generic_write()
chip
->
host
->
driver
->
set_write_protect
(
chip
->
host
,
write_protect
)
;
spi_flash_chip_generic.c:314
spi_flash_chip_generic_set_write_protect()
return
chip
->
host
->
driver
->
read_status
(
chip
->
host
,
(
uint8_t
*
)
out_reg
)
;
spi_flash_chip_generic.c:342
spi_flash_chip_generic_read_reg()
while
(
!
chip
->
host
->
driver
->
host_status
(
chip
->
host
)
&&
timeout_us
>
0
)
{
spi_flash_chip_generic.c:380
spi_flash_chip_generic_wait_idle()
return
chip
->
host
->
driver
->
configure_host_io_mode
(
chip
->
host
,
read_command
,
addr_bitlen
,
dummy_cyclelen_base
,
read_mode
)
;
spi_flash_chip_generic.c:474
spi_flash_chip_generic_config_host_io_mode()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
transfer
)
;
spi_flash_chip_generic.c:582
spi_flash_chip_generic_read_unique_id()
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:625
spi_flash_chip_generic_get_caps()
esp_err_t
ret
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:703
spi_flash_common_read_qe_sr()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_generic.c:716
spi_flash_common_write_qe_sr()
return
chip
->
host
->
driver
->
sus_setup
(
chip
->
host
,
&
sus_conf
)
;
spi_flash_chip_generic.c:844
spi_flash_chip_generic_suspend_cmd_conf()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:77
spi_flash_chip_mxic_opi_set_write_protect()
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:110
spi_flash_chip_mxic_opi_read_id()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:144
spi_flash_chip_mxic_opi_read_reg()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:182
spi_flash_chip_mxic_opi_erase_chip()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:212
spi_flash_chip_mxic_opi_erase_sector()
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:241
spi_flash_chip_mxic_opi_erase_block()
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:272
spi_flash_chip_mxic_opi_page_program()
uint32_t
page_len
=
chip
->
host
->
driver
->
write_data_slicer
(
chip
->
host
,
address
,
length
,
&
align_address
,
page_size
)
;
spi_flash_chip_mxic_opi.c:293
spi_flash_chip_mxic_opi_write()
esp_err_t
err
=
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_mxic_opi.c:325
spi_flash_chip_mxic_opi_get_io_mode()
return
chip
->
host
->
driver
->
configure_host_io_mode
(
chip
->
host
,
read_command
,
addr_bitlen
,
dummy_cyclelen_base
,
read_mode
)
;
spi_flash_chip_mxic_opi.c:384
spi_flash_chip_xmic_opi_config_host_io_mode()
uint32_t
read_len
=
chip
->
host
->
driver
->
read_data_slicer
(
chip
->
host
,
address
,
length
,
&
align_address
,
page_size
)
;
spi_flash_chip_winbond.c:58
spi_flash_chip_winbond_read()
err
=
chip
->
host
->
driver
->
read
(
chip
->
host
,
temp_buffer
,
align_address
,
read_len
)
;
spi_flash_chip_winbond.c:61
spi_flash_chip_winbond_read()
if
(
chip
->
host
->
driver
->
flush_cache
)
{
spi_flash_chip_winbond.c:104
spi_flash_chip_winbond_erase_sector()
err
=
chip
->
host
->
driver
->
flush_cache
(
chip
->
host
,
start_address
,
chip
->
chip_drv
->
sector_size
)
;
spi_flash_chip_winbond.c:105
spi_flash_chip_winbond_erase_sector()
if
(
chip
->
host
->
driver
->
flush_cache
)
{
spi_flash_chip_winbond.c:128
spi_flash_chip_winbond_erase_block()
err
=
chip
->
host
->
driver
->
flush_cache
(
chip
->
host
,
start_address
,
chip
->
chip_drv
->
block_erase_size
)
;
spi_flash_chip_winbond.c:129
spi_flash_chip_winbond_erase_block()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_winbond.c:206
spi_flash_command_winbond_program_4B()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_winbond.c:218
spi_flash_command_winbond_erase_sector_4B()
return
chip
->
host
->
driver
->
common_command
(
chip
->
host
,
&
t
)
;
spi_flash_chip_winbond.c:230
spi_flash_command_erase_block_4B()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
esp_flash_t::host
is read by 41 functions:
All items filtered out
esp_flash_t::host
spi_flash_chip_generic_reset()
spi_flash_chip_generic_erase_chip()
spi_flash_chip_generic_erase_sector()
spi_flash_chip_generic_erase_block()
spi_flash_chip_generic_read()
spi_flash_chip_generic_page_program()
spi_flash_chip_generic_write()
spi_flash_chip_generic_set_write_protect()
spi_flash_chip_generic_read_reg()
spi_flash_chip_generic_wait_idle()
spi_flash_chip_generic_config_host_io_mode()
spi_flash_chip_generic_read_unique_id()
spi_flash_chip_generic_get_caps()
spi_flash_common_read_qe_sr()
spi_flash_common_write_qe_sr()
spi_flash_chip_generic_suspend_cmd_conf()
spi_flash_chip_gd_suspend_cmd_conf()
spi_flash_chip_winbond_read()
spi_flash_chip_winbond_erase_sector()
spi_flash_chip_winbond_erase_block()
spi_flash_command_winbond_program_4B()
spi_flash_command_winbond_erase_sector_4B()
spi_flash_command_erase_block_4B()
spi_flash_chip_mxic_opi_set_write_protect()
spi_flash_chip_mxic_opi_read_id()
spi_flash_chip_mxic_opi_read_reg()
spi_flash_chip_mxic_opi_erase_chip()
spi_flash_chip_mxic_opi_erase_sector()
spi_flash_chip_mxic_opi_erase_block()
spi_flash_chip_mxic_opi_page_program()
spi_flash_chip_mxic_opi_write()
spi_flash_chip_mxic_opi_get_io_mode()
spi_flash_chip_xmic_opi_config_host_io_mode()
spiflash_start_default()
flash_end_flush_cache()
esp_flash_init()
esp_flash_init_main()
read_id_core()
esp_flash_read()
esp_flash_write()
spi_bus_remove_flash_device()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out