Home
last modified time | relevance | path

Searched refs:flash_data (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_hp_ra.c89 struct flash_hp_ra_data *flash_data = dev->data; in flash_ra_read() local
91 if (!flash_ra_valid_range(flash_data->area_size, offset, len)) { in flash_ra_read()
99 LOG_DBG("flash: read 0x%lx, len: %u", (long)(offset + flash_data->area_address), len); in flash_ra_read()
101 memcpy(data, (uint8_t *)(offset + flash_data->area_address), len); in flash_ra_read()
108 struct flash_hp_ra_data *flash_data = dev->data; in flash_ra_erase() local
109 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_erase()
115 if (!flash_ra_valid_range(flash_data->area_size, offset, len)) { in flash_ra_erase()
123 LOG_DBG("flash: erase 0x%lx, len: %u", (long)(offset + flash_data->area_address), len); in flash_ra_erase()
160 (long)(flash_data->area_address + offset), block_num); in flash_ra_erase()
167 if (flash_data->FlashRegion == DATA_FLASH) { in flash_ra_erase()
[all …]
Dflash_gd32.c24 static struct flash_gd32_data flash_data; variable
121 &flash_data, NULL, POST_KERNEL,
Dsoc_flash_rv32m1.c133 static struct flash_priv flash_data; variable
165 &flash_data, NULL, POST_KERNEL,
Dsoc_flash_b91.c221 static struct flash_b91_data flash_data; variable
235 NULL, &flash_data, NULL, POST_KERNEL,
Dsoc_flash_lpc.c146 static struct flash_priv flash_data; variable
176 &flash_data, NULL, POST_KERNEL,
Dflash_stm32wba_fm.c166 static struct flash_stm32_priv flash_data = { variable
229 &flash_data, NULL, POST_KERNEL,
Dflash_ifx_cat1.c197 static struct ifx_cat1_flash_data flash_data; variable
203 DEVICE_DT_INST_DEFINE(0, ifx_cat1_flash_init, NULL, &flash_data, &ifx_cat1_flash_config,
Dsoc_flash_numaker_rmc.c247 static struct flash_numaker_data flash_data; variable
277 DEVICE_DT_INST_DEFINE(0, flash_numaker_init, NULL, &flash_data, NULL, POST_KERNEL,
Dflash_hp_ra_ex_op.c273 struct flash_hp_ra_data *flash_data = dev->data; in flash_ra_block_protect_get() local
274 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_block_protect_get()
343 struct flash_hp_ra_data *flash_data = dev->data; in flash_ra_block_protect_set() local
344 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_block_protect_set()
Dsoc_flash_cc13xx_cc26xx.c301 static struct flash_priv flash_data; variable
303 DEVICE_DT_INST_DEFINE(0, flash_cc13xx_cc26xx_init, NULL, &flash_data, NULL,
Dsoc_flash_numaker.c253 static struct flash_numaker_data flash_data; variable
283 DEVICE_DT_INST_DEFINE(0, flash_numaker_init, NULL, &flash_data, NULL, POST_KERNEL,
Dflash_ifx_cat1_qspi.c339 static struct ifx_cat1_flash_data flash_data; variable
345 DEVICE_DT_INST_DEFINE(0, ifx_cat1_flash_init, NULL, &flash_data, &flash_config, POST_KERNEL,
Dsoc_flash_mcux.c347 static struct flash_priv flash_data; variable
383 &flash_data, NULL, POST_KERNEL,
Dflash_stm32.c434 static struct flash_stm32_priv flash_data = { variable
527 &flash_data, NULL, POST_KERNEL,
Dflash_stm32h7x.c717 static struct flash_stm32_priv flash_data = { variable
773 DEVICE_DT_INST_DEFINE(0, stm32h7_flash_init, NULL, &flash_data, NULL, POST_KERNEL,