Home
last modified time | relevance | path

Searched refs:brps (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Ddebug-sr.h95 int brps, wrps; in __debug_save_state() local
98 brps = (aa64dfr0 >> 12) & 0xf; in __debug_save_state()
101 save_debug(dbg->dbg_bcr, dbgbcr, brps); in __debug_save_state()
102 save_debug(dbg->dbg_bvr, dbgbvr, brps); in __debug_save_state()
113 int brps, wrps; in __debug_restore_state() local
117 brps = (aa64dfr0 >> 12) & 0xf; in __debug_restore_state()
120 restore_debug(dbg->dbg_bcr, dbgbcr, brps); in __debug_restore_state()
121 restore_debug(dbg->dbg_bvr, dbgbvr, brps); in __debug_restore_state()
/openbmc/qemu/target/arm/
H A Ddebug_helper.c177 int brps = arm_num_brps(cpu); in linked_bp_matches() local
190 if (lbn >= brps || lbn < (brps - ctx_cmps)) { in linked_bp_matches()
1166 int wrps, brps, ctx_cmps; in define_debug_regs()
1219 brps = arm_num_brps(cpu); in define_debug_regs()
1223 assert(ctx_cmps <= brps); in define_debug_regs()
1234 for (i = 0; i < brps; i++) { in define_debug_regs()
1165 int wrps, brps, ctx_cmps; define_debug_regs() local
H A Dkvm.c418 int brps = FIELD_EX64(ahcf->isar.id_aa64dfr0, ID_AA64DFR0, BRPS); in kvm_arm_get_host_cpu_features() local
427 dbgdidr = FIELD_DP32(dbgdidr, DBGDIDR, BRPS, brps); in kvm_arm_get_host_cpu_features()
/openbmc/linux/drivers/spi/
H A Dspi-sh-msiof.c270 u32 brps, scr; in sh_msiof_spi_set_clk_regs() local
285 brps = (div + 1) >> div_pow; in sh_msiof_spi_set_clk_regs()
287 brps = div; in sh_msiof_spi_set_clk_regs()
289 for (; brps > 32; div_pow++) in sh_msiof_spi_set_clk_regs()
290 brps = (brps + 1) >> 1; in sh_msiof_spi_set_clk_regs()
296 brps = 32; in sh_msiof_spi_set_clk_regs()
299 t->effective_speed_hz = parent_rate / (brps << div_pow); in sh_msiof_spi_set_clk_regs()
301 scr = sh_msiof_spi_div_array[div_pow] | SISCR_BRPS(brps); in sh_msiof_spi_set_clk_regs()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Ddebug-exceptions.c105 uint8_t brps, wrps, i; in GEN_DEBUG_WRITE_REG() local
119 brps = FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_BRPS), dfr0); in GEN_DEBUG_WRITE_REG()
120 for (i = 0; i <= brps; i++) { in GEN_DEBUG_WRITE_REG()
/openbmc/linux/arch/arm/kernel/
H A Dhw_breakpoint.c214 int brps = get_num_brp_resources(); in get_num_brps() local
215 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps()