reset_type
ath_reset(struct ath_softc *sc, ATH_RESET_TYPE reset_type,
ath_stoprecv(sc, (reset_type != ATH_RESET_NOLOSS));
ath_draintxq(sc, reset_type); /* stop xmit side */
if (reset_type == ATH_RESET_NOLOSS) {
ath_legacy_tx_drain(struct ath_softc *sc, ATH_RESET_TYPE reset_type)
if (reset_type == ATH_RESET_NOLOSS) {
ATH_RESET_TYPE reset_type);
ath_edma_tx_drain(struct ath_softc *sc, ATH_RESET_TYPE reset_type)
if (reset_type == ATH_RESET_NOLOSS) {
ATH_RESET_TYPE reset_type);
enum ice_reset_req reset_type = ICE_RESET_INVAL;
reset_type = ICE_RESET_PFR;
reset_type = ICE_RESET_CORER;
reset_type = ICE_RESET_GLOBR;
if (reset_type == ICE_RESET_INVAL) {
if (reset_type == ICE_RESET_PFR) {
status = ice_reset(hw, reset_type);
command_struct->reset_type = 0x0;
u_int8_t reset_type;
SCI_SAS_TASK_MGMT_FUNCTION_T reset_type;
scif_parms->sas.reset_type = SCI_SAS_LOGICAL_UNIT_RESET;
if (scif_parms->sas.reset_type != SCI_SAS_ABORT_TASK
&& scif_parms->sas.reset_type != SCI_SAS_ABORT_TASK_SET
&& scif_parms->sas.reset_type != SCI_SAS_CLEAR_TASK_SET
&& scif_parms->sas.reset_type != SCI_SAS_LOGICAL_UNIT_RESET
&& scif_parms->sas.reset_type != SCI_SAS_I_T_NEXUS_RESET
&& scif_parms->sas.reset_type != SCI_SAS_CLEAR_ACA
&& scif_parms->sas.reset_type != SCI_SAS_QUERY_TASK
&& scif_parms->sas.reset_type != SCI_SAS_QUERY_TASK_SET
&& scif_parms->sas.reset_type != SCI_SAS_QUERY_ASYNCHRONOUS_EVENT
&& scif_parms->sas.reset_type != SCI_SAS_HARD_RESET)
const char *reset_type;
reset_type = "CORER";
reset_type = "GLOBR";
reset_type = "EMPR";
reset_type = "POR";
device_printf(dev, "Reset Requested! (%s)\n", reset_type);
U16 reset_type;
static const char *mpi3mr_reset_type_name(U16 reset_type)
if (mpi3mr_reset_types[i].reset_type == reset_type) {
static int mpi3mr_issue_reset(struct mpi3mr_softc *sc, U16 reset_type,
if ((reset_type != MPI3_SYSIF_HOST_DIAG_RESET_ACTION_SOFT_RESET) &&
(reset_type != MPI3_SYSIF_HOST_DIAG_RESET_ACTION_DIAG_FAULT))
mpi3mr_reset_type_name(reset_type),
"host_diagnostic(0x%08x)\n", mpi3mr_reset_type_name(reset_type),
if (reset_type == MPI3_SYSIF_HOST_DIAG_RESET_ACTION_DIAG_FAULT)
mpi3mr_regwrite(sc, MPI3_SYSIF_HOST_DIAG_OFFSET, host_diagnostic | reset_type);
if (reset_type == MPI3_SYSIF_HOST_DIAG_RESET_ACTION_SOFT_RESET) {
} else if (reset_type == MPI3_SYSIF_HOST_DIAG_RESET_ACTION_DIAG_FAULT) {
static int mpi3mr_issue_reset(struct mpi3mr_softc *sc, U16 reset_type,
void trigger_reset_from_watchdog(struct mpi3mr_softc *sc, U8 reset_type, U16 reset_reason);
switch (adpreset.reset_type) {
adpreset.reset_type);
sc->name, rval, adpreset.reset_type);
U8 reset_type;
trigger_reset_from_watchdog(struct mpi3mr_softc *sc, U8 reset_type, U16 reset_reason)
sc->reset.type = reset_type;
u32 reset_type;
u32 reset_type; /* 0xe20838 */
#define RESET_TYPE *((u32*)(STRUCT_OFFSET(reset_type)))
pqi_reset_reg.bits.reset_type = PQI_RESET_TYPE_HARD_RESET;
uint32_t reset_type : 3;
uftdi_reset(struct ucom_softc *ucom, int reset_type)
USETW(req.wValue, reset_type);
void sbi_system_reset(u_long reset_type, u_long reset_reason);
sbi_system_reset(u_long reset_type, u_long reset_reason)
reset_type, reset_reason);