Home
last modified time | relevance | path

Searched refs:reset_cause (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/arch/arm/mach-imx/
H A Dcpu.c28 static u32 reset_cause = -1; variable
34 if (reset_cause == -1) { in get_imx_reset_cause()
35 reset_cause = readl(&src_regs->srsr); in get_imx_reset_cause()
38 writel(reset_cause, &src_regs->srsr); in get_imx_reset_cause()
42 return reset_cause; in get_imx_reset_cause()
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dsoc.c173 static u32 reset_cause = -1; variable
188 reset_cause = cause1; in get_reset_cause()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c1329 if (!dev->reset_cause[RESET_CAUSE_RESET_FAILED]) in mt7603_pse_reset()
1338 dev->reset_cause[RESET_CAUSE_RESET_FAILED]++; in mt7603_pse_reset()
1341 dev->reset_cause[RESET_CAUSE_RESET_FAILED] = 0; in mt7603_pse_reset()
1345 if (dev->reset_cause[RESET_CAUSE_RESET_FAILED] >= 3) in mt7603_pse_reset()
1346 dev->reset_cause[RESET_CAUSE_RESET_FAILED] = 0; in mt7603_pse_reset()
1468 if (dev->reset_cause[RESET_CAUSE_RESET_FAILED] || in mt7603_mac_watchdog_reset()
1472 if (!dev->reset_cause[RESET_CAUSE_RESET_FAILED]) { in mt7603_mac_watchdog_reset()
1617 dev->reset_cause[cause]++; in mt7603_watchdog_check()
1874 dev->reset_cause[RESET_CAUSE_RESET_FAILED]) { in mt7603_mac_work()
H A Ddebugfs.c25 dev->reset_cause[i]); in mt7603_reset_read()
H A Dmt7603.h157 unsigned int reset_cause[__RESET_CAUSE_MAX]; member
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.c1227 int reset_cause = atomic_read(&dev->sram_ecc_flag) ? in kfd_signal_reset_event() local
1234 hw_exception_data.reset_cause = reset_cause; in kfd_signal_reset_event()
1261 reset_cause == KFD_HW_EXCEPTION_ECC) { in kfd_signal_reset_event()
1296 hw_exception_data.reset_cause = KFD_HW_EXCEPTION_ECC; in kfd_signal_poison_consumed_event()
/openbmc/linux/drivers/accel/habanalabs/include/common/
H A Dhl_boot_if.h601 __u8 reset_cause; member
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Ddebug.c738 static const char * const reset_cause[__RESET_TYPE_MAX] = { in read_file_reset() local
756 for (i = 0; i < ARRAY_SIZE(reset_cause); i++) { in read_file_reset()
757 if (!reset_cause[i]) in read_file_reset()
760 seq_printf(file, "%17s: %2d\n", reset_cause[i], in read_file_reset()
/openbmc/linux/include/uapi/linux/
H A Dkfd_ioctl.h319 __u32 reset_cause; member
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_htt_stats.h1986 u32 reset_cause; member
H A Ddebugfs_htt_stats.c4075 htt_stats_buf->reset_cause); in htt_print_phy_reset_stats_tlv()
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h5419 uint16_t reset_cause; member
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dfirmware_if.c2654 msg->reset_cause = *(__u8 *) data; in hl_fw_dynamic_send_msg()