Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dhw_breakpoint.c85 GEN_READ_WB_REG_CASES(CSR_CFG_CTRL, CTRL, t, val); in write_wb_reg()
100 GEN_WRITE_WB_REG_CASES(CSR_CFG_CTRL, CTRL, t, val);
226 write_wb_reg(CSR_CFG_CTRL, i, 0, privilege); in hw_breakpoint_control()
232 write_wb_reg(CSR_CFG_CTRL, i, 1, ctrl | privilege); in hw_breakpoint_control()
244 write_wb_reg(CSR_CFG_CTRL, i, 0, 0); in hw_breakpoint_control()
249 write_wb_reg(CSR_CFG_CTRL, i, 1, 0);
455 write_wb_reg(CSR_CFG_CTRL, i, 0, CTRL_PLV_ENABLE); in update_bp_registers()
456 write_wb_reg(CSR_CFG_CTRL, i, 0, CTRL_PLV_ENABLE); in update_bp_registers()
458 ctrl = read_wb_reg(CSR_CFG_CTRL, i, 1); in update_bp_registers()
463 write_wb_reg(CSR_CFG_CTRL, in update_bp_registers()
[all...]
/linux/arch/loongarch/include/asm/
H A Dhw_breakpoint.h47 #define CSR_CFG_CTRL (CSR_CFG_MASK + LOONGARCH_MAX_BRP) macro
48 #define CSR_CFG_ASID (CSR_CFG_CTRL + LOONGARCH_MAX_WRP)