/linux-6.1.9/arch/powerpc/kernel/ptrace/ |
D | ptrace-noadv.c | 38 void ppc_gethwdinfo(struct ppc_debug_info *dbginfo) in ppc_gethwdinfo() argument 40 dbginfo->version = 1; in ppc_gethwdinfo() 41 dbginfo->num_instruction_bps = 0; in ppc_gethwdinfo() 43 dbginfo->num_data_bps = nr_wp_slots(); in ppc_gethwdinfo() 45 dbginfo->num_data_bps = 0; in ppc_gethwdinfo() 46 dbginfo->num_condition_regs = 0; in ppc_gethwdinfo() 47 dbginfo->data_bp_alignment = sizeof(long); in ppc_gethwdinfo() 48 dbginfo->sizeof_condition = 0; in ppc_gethwdinfo() 50 dbginfo->features = PPC_DEBUG_FEATURE_DATA_BP_RANGE; in ppc_gethwdinfo() 52 dbginfo->features |= PPC_DEBUG_FEATURE_DATA_BP_DAWR; in ppc_gethwdinfo() [all …]
|
D | ptrace-adv.c | 59 void ppc_gethwdinfo(struct ppc_debug_info *dbginfo) in ppc_gethwdinfo() argument 61 dbginfo->version = 1; in ppc_gethwdinfo() 62 dbginfo->num_instruction_bps = CONFIG_PPC_ADV_DEBUG_IACS; in ppc_gethwdinfo() 63 dbginfo->num_data_bps = CONFIG_PPC_ADV_DEBUG_DACS; in ppc_gethwdinfo() 64 dbginfo->num_condition_regs = CONFIG_PPC_ADV_DEBUG_DVCS; in ppc_gethwdinfo() 65 dbginfo->data_bp_alignment = 4; in ppc_gethwdinfo() 66 dbginfo->sizeof_condition = 4; in ppc_gethwdinfo() 67 dbginfo->features = PPC_DEBUG_FEATURE_INSN_BP_RANGE | in ppc_gethwdinfo() 70 dbginfo->features |= PPC_DEBUG_FEATURE_DATA_BP_RANGE | in ppc_gethwdinfo()
|
D | ptrace.c | 90 struct ppc_debug_info dbginfo; in arch_ptrace() local 92 ppc_gethwdinfo(&dbginfo); in arch_ptrace() 94 if (copy_to_user(datavp, &dbginfo, in arch_ptrace()
|
D | ptrace-decl.h | 172 void ppc_gethwdinfo(struct ppc_debug_info *dbginfo);
|
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-hwbreak.c | 51 static void get_dbginfo(pid_t child_pid, struct ppc_debug_info *dbginfo) in get_dbginfo() argument 53 if (ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, dbginfo)) { in get_dbginfo() 59 static bool dawr_present(struct ppc_debug_info *dbginfo) in dawr_present() argument 61 return !!(dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_DAWR); in dawr_present() 570 run_tests(pid_t child_pid, struct ppc_debug_info *dbginfo, bool dawr) in run_tests() argument 576 if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) { in run_tests() 582 if (dbginfo->num_data_bps > 1) { in run_tests() 593 struct ppc_debug_info dbginfo; in ptrace_hwbreak() local 604 get_dbginfo(child_pid, &dbginfo); in ptrace_hwbreak() 605 SKIP_IF(dbginfo.num_data_bps == 0); in ptrace_hwbreak() [all …]
|
D | ptrace-perf-hwbreak.c | 622 static void get_dbginfo(pid_t child_pid, struct ppc_debug_info *dbginfo) in get_dbginfo() argument 624 if (ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, dbginfo)) { in get_dbginfo() 634 struct ppc_debug_info dbginfo; in ptrace_perf_hwbreak() local 643 get_dbginfo(child_pid, &dbginfo); in ptrace_perf_hwbreak() 644 SKIP_IF(dbginfo.num_data_bps <= 1); in ptrace_perf_hwbreak()
|
D | perf-hwbreak.c | 777 struct ppc_debug_info dbginfo; in get_nr_wps() local 794 if (ptrace(PPC_PTRACE_GETHWDBGINFO, child_pid, NULL, &dbginfo)) { in get_nr_wps() 799 *arch_31 = !!(dbginfo.features & PPC_DEBUG_FEATURE_DATA_BP_ARCH_31); in get_nr_wps() 800 return dbginfo.num_data_bps; in get_nr_wps()
|
/linux-6.1.9/drivers/media/rc/ |
D | ati_remote.c | 136 #define dbginfo(dev, format, arg...) \ macro 504 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report() 513 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report() 525 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | dm.c | 218 if (rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 5) in rtl92ee_dm_dig() 240 if (rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 5 && in rtl92ee_dm_dig() 480 if (rtlpriv->dm.dbginfo.num_non_be_pkt > 0x100) in rtl92ee_dm_check_edca_turbo() 482 rtlpriv->dm.dbginfo.num_non_be_pkt = 0; in rtl92ee_dm_check_edca_turbo()
|
D | trx.c | 256 rtl_priv(hw)->dm.dbginfo.num_qry_beacon_pkt++; in _rtl92ee_translate_rx_signal_stuff() 265 rtl_priv(hw)->dm.dbginfo.num_non_be_pkt++; in _rtl92ee_translate_rx_signal_stuff()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 748 if (rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 10) in rtl8821ae_dm_dig() 773 if ((rtlpriv->dm.dbginfo.num_qry_beacon_pkt < 10) && in rtl8821ae_dm_dig() 2500 if (rtlpriv->dm.dbginfo.num_non_be_pkt > 0x100) in rtl8821ae_dm_check_edca_turbo() 2502 rtlpriv->dm.dbginfo.num_non_be_pkt = 0; in rtl8821ae_dm_check_edca_turbo() 2782 rtlpriv->dm.dbginfo.num_qry_beacon_pkt = 0; in rtl8821ae_dm_watchdog()
|
D | trx.c | 315 rtl_priv(hw)->dm.dbginfo.num_qry_beacon_pkt++; in translate_rx_signal_stuff() 325 rtl_priv(hw)->dm.dbginfo.num_non_be_pkt++; in translate_rx_signal_stuff()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 233 rtl_priv(hw)->dm.dbginfo.num_qry_beacon_pkt++; in _rtl8723be_translate_rx_signal_stuff()
|
D | dm.c | 1271 rtlpriv->dm.dbginfo.num_qry_beacon_pkt = 0; in rtl8723be_dm_watchdog()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 1836 struct dm_phy_dbg_info dbginfo; member
|