Home
last modified time | relevance | path

Searched refs:reset_reason (Results 1 – 25 of 25) sorted by relevance

/linux/include/trace/events/
H A Dmptcp.h85 __field(u8, reset_reason)
104 __entry->reset_reason = mpext->reset_reason;
116 __entry->reset_transient, __entry->reset_reason,
/linux/drivers/watchdog/
H A Dziirave_wdt.c82 int reset_reason; member
493 ret = sysfs_emit(buf, "%s\n", ziirave_reasons[w_priv->reset_reason]); in ziirave_wdt_sysfs_show_reason()
500 static DEVICE_ATTR(reset_reason, S_IRUGO, ziirave_wdt_sysfs_show_reason,
692 w_priv->reset_reason = i2c_smbus_read_byte_data(client, in ziirave_wdt_probe()
694 if (w_priv->reset_reason < 0) { in ziirave_wdt_probe()
696 return w_priv->reset_reason; in ziirave_wdt_probe()
699 if (w_priv->reset_reason >= ARRAY_SIZE(ziirave_reasons) || in ziirave_wdt_probe()
700 !ziirave_reasons[w_priv->reset_reason]) { in ziirave_wdt_probe()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.h381 enum ena_regs_reset_reason_types reset_reason; member
407 enum ena_regs_reset_reason_types reset_reason) in ena_reset_device() argument
409 adapter->reset_reason = reset_reason; in ena_reset_device()
H A Dena_netdev.c50 enum ena_regs_reset_reason_types reset_reason = ENA_REGS_RESET_OS_NETDEV_WD; in ena_tx_timeout() local
77 reset_reason = ENA_REGS_RESET_SUSPECTED_POLL_STARVATION; in ena_tx_timeout()
86 ena_reset_device(adapter, reset_reason); in ena_tx_timeout()
2264 rc = ena_com_dev_reset(adapter->ena_dev, adapter->reset_reason); in ena_down()
3292 rc = ena_com_dev_reset(adapter->ena_dev, adapter->reset_reason); in ena_destroy_device()
3307 adapter->reset_reason = ENA_REGS_RESET_NORMAL; in ena_destroy_device()
3436 enum ena_regs_reset_reason_types reset_reason = ENA_REGS_RESET_MISS_TX_CMPL; in check_missing_comp_in_tx_queue() local
3487 reset_reason = ENA_REGS_RESET_SUSPECTED_POLL_STARVATION; in check_missing_comp_in_tx_queue()
3512 ena_reset_device(adapter, reset_reason); in check_missing_comp_in_tx_queue()
3998 adapter->reset_reason = ENA_REGS_RESET_NORMAL; in ena_probe()
[all …]
H A Dena_com.h431 enum ena_regs_reset_reason_types reset_reason);
H A Dena_com.c2084 enum ena_regs_reset_reason_types reset_reason) in ena_com_dev_reset() argument
2111 reset_val |= (reset_reason << ENA_REGS_DEV_CTL_RESET_REASON_SHIFT) & in ena_com_dev_reset()
/linux/include/net/
H A Dmptcp.h37 u8 reset_reason:4, member
68 u8 reset_reason:4, member
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c532 if (adapter->reset_reason != VNIC_RESET_FAILOVER && in free_long_term_buff()
533 adapter->reset_reason != VNIC_RESET_MOBILITY && in free_long_term_buff()
534 adapter->reset_reason != VNIC_RESET_TIMEOUT) in free_long_term_buff()
1895 if (adapter->reset_reason != VNIC_RESET_NON_FATAL) in __ibmvnic_open()
2808 reset_reason_to_string(rwi->reset_reason), in do_reset()
2811 adapter->reset_reason = rwi->reset_reason; in do_reset()
2813 if (!(adapter->reset_reason == VNIC_RESET_CHANGE_PARAM)) in do_reset()
2820 if (rwi->reset_reason == VNIC_RESET_FAILOVER) in do_reset()
2841 adapter->reset_reason != VNIC_RESET_MOBILITY && in do_reset()
2842 adapter->reset_reason != VNIC_RESET_FAILOVER) { in do_reset()
[all …]
/linux/net/mptcp/
H A Doptions.c345 mp_opt->reset_reason = *ptr; in mptcp_parse_option()
347 mp_opt->reset_transient, mp_opt->reset_reason); in mptcp_parse_option()
773 opts->reset_reason = subflow->reset_reason; in mptcp_established_options_rst()
1189 subflow->reset_reason = mp_opt.reset_reason; in mptcp_incoming_options()
1601 opts->reset_reason); in mptcp_write_options()
1648 reason = ext->reset_reason; in mptcp_get_reset_option()
H A Dsubflow.c131 mpext->reset_reason = reason; in subflow_add_reset_reason()
312 return sk_rst_convert_mptcp_reason(mpext->reset_reason); in mptcp_get_rst_reason()
566 subflow->reset_reason = MPTCP_RST_EMPTCP; in subflow_finish_connect()
580 subflow->reset_reason = MPTCP_RST_EMPTCP; in subflow_finish_connect()
930 subflow_add_reset_reason(skb, subflow->reset_reason); in subflow_syn_recv_sock()
1388 subflow->reset_reason = MPTCP_RST_EMIDDLEBOX; in subflow_check_data_avail()
1401 subflow->reset_reason = status == MAPPING_NODSS ? in subflow_check_data_avail()
H A Dprotocol.h161 reset_reason:4, member
551 u8 reset_reason:4;
634 reason = sk_rst_convert_mptcp_reason(subflow->reset_reason); in mptcp_send_active_reset_reason()
H A Dprotocol.c3630 subflow->reset_reason = MPTCP_RST_EMPTCP; in mptcp_finish_join()
3663 subflow->reset_reason = MPTCP_RST_EPROHIBIT; in mptcp_finish_join()
H A Dpm_netlink.c2188 if (nla_put_u32(skb, MPTCP_ATTR_RESET_REASON, sf->reset_reason)) in mptcp_event_sub_closed()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c14 mpi3mr_issue_reset(struct mpi3mr_ioc *mrioc, u16 reset_type, u16 reset_reason);
1265 u32 reset_reason) in mpi3mr_issue_and_process_mur() argument
1279 MPI3MR_RESET_REASON_IOCNUM_SHIFT) | reset_reason); in mpi3mr_issue_and_process_mur()
1621 u16 reset_reason) in mpi3mr_issue_reset() argument
1633 if (reset_reason == MPI3MR_RESET_FROM_FIRMWARE) { in mpi3mr_issue_reset()
1640 mpi3mr_reset_rc_name(reset_reason), reset_reason); in mpi3mr_issue_reset()
1679 MPI3MR_RESET_REASON_IOCNUM_SHIFT) | reset_reason); in mpi3mr_issue_reset()
1680 writel(reset_reason, &mrioc->sysif_regs->scratchpad[0]); in mpi3mr_issue_reset()
2712 u16 reset_reason = MPI3MR_RESET_FROM_FAULT_WATCH; in mpi3mr_watchdog_work() local
2787 reset_reason = MPI3MR_RESET_FROM_CIACTIV_FAULT; in mpi3mr_watchdog_work()
[all …]
H A Dmpi3mr.h1445 u16 reset_reason, u8 snapdump);
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif_shared.h252 enum rogue_context_reset_reason reset_reason; member
H A Dpvr_rogue_fwif_check.h281 OFFSET_CHECK(struct rogue_fwif_fwccb_cmd_context_reset_data, reset_reason, 4);
H A Dpvr_rogue_fwif.h1351 enum rogue_context_reset_reason reset_reason; member
/linux/drivers/infiniband/hw/efa/
H A Defa_com.h162 enum efa_regs_reset_reason_types reset_reason);
H A Defa_com.c1044 enum efa_regs_reset_reason_types reset_reason) in efa_com_dev_reset() argument
1067 EFA_SET(&reset_val, EFA_REGS_DEV_CTL_RESET_REASON, reset_reason); in efa_com_dev_reset()
/linux/Documentation/hwmon/
H A Dsg2042-mcu.rst53 reset_reason RO Reset reason for the last reset
/linux/drivers/input/misc/
H A Dims-pcu.c66 char reset_reason[IMS_PCU_BL_RESET_REASON_LEN]; member
1109 static IMS_PCU_RO_ATTR(reset_reason);
1832 snprintf(pcu->reset_reason, sizeof(pcu->reset_reason), in ims_pcu_get_device_info()
1842 pcu->reset_reason); in ims_pcu_get_device_info()
/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_dev.c1013 u32 fw_status, reset_reason; in bcm_vk_reset_successful() local
1034 reset_reason = (fw_status & VK_FWSTS_RESET_REASON_MASK); in bcm_vk_reset_successful()
1035 if ((reset_reason == VK_FWSTS_RESET_MBOX_DB) || in bcm_vk_reset_successful()
1036 (reset_reason == VK_FWSTS_RESET_UNKNOWN)) in bcm_vk_reset_successful()
/linux/drivers/hwmon/
H A Dsg2042-mcu.c151 static DEVICE_ATTR_RO(reset_reason);
/linux/drivers/soc/tegra/
H A Dpmc.c2171 static DEVICE_ATTR_RO(reset_reason);