Lines Matching full:wp
130 HWWatchpoint wp = { in insert_hw_watchpoint() local
144 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, PAC, 3); in insert_hw_watchpoint()
148 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, LSC, 1); in insert_hw_watchpoint()
149 wp.details.flags = BP_MEM_READ; in insert_hw_watchpoint()
152 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, LSC, 2); in insert_hw_watchpoint()
153 wp.details.flags = BP_MEM_WRITE; in insert_hw_watchpoint()
156 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, LSC, 3); in insert_hw_watchpoint()
157 wp.details.flags = BP_MEM_ACCESS; 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()
174 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, MASK, bits); in insert_hw_watchpoint()
175 wp.wcr = FIELD_DP64(wp.wcr, DBGWCR, BAS, 0xff); in insert_hw_watchpoint()
181 g_array_append_val(hw_watchpoints, wp); in insert_hw_watchpoint()
187 HWWatchpoint *wp = get_hw_wp(i); in check_watchpoint_in_range() local
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()