Home
last modified time | relevance | path

Searched refs:bp_info (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c140 struct ppc_hw_breakpoint *bp_info) in set_instruction_bp() argument
153 if (bp_info->addr >= TASK_SIZE) in set_instruction_bp()
156 if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) { in set_instruction_bp()
158 if (bp_info->addr2 >= TASK_SIZE) in set_instruction_bp()
164 child->thread.debug.iac1 = bp_info->addr; in set_instruction_bp()
165 child->thread.debug.iac2 = bp_info->addr2; in set_instruction_bp()
167 if (bp_info->addr_mode == in set_instruction_bp()
175 child->thread.debug.iac3 = bp_info->addr; in set_instruction_bp()
176 child->thread.debug.iac4 = bp_info->addr2; in set_instruction_bp()
178 if (bp_info->addr_mode == in set_instruction_bp()
[all …]
H A Dptrace-noadv.c197 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) in ppc_set_hwdebug() argument
208 if (bp_info->version != 1) in ppc_set_hwdebug()
213 if ((bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_RW) == 0 || in ppc_set_hwdebug()
214 (bp_info->trigger_type & ~PPC_BREAKPOINT_TRIGGER_RW) != 0 || in ppc_set_hwdebug()
215 bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE) in ppc_set_hwdebug()
218 if ((unsigned long)bp_info->addr >= TASK_SIZE) in ppc_set_hwdebug()
221 brk.address = ALIGN_DOWN(bp_info->addr, HW_BREAKPOINT_SIZE); in ppc_set_hwdebug()
225 if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ) in ppc_set_hwdebug()
227 if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE) in ppc_set_hwdebug()
230 if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE) in ppc_set_hwdebug()
[all …]
H A Dptrace.c142 struct ppc_hw_breakpoint bp_info; in arch_ptrace() local
144 if (copy_from_user(&bp_info, datavp, in arch_ptrace()
147 return ppc_set_hwdebug(child, &bp_info); in arch_ptrace()
H A Dptrace-decl.h169 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info);
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dguestdbg.c209 struct kvm_hw_bp_info_arch *bp_info = NULL; in kvm_s390_import_bp_data() local
244 bp_info = kmalloc_array(nr_bp, in kvm_s390_import_bp_data()
245 sizeof(*bp_info), in kvm_s390_import_bp_data()
247 if (!bp_info) { in kvm_s390_import_bp_data()
263 bp_info[nr_bp].len = bp_data[i].len; in kvm_s390_import_bp_data()
264 bp_info[nr_bp].addr = bp_data[i].addr; in kvm_s390_import_bp_data()
271 vcpu->arch.guestdbg.hw_bp_info = bp_info; in kvm_s390_import_bp_data()
278 kfree(bp_info); in kvm_s390_import_bp_data()
311 #define end_of_range(bp_info) (bp_info->addr + bp_info->len - 1) argument
316 struct kvm_hw_bp_info_arch *bp_info = vcpu->arch.guestdbg.hw_bp_info; in find_hw_bp() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/mp/
H A Dphl_test_mp.c129 u8 mp_bp_handler(void *priv, struct test_bp_info* bp_info) in mp_bp_handler() argument
134 PHL_DBG("%s: bp_info->type = %x\n", __FUNCTION__, bp_info->type); in mp_bp_handler()
136 switch(bp_info->type){ in mp_bp_handler()
147 for(i = 0; i < (bp_info->len/4); i ++) in mp_bp_handler()
149 *((u32 *)(bp_info->ptr)+i)); in mp_bp_handler()
152 bp_info->ptr, in mp_bp_handler()
153 bp_info->len, in mp_bp_handler()
168 bp_info->type); in mp_bp_handler()
172 bp_info->type); in mp_bp_handler()
427 struct test_bp_info bp_info; in phl_test_mp_cmd_process() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/mp/
H A Dphl_test_mp.c129 u8 mp_bp_handler(void *priv, struct test_bp_info* bp_info) in mp_bp_handler() argument
134 PHL_DBG("%s: bp_info->type = %x\n", __FUNCTION__, bp_info->type); in mp_bp_handler()
136 switch(bp_info->type){ in mp_bp_handler()
147 for(i = 0; i < (bp_info->len/4); i ++) in mp_bp_handler()
149 *((u32 *)(bp_info->ptr)+i)); in mp_bp_handler()
152 bp_info->ptr, in mp_bp_handler()
153 bp_info->len, in mp_bp_handler()
168 bp_info->type); in mp_bp_handler()
172 bp_info->type); in mp_bp_handler()
427 struct test_bp_info bp_info; in phl_test_mp_cmd_process() local
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dhw_breakpoint.c55 unsigned long bp_info; in __encode_dr7() local
57 bp_info = (len | type) & 0xf; in __encode_dr7()
58 bp_info <<= (DR_CONTROL_SHIFT + drnum * DR_CONTROL_SIZE); in __encode_dr7()
59 bp_info |= (DR_GLOBAL_ENABLE << (drnum * DR_ENABLE_SIZE)); in __encode_dr7()
61 return bp_info; in __encode_dr7()
79 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7() local
81 *len = (bp_info & 0xc) | 0x40; in decode_dr7()
82 *type = (bp_info & 0x3) | 0x80; in decode_dr7()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/verify/
H A Dphl_test_verify.c98 u8 verify_bp_handler(void *ctx, struct test_bp_info *bp_info) in verify_bp_handler() argument
103 PHL_INFO("%s: bp_info->type = %x\n", __FUNCTION__, bp_info->type); in verify_bp_handler()
105 switch (bp_info->type) { in verify_bp_handler()
328 struct test_bp_info bp_info; in phl_test_verify_cmd_process() local
347 _os_mem_set(phl_com->drv_priv, &bp_info, 0, sizeof(struct test_bp_info)); in phl_test_verify_cmd_process()
348 bp_info.type = BP_INFO_TYPE_MP_CMD_EVENT; in phl_test_verify_cmd_process()
349 rtw_phl_test_setup_bp(phl_com, &bp_info, submdid); in phl_test_verify_cmd_process()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/verify/
H A Dphl_test_verify.c98 u8 verify_bp_handler(void *ctx, struct test_bp_info *bp_info) in verify_bp_handler() argument
103 PHL_INFO("%s: bp_info->type = %x\n", __FUNCTION__, bp_info->type); in verify_bp_handler()
105 switch (bp_info->type) { in verify_bp_handler()
328 struct test_bp_info bp_info; in phl_test_verify_cmd_process() local
347 _os_mem_set(phl_com->drv_priv, &bp_info, 0, sizeof(struct test_bp_info)); in phl_test_verify_cmd_process()
348 bp_info.type = BP_INFO_TYPE_MP_CMD_EVENT; in phl_test_verify_cmd_process()
349 rtw_phl_test_setup_bp(phl_com, &bp_info, submdid); in phl_test_verify_cmd_process()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_test_def.h99 u8 (*bp_handler)(void *priv, struct test_bp_info* bp_info);
132 struct test_bp_info* bp_info,
146 #define rtw_phl_test_setup_bp(phl_com, bp_info, submdid) true argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_test_def.h99 u8 (*bp_handler)(void *priv, struct test_bp_info* bp_info);
132 struct test_bp_info* bp_info,
146 #define rtw_phl_test_setup_bp(phl_com, bp_info, submdid) true argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/
H A Dhal_trx_8852b.c467 struct test_bp_info bp_info; in hal_handle_rx_buffer_8852b() local
527 bp_info.type = BP_INFO_TYPE_MP_RX_PHYSTS; in hal_handle_rx_buffer_8852b()
528 bp_info.ptr = (void *)(ppdu_sts.phy_st_ptr); in hal_handle_rx_buffer_8852b()
529 bp_info.len = ppdu_sts.phy_st_size; in hal_handle_rx_buffer_8852b()
530 rtw_phl_test_setup_bp(phl_com, &bp_info, TEST_SUB_MODULE_MP); in hal_handle_rx_buffer_8852b()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/
H A Dhal_trx_8852b.c467 struct test_bp_info bp_info; in hal_handle_rx_buffer_8852b() local
527 bp_info.type = BP_INFO_TYPE_MP_RX_PHYSTS; in hal_handle_rx_buffer_8852b()
528 bp_info.ptr = (void *)(ppdu_sts.phy_st_ptr); in hal_handle_rx_buffer_8852b()
529 bp_info.len = ppdu_sts.phy_st_size; in hal_handle_rx_buffer_8852b()
530 rtw_phl_test_setup_bp(phl_com, &bp_info, TEST_SUB_MODULE_MP); in hal_handle_rx_buffer_8852b()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/
H A Dtest_module.c621 struct test_bp_info* bp_info, in rtw_phl_test_setup_bp() argument
644 (obj->test_obj.ctrl.bp_handler(obj->test_obj.priv, bp_info)):\ in rtw_phl_test_setup_bp()
H A Dcmd_disp_test.c951 u8 disp_test_bp_handler(void *priv, struct test_bp_info* bp_info) in disp_test_bp_handler() argument
H A Dtrx_test.c1266 u8 trx_test_bp_handler(void *priv, struct test_bp_info* bp_info) in trx_test_bp_handler() argument
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/
H A Dtest_module.c621 struct test_bp_info* bp_info, in rtw_phl_test_setup_bp() argument
644 (obj->test_obj.ctrl.bp_handler(obj->test_obj.priv, bp_info)):\ in rtw_phl_test_setup_bp()
H A Dcmd_disp_test.c951 u8 disp_test_bp_handler(void *priv, struct test_bp_info* bp_info) in disp_test_bp_handler() argument
H A Dtrx_test.c1266 u8 trx_test_bp_handler(void *priv, struct test_bp_info* bp_info) in trx_test_bp_handler() argument