Lines Matching refs:index
142 if ((page_info_off.index > FLASH_HP_CF_BLOCK_32KB_DUAL_LOW_END && in flash_ra_erase()
143 page_info_off.index < FLASH_HP_CF_BLOCK_8KB_HIGH_START) || in flash_ra_erase()
144 (page_info_len.index > FLASH_HP_CF_BLOCK_32KB_DUAL_LOW_END && in flash_ra_erase()
145 page_info_len.index < FLASH_HP_CF_BLOCK_8KB_HIGH_START)) { in flash_ra_erase()
154 block_num = (uint32_t)((page_info_len.index) - page_info_off.index); in flash_ra_erase()
379 #define RA_FLASH_INIT(index) \ argument
380 struct flash_hp_ra_data flash_hp_ra_data_##index = {.area_address = DT_REG_ADDR(index), \
381 .area_size = DT_REG_SIZE(index)}; \
382 static struct flash_hp_ra_config flash_hp_ra_config_##index = { \
385 (CHECK_EQ(DT_REG_ADDR(index), FLASH_HP_DF_START)), 4, 128), \
389 DEVICE_DT_DEFINE(index, flash_ra_init, NULL, &flash_hp_ra_data_##index, \
390 &flash_hp_ra_config_##index, POST_KERNEL, CONFIG_FLASH_INIT_PRIORITY, \