Home
last modified time | relevance | path

Searched refs:flash_parameters (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-latest/include/zephyr/fs/
Dnvs.h61 const struct flash_parameters *flash_parameters; member
Dzms.h60 const struct flash_parameters *flash_parameters; member
/Zephyr-latest/include/zephyr/drivers/
Dflash.h59 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/
Dflash_gd32.c26 static const struct flash_parameters flash_gd32_parameters = {
93 static const struct flash_parameters*
Dflash_util.c29 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()
Dflash_esp32.c46 static const struct flash_parameters flash_esp32_parameters = {
139 static const struct flash_parameters *
Dsoc_flash_rv32m1.c31 static const struct flash_parameters flash_mcux_parameters = {
125 static const struct flash_parameters *
Dflash_cadence_qspi_nor.c30 static const struct flash_parameters flash_cad_parameters = {
104 static const struct flash_parameters *
Dsoc_flash_nrf_mram.c147 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()
Dsoc_flash_b91.c32 static const struct flash_parameters flash_b91_parameters = {
197 static const struct flash_parameters *
Dflash_max32.c19 struct flash_parameters parameters;
115 static const struct flash_parameters *api_get_parameters(const struct device *dev) in api_get_parameters()
Dsoc_flash_lpc.c37 static const struct flash_parameters flash_lpc_parameters = {
138 static const struct flash_parameters *
Dflash_hp_ra.h81 struct flash_parameters flash_ra_parameters;
Dflash_stm32wba_fm.c30 static const struct flash_parameters flash_stm32_parameters = {
158 static const struct flash_parameters *
Dflash_ambiq.c48 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()
Dflash_gecko.c28 static const struct flash_parameters flash_gecko_parameters = {
186 static const struct flash_parameters *
Dflash_ifx_cat1.c34 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()
Dflash_si32.c39 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()
Dsoc_flash_numaker_rmc.c29 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()
Dflash_mcux_flexspi_mx25um51345g.c72 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 = { \
Dsoc_flash_cc13xx_cc26xx.c30 static const struct flash_parameters flash_cc13xx_cc26xx_parameters = {
268 static const struct flash_parameters *
Dsoc_flash_numaker.c29 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/
Dnvs.c91 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/
Dmain.c71 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/
Dzms.c118 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 …]

123