Searched refs:protect_value (Results 1 – 2 of 2) sorted by relevance
31 uint16_t protect_value = (cmp << 8) | param; in flash_hal_get_protect_value() local33 return protect_value; in flash_hal_get_protect_value()
587 uint16_t protect_value = 0; in bk_flash_get_protect_type() local590 protect_value = flash_hal_get_protect_value(&s_flash.hal, s_flash.flash_cfg->status_reg_size, in bk_flash_get_protect_type()593 if (protect_value == s_flash.flash_cfg->protect_all) in bk_flash_get_protect_type()595 else if (protect_value == s_flash.flash_cfg->protect_none) in bk_flash_get_protect_type()597 else if (protect_value == s_flash.flash_cfg->protect_half) in bk_flash_get_protect_type()599 else if (protect_value == s_flash.flash_cfg->unprotect_last_block) in bk_flash_get_protect_type()