Lines Matching +full:rdp1 +full:- +full:enable +full:- +full:byte
6 * SPDX-License-Identifier: Apache-2.0
40 /* as flash node property 'write-block-size' */
54 /* flash sectore Nb [0-7] */
60 /* Differentiate between arm trust-zone non-secure/secure, and others. */
61 #if defined(FLASH_NSSR_NSBSY) || defined(FLASH_NSSR_BSY) /* For mcu w. TZ in non-secure mode */
69 * secured or non-secured mode
75 #define FLASH_STM32_PRIV(dev) ((struct flash_stm32_priv *)((dev)->data))
76 #define FLASH_STM32_REGS(dev) (FLASH_STM32_PRIV(dev)->regs)
156 /* STM32G0 HAL FLASH_FLAG_x don't represent bit-masks, need FLASH_SR_x instead */
260 #error RDP1 byte has to be different than RDP0 and RDP2 byte
271 flash_get_page_info_by_offs(dev, offset + len - 1, &info)); in flash_stm32_range_exists()
285 k_sem_take(&FLASH_STM32_PRIV(dev)->sem, K_FOREVER); in _flash_stm32_sem_take()
292 k_sem_give(&FLASH_STM32_PRIV(dev)->sem); in _flash_stm32_sem_give()
295 #define flash_stm32_sem_init(dev) k_sem_init(&FLASH_STM32_PRIV(dev)->sem, 1, 1)
327 int flash_stm32_option_bytes_lock(const struct device *dev, bool enable);