Searched refs:status_reg_size (Results 1 – 4 of 4) sorted by relevance
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/ |
D | flash_hal.c | 26 uint16_t flash_hal_get_protect_value(flash_hal_t *hal, uint8_t status_reg_size, uint8_t protect_pos… in flash_hal_get_protect_value() argument 28 uint16_t sr_value = flash_ll_read_status_reg(hal->hw, status_reg_size); in flash_hal_get_protect_value()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/flash/ |
D | flash_driver.c | 253 uint32_t status_reg = flash_hal_read_status_reg(&s_flash.hal, s_flash.flash_cfg->status_reg_size); in flash_set_protect_type() 259 …OGI("write status reg:%x, status_reg_size:%d\r\n", status_reg, s_flash.flash_cfg->status_reg_size); in flash_set_protect_type() 260 flash_hal_write_status_reg(&s_flash.hal, s_flash.flash_cfg->status_reg_size, status_reg); in flash_set_protect_type() 269 status_reg = flash_hal_read_status_reg(&s_flash.hal, s_flash.flash_cfg->status_reg_size); in flash_set_qe() 275 flash_hal_write_status_reg(&s_flash.hal, s_flash.flash_cfg->status_reg_size, status_reg); in flash_set_qe() 571 uint16_t sr_data = flash_hal_read_status_reg(&s_flash.hal, s_flash.flash_cfg->status_reg_size); in bk_flash_read_status_reg() 579 flash_hal_write_status_reg(&s_flash.hal, s_flash.flash_cfg->status_reg_size, status_reg_data); in bk_flash_write_status_reg() 590 protect_value = flash_hal_get_protect_value(&s_flash.hal, s_flash.flash_cfg->status_reg_size, in bk_flash_get_protect_type()
|
D | flash_driver.h | 45 uint8_t status_reg_size; /**< the byte count of status register */ member
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/include/ |
D | flash_hal.h | 55 uint16_t flash_hal_get_protect_value(flash_hal_t *hal, uint8_t status_reg_size,
|