Lines Matching refs:e_ctx
370 struct flash_context *e_ctx = context; in erase_op() local
375 if (e_ctx->enable_time_limit) { in erase_op()
381 if (e_ctx->flash_addr == (off_t)NRF_UICR) { in erase_op()
398 if (e_ctx->flash_addr == e_ctx->flash_addr_next) { in erase_op()
399 nrfx_nvmc_page_partial_erase_init(e_ctx->flash_addr, in erase_op()
401 e_ctx->flash_addr_next += pg_size; in erase_op()
405 e_ctx->len -= pg_size; in erase_op()
406 e_ctx->flash_addr += pg_size; in erase_op()
409 (void)nrfx_nvmc_page_erase(e_ctx->flash_addr); in erase_op()
410 e_ctx->len -= pg_size; in erase_op()
411 e_ctx->flash_addr += pg_size; in erase_op()
419 if (e_ctx->enable_time_limit) { in erase_op()
427 } while (e_ctx->len > 0); in erase_op()
429 return (e_ctx->len > 0) ? FLASH_OP_ONGOING : FLASH_OP_DONE; in erase_op()