Lines Matching +full:enable +full:- +full:ssc

4  * Copyright Mian-M. Hamayun 2013, Virtual Open Systems
8 * See the COPYING file in the top-level directory.
26 * simple un-linked breakpoints (i.e. we don't chain breakpoints
34 * +------+------+-------+-----+----+------+-----+------+-----+---+
35 * | RES0 | BT | LBN | SSC | HMC| RES0 | BAS | RES0 | PMC | E |
36 * +------+------+-------+-----+----+------+-----+------+-----+---+
40 * SSC/HMC/PMC: Security, Higher and Priv access control (Table D-12)
42 * E: Enable bit
47 * +------+-----------+----------+-----+
49 * +------+-----------+----------+-----+
60 .bcr = 0x1, /* BCR E=1, enable */ in insert_hw_breakpoint()
65 return -ENOBUFS; in insert_hw_breakpoint()
86 for (i = 0; i < hw_breakpoints->len; i++) { in delete_hw_breakpoint()
88 if (brk->bvr == pc) { in delete_hw_breakpoint()
93 return -ENOENT; in delete_hw_breakpoint()
110 * +------+-------+------+----+-----+-----+-----+-----+-----+-----+---+
111 * | RES0 | MASK | RES0 | WT | LBN | SSC | HMC | BAS | LSC | PAC | E |
112 * +------+-------+------+----+-----+-----+-----+-----+-----+-----+---+
115 * WT: 0 - unlinked, 1 - linked (not currently used)
117 * SSC/HMC/PAC: Security, Higher and Priv access control (Table D2-11)
120 * E: Enable
131 .wcr = R_DBGWCR_E_MASK, /* E=1, enable */ in insert_hw_watchpoint()
137 return -ENOBUFS; in insert_hw_watchpoint()
141 * HMC=0 SSC=0 PAC=3 will hit EL0 or EL1, any security state, in insert_hw_watchpoint()
165 int bas = (1 << len) - 1; in insert_hw_watchpoint()
167 wp.wcr = deposit32(wp.wcr, 5 + off, 8 - off, bas); in insert_hw_watchpoint()
173 wp.wvr &= ~((1 << bits) - 1); in insert_hw_watchpoint()
177 return -ENOBUFS; in insert_hw_watchpoint()
188 uint64_t addr_top, addr_bottom = wp->wvr; in check_watchpoint_in_range()
189 int bas = extract32(wp->wcr, 5, 8); in check_watchpoint_in_range()
190 int mask = extract32(wp->wcr, 24, 4); in check_watchpoint_in_range()
226 return -ENOENT; in delete_hw_watchpoint()
235 if (bp->bvr == pc) { in find_hw_breakpoint()
248 return &get_hw_wp(i)->details; in find_hw_watchpoint()