Searched refs:bps_ns (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_hp_ra_ex_op.c | 275 flash_ra_cf_block_map bps_ns; in flash_ra_block_protect_get() local 278 err = R_FLASH_HP_BlockProtectGet(&dev_ctrl->flash_ctrl, (uint32_t *)&bps_ns, NULL, NULL, in flash_ra_block_protect_get() 280 memcpy(&response->protected_enabled, &bps_ns, sizeof(flash_ra_cf_block_map)); in flash_ra_block_protect_get() 345 flash_ra_cf_block_map bps_ns; in flash_ra_block_protect_set() local 348 err = R_FLASH_HP_BlockProtectGet(&dev_ctrl->flash_ctrl, (uint32_t *)&bps_ns, NULL, NULL, in flash_ra_block_protect_set() 357 bps_ns.BPS[0] &= ~(request->protect_enable.BPS[0]); in flash_ra_block_protect_set() 358 bps_ns.BPS[1] &= ~(request->protect_enable.BPS[1]); in flash_ra_block_protect_set() 359 bps_ns.BPS[2] &= ~(request->protect_enable.BPS[2]); in flash_ra_block_protect_set() 360 bps_ns.BPS[3] &= ~(request->protect_enable.BPS[3]); in flash_ra_block_protect_set() 363 bps_ns.BPS[0] |= (request->protect_disable.BPS[0]); in flash_ra_block_protect_set() [all …]
|