Home
last modified time | relevance | path

Searched refs:protect_value (Results 1 – 2 of 2) sorted by relevance

/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/
Dflash_hal.c31 uint16_t protect_value = (cmp << 8) | param; in flash_hal_get_protect_value() local
33 return protect_value; in flash_hal_get_protect_value()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/flash/
Dflash_driver.c587 uint16_t protect_value = 0; in bk_flash_get_protect_type() local
590 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()