Home
last modified time | relevance | path

Searched refs:ctrl_reg (Results 1 – 4 of 4) sorted by relevance

/arch/arm/kernel/
Dhw_breakpoint.c306 u32 ctrl_reg; in get_max_wp_len() local
315 ctrl_reg = encode_ctrl_reg(ctrl); in get_max_wp_len()
318 write_wb_reg(ARM_BASE_WCR, ctrl_reg); in get_max_wp_len()
319 if ((read_wb_reg(ARM_BASE_WCR) & ctrl_reg) == ctrl_reg) in get_max_wp_len()
696 u32 val, ctrl_reg, alignment_mask; in watchpoint_handler() local
733 ctrl_reg = read_wb_reg(ARM_BASE_WCR + i); in watchpoint_handler()
734 decode_ctrl_reg(ctrl_reg, &ctrl); in watchpoint_handler()
801 u32 ctrl_reg, val, addr; in breakpoint_handler() local
828 ctrl_reg = read_wb_reg(ARM_BASE_BCR + i); in breakpoint_handler()
829 decode_ctrl_reg(ctrl_reg, &ctrl); in breakpoint_handler()
/arch/arm64/kernel/
Dhw_breakpoint.c240 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local
246 ctrl_reg = AARCH64_DBG_REG_BCR; in hw_breakpoint_control()
253 ctrl_reg = AARCH64_DBG_REG_WCR; in hw_breakpoint_control()
279 write_wb_reg(ctrl_reg, i, in hw_breakpoint_control()
284 write_wb_reg(ctrl_reg, i, 0); in hw_breakpoint_control()
630 u32 ctrl_reg; in breakpoint_handler() local
654 ctrl_reg = read_wb_reg(AARCH64_DBG_REG_BCR, i); in breakpoint_handler()
655 decode_ctrl_reg(ctrl_reg, &ctrl); in breakpoint_handler()
741 u32 ctrl_reg; in watchpoint_handler() local
772 ctrl_reg = read_wb_reg(AARCH64_DBG_REG_WCR, i); in watchpoint_handler()
[all …]
/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c178 u32 ctrl_reg, type; in mpc52xx_extirq_set_type() local
194 ctrl_reg = in_be32(&intr->ctrl); in mpc52xx_extirq_set_type()
195 ctrl_reg &= ~(0x3 << (22 - (l2irq * 2))); in mpc52xx_extirq_set_type()
196 ctrl_reg |= (type << (22 - (l2irq * 2))); in mpc52xx_extirq_set_type()
197 out_be32(&intr->ctrl, ctrl_reg); in mpc52xx_extirq_set_type()
/arch/arc/mm/
Dcache_arc700.c314 unsigned int ctrl_reg; in __dc_entire_op() local
317 ctrl_reg = __before_dc_op(cacheop); in __dc_entire_op()
326 __after_dc_op(cacheop, ctrl_reg); in __dc_entire_op()
339 unsigned int ctrl_reg; in __dc_line_op() local
343 ctrl_reg = __before_dc_op(cacheop); in __dc_line_op()
347 __after_dc_op(cacheop, ctrl_reg); in __dc_line_op()