/Zephyr-latest/include/zephyr/fs/ |
D | nvs.h | 61 const struct flash_parameters *flash_parameters; member
|
D | zms.h | 60 const struct flash_parameters *flash_parameters; member
|
/Zephyr-latest/include/zephyr/drivers/ |
D | flash.h | 59 struct flash_parameters { struct 106 int flash_params_get_erase_cap(const struct flash_parameters *p) in flash_params_get_erase_cap() 170 typedef const struct flash_parameters* (*flash_api_get_parameters)(const struct device *dev); 588 __syscall const struct flash_parameters *flash_get_parameters(const struct device *dev); 590 static inline const struct flash_parameters *z_impl_flash_get_parameters(const struct device *dev) in z_impl_flash_get_parameters()
|
/Zephyr-latest/drivers/flash/ |
D | flash_gd32.c | 26 static const struct flash_parameters flash_gd32_parameters = { 93 static const struct flash_parameters*
|
D | flash_util.c | 29 const struct flash_parameters *fparams = api->get_parameters(dev); in z_impl_flash_fill() 75 __maybe_unused const struct flash_parameters *params = api->get_parameters(dev); in z_impl_flash_flatten() 171 const struct flash_parameters *params = api->get_parameters(dst_dev); in z_impl_flash_copy()
|
D | flash_esp32.c | 46 static const struct flash_parameters flash_esp32_parameters = { 139 static const struct flash_parameters *
|
D | soc_flash_rv32m1.c | 31 static const struct flash_parameters flash_mcux_parameters = { 125 static const struct flash_parameters *
|
D | flash_cadence_qspi_nor.c | 30 static const struct flash_parameters flash_cad_parameters = { 104 static const struct flash_parameters *
|
D | soc_flash_nrf_mram.c | 147 static const struct flash_parameters *nrf_mram_get_parameters(const struct device *dev) in nrf_mram_get_parameters() 151 static const struct flash_parameters parameters = { in nrf_mram_get_parameters()
|
D | soc_flash_b91.c | 32 static const struct flash_parameters flash_b91_parameters = { 197 static const struct flash_parameters *
|
D | flash_max32.c | 19 struct flash_parameters parameters; 115 static const struct flash_parameters *api_get_parameters(const struct device *dev) in api_get_parameters()
|
D | soc_flash_lpc.c | 37 static const struct flash_parameters flash_lpc_parameters = { 138 static const struct flash_parameters *
|
D | flash_hp_ra.h | 81 struct flash_parameters flash_ra_parameters;
|
D | flash_stm32wba_fm.c | 30 static const struct flash_parameters flash_stm32_parameters = { 158 static const struct flash_parameters *
|
D | flash_ambiq.c | 48 static const struct flash_parameters flash_ambiq_parameters = { 191 static const struct flash_parameters *flash_ambiq_get_parameters(const struct device *dev) in flash_ambiq_get_parameters()
|
D | flash_gecko.c | 28 static const struct flash_parameters flash_gecko_parameters = { 186 static const struct flash_parameters *
|
D | flash_ifx_cat1.c | 34 static struct flash_parameters ifx_cat1_flash_parameters = { 164 static const struct flash_parameters *ifx_cat1_flash_get_parameters(const struct device *dev) in ifx_cat1_flash_get_parameters()
|
D | flash_si32.c | 39 static const struct flash_parameters flash_si32_parameters = { 181 static const struct flash_parameters *flash_si32_get_parameters(const struct device *dev) in flash_si32_get_parameters()
|
D | soc_flash_numaker_rmc.c | 29 static const struct flash_parameters flash_numaker_parameters = { 240 static const struct flash_parameters *flash_numaker_get_parameters(const struct device *dev) in flash_numaker_get_parameters()
|
D | flash_mcux_flexspi_mx25um51345g.c | 72 struct flash_parameters flash_parameters; member 493 static const struct flash_parameters *flash_flexspi_nor_get_parameters( in flash_flexspi_nor_get_parameters() 498 return &data->flash_parameters; in flash_flexspi_nor_get_parameters() 615 .flash_parameters = { \
|
D | soc_flash_cc13xx_cc26xx.c | 30 static const struct flash_parameters flash_cc13xx_cc26xx_parameters = { 268 static const struct flash_parameters *
|
D | soc_flash_numaker.c | 29 static const struct flash_parameters flash_numaker_parameters = { 246 static const struct flash_parameters *flash_numaker_get_parameters(const struct device *dev) in flash_numaker_get_parameters()
|
/Zephyr-latest/subsys/fs/nvs/ |
D | nvs.c | 91 size_t write_block_size = fs->flash_parameters->write_block_size; in nvs_al_size() 120 blen = len & ~(fs->flash_parameters->write_block_size - 1U); in nvs_flash_al_wrt() 133 (void)memset(buf + len, fs->flash_parameters->erase_value, in nvs_flash_al_wrt() 134 fs->flash_parameters->write_block_size - len); in nvs_flash_al_wrt() 137 fs->flash_parameters->write_block_size); in nvs_flash_al_wrt() 191 aligned_len = len & ~(fs->flash_parameters->write_block_size - 1U); in nvs_flash_data_wrt() 245 NVS_BLOCK_SIZE & ~(fs->flash_parameters->write_block_size - 1U); in nvs_flash_block_cmp() 276 NVS_BLOCK_SIZE & ~(fs->flash_parameters->write_block_size - 1U); in nvs_flash_cmp_const() 307 NVS_BLOCK_SIZE & ~(fs->flash_parameters->write_block_size - 1U); in nvs_flash_block_move() 353 if (nvs_flash_cmp_const(fs, addr, fs->flash_parameters->erase_value, in nvs_flash_erase_sector() [all …]
|
/Zephyr-latest/tests/drivers/flash/erase_blocks/src/ |
D | main.c | 71 const struct flash_parameters *parameters = flash_get_parameters(flash_controller); in test_flash_is_erased() 168 const struct flash_parameters *parameters = flash_get_parameters(flash_controller); in ZTEST() 209 const struct flash_parameters *parameters = flash_get_parameters(flash_controller); in ZTEST()
|
/Zephyr-latest/subsys/fs/zms/ |
D | zms.c | 118 return len & ~(fs->flash_parameters->write_block_size - 1U); in zms_round_down_write_block_size() 124 return (len + (fs->flash_parameters->write_block_size - 1U)) & in zms_round_up_write_block_size() 125 ~(fs->flash_parameters->write_block_size - 1U); in zms_round_up_write_block_size() 131 size_t write_block_size = fs->flash_parameters->write_block_size; in zms_al_size() 181 (void)memset(buf + len, fs->flash_parameters->erase_value, in zms_flash_al_wrt() 182 fs->flash_parameters->write_block_size - len); in zms_flash_al_wrt() 185 fs->flash_parameters->write_block_size); in zms_flash_al_wrt() 335 flash_params_get_erase_cap(fs->flash_parameters) & FLASH_ERASE_C_EXPLICIT; in zms_flash_erase_sector() 357 if (zms_flash_cmp_const(fs, addr, fs->flash_parameters->erase_value, fs->sector_size)) { in zms_flash_erase_sector() 679 memset(&garbage_ate, fs->flash_parameters->erase_value, sizeof(garbage_ate)); in zms_sector_close() [all …]
|