Home
last modified time | relevance | path

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

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/arch/risc-v/t-head/
A Drv_pmp.c118 cfg &= ~(mask << (offset * ENTRY_FLAG_SIZE)); in rvpmp_reg_write()
119 cfg |= attr << (offset * ENTRY_FLAG_SIZE); in rvpmp_reg_write()
129 cfg &= ~(mask << (offset * ENTRY_FLAG_SIZE)); in rvpmp_reg_write()
130 cfg |= attr << (offset * ENTRY_FLAG_SIZE); in rvpmp_reg_write()
140 cfg &= ~(mask << (offset * ENTRY_FLAG_SIZE)); in rvpmp_reg_write()
141 cfg |= attr << (offset * ENTRY_FLAG_SIZE); in rvpmp_reg_write()
151 cfg &= ~(mask << (offset * ENTRY_FLAG_SIZE)); in rvpmp_reg_write()
152 cfg |= attr << (offset * ENTRY_FLAG_SIZE); in rvpmp_reg_write()
170 cfg |= (attr << (offset * ENTRY_FLAG_SIZE)); in rvpmp_reg_write()
181 cfg |= attr << (offset * ENTRY_FLAG_SIZE); in rvpmp_reg_write()
[all …]
A Drv_pmp.h17 #define ENTRY_FLAG_SIZE (8) macro
20 #define ENTRY_IN_CFG_REG (__riscv_xlen / ENTRY_FLAG_SIZE)

Completed in 6 milliseconds