/Zephyr-latest/drivers/flash/ |
D | flash_hp_ra.c | 89 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 …]
|
D | flash_gd32.c | 24 static struct flash_gd32_data flash_data; variable 121 &flash_data, NULL, POST_KERNEL,
|
D | soc_flash_rv32m1.c | 133 static struct flash_priv flash_data; variable 165 &flash_data, NULL, POST_KERNEL,
|
D | soc_flash_b91.c | 221 static struct flash_b91_data flash_data; variable 235 NULL, &flash_data, NULL, POST_KERNEL,
|
D | soc_flash_lpc.c | 146 static struct flash_priv flash_data; variable 176 &flash_data, NULL, POST_KERNEL,
|
D | flash_stm32wba_fm.c | 166 static struct flash_stm32_priv flash_data = { variable 229 &flash_data, NULL, POST_KERNEL,
|
D | flash_ifx_cat1.c | 197 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,
|
D | soc_flash_numaker_rmc.c | 247 static struct flash_numaker_data flash_data; variable 277 DEVICE_DT_INST_DEFINE(0, flash_numaker_init, NULL, &flash_data, NULL, POST_KERNEL,
|
D | flash_hp_ra_ex_op.c | 273 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()
|
D | soc_flash_cc13xx_cc26xx.c | 301 static struct flash_priv flash_data; variable 303 DEVICE_DT_INST_DEFINE(0, flash_cc13xx_cc26xx_init, NULL, &flash_data, NULL,
|
D | soc_flash_numaker.c | 253 static struct flash_numaker_data flash_data; variable 283 DEVICE_DT_INST_DEFINE(0, flash_numaker_init, NULL, &flash_data, NULL, POST_KERNEL,
|
D | flash_ifx_cat1_qspi.c | 339 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,
|
D | soc_flash_mcux.c | 347 static struct flash_priv flash_data; variable 383 &flash_data, NULL, POST_KERNEL,
|
D | flash_stm32.c | 434 static struct flash_stm32_priv flash_data = { variable 527 &flash_data, NULL, POST_KERNEL,
|
D | flash_stm32h7x.c | 717 static struct flash_stm32_priv flash_data = { variable 773 DEVICE_DT_INST_DEFINE(0, stm32h7_flash_init, NULL, &flash_data, NULL, POST_KERNEL,
|