Home
last modified time | relevance | path

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

/drivers/scsi/libsas/
Dsas_init.c256 enum phy_func reset_type; in transport_sas_phy_reset() local
259 reset_type = PHY_FUNC_HARD_RESET; in transport_sas_phy_reset()
261 reset_type = PHY_FUNC_LINK_RESET; in transport_sas_phy_reset()
272 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
283 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset()
323 enum phy_func reset_type; in sas_phy_reset() local
329 reset_type = PHY_FUNC_HARD_RESET; in sas_phy_reset()
331 reset_type = PHY_FUNC_LINK_RESET; in sas_phy_reset()
340 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset()
344 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
Dsas_scsi_host.c493 static int sas_queue_reset(struct domain_device *dev, int reset_type, int lun, int wait) in sas_queue_reset() argument
509 !test_bit(reset_type, &dev->state)) { in sas_queue_reset()
514 set_bit(reset_type, &dev->state); in sas_queue_reset()
528 reset_type == SAS_DEV_LU_RESET ? "LUN" : "Bus", in sas_queue_reset()
/drivers/net/ethernet/sfc/
Defx.h124 extern int efx_reset(struct efx_nic *efx, enum reset_type method);
125 extern void efx_reset_down(struct efx_nic *efx, enum reset_type method);
126 extern int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
129 extern void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
Dsiena.c33 static int siena_reset_hw(struct efx_nic *efx, enum reset_type method);
173 enum reset_type reset_method = RESET_TYPE_ALL; in siena_test_chip()
203 static enum reset_type siena_map_reset_reason(enum reset_type reason) in siena_map_reset_reason()
233 static int siena_reset_hw(struct efx_nic *efx, enum reset_type method) in siena_reset_hw()
Dnet_driver.h981 enum reset_type (*map_reset_reason)(enum reset_type reason);
983 int (*reset)(struct efx_nic *efx, enum reset_type method);
Denum.h155 enum reset_type { enum
Dfalcon.c32 static int falcon_reset_hw(struct efx_nic *efx, enum reset_type method);
1043 enum reset_type reset_method = RESET_TYPE_INVISIBLE; in falcon_b0_test_chip()
1077 static enum reset_type falcon_map_reset_reason(enum reset_type reason) in falcon_map_reset_reason()
1122 static int __falcon_reset_hw(struct efx_nic *efx, enum reset_type method) in __falcon_reset_hw()
1203 static int falcon_reset_hw(struct efx_nic *efx, enum reset_type method) in falcon_reset_hw()
Defx.c2245 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down()
2263 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up()
2312 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset()
2396 enum reset_type method; in efx_reset_work()
2421 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset()
2423 enum reset_type method; in efx_schedule_reset()
/drivers/scsi/aic94xx/
Daic94xx_tmf.c187 int reset_type = (dev->dev_type == SAS_SATA_DEV || in asd_I_T_nexus_reset() local
193 reset_type ? "hard" : "soft", dev_name(&phy->dev)); in asd_I_T_nexus_reset()
194 res = sas_phy_reset(phy, reset_type); in asd_I_T_nexus_reset()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.h413 enum reset_type { enum
937 enum reset_type type);
Dmpt3sas_base.c3137 _base_send_ioc_reset(struct MPT3SAS_ADAPTER *ioc, u8 reset_type, int timeout, in _base_send_ioc_reset() argument
3143 if (reset_type != MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET) { in _base_send_ioc_reset()
3155 writel(reset_type << MPI2_DOORBELL_FUNCTION_SHIFT, in _base_send_ioc_reset()
4166 enum reset_type type) in _base_make_ioc_ready()
4742 enum reset_type type) in mpt3sas_base_hard_reset_handler()
/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h300 enum reset_type { enum
967 enum reset_type ResetProgress;
Drtl_core.c1364 static enum reset_type rtl819x_TxCheckStuck(struct net_device *dev) in rtl819x_TxCheckStuck()
1423 static enum reset_type rtl819x_RxCheckStuck(struct net_device *dev) in rtl819x_RxCheckStuck()
1435 static enum reset_type rtl819x_ifcheck_resetornot(struct net_device *dev) in rtl819x_ifcheck_resetornot()
1438 enum reset_type TxResetType = RESET_TYPE_NORESET; in rtl819x_ifcheck_resetornot()
1439 enum reset_type RxResetType = RESET_TYPE_NORESET; in rtl819x_ifcheck_resetornot()
1639 enum reset_type ResetType = RESET_TYPE_NORESET; in rtl819x_watchdog_wqcallback()
/drivers/scsi/mpt2sas/
Dmpt2sas_base.h508 enum reset_type { enum
1014 enum reset_type type);
Dmpt2sas_base.c2993 _base_send_ioc_reset(struct MPT2SAS_ADAPTER *ioc, u8 reset_type, int timeout, in _base_send_ioc_reset() argument
2999 if (reset_type != MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET) { in _base_send_ioc_reset()
3011 writel(reset_type << MPI2_DOORBELL_FUNCTION_SHIFT, in _base_send_ioc_reset()
4015 enum reset_type type) in _base_make_ioc_ready()
4591 enum reset_type type) in mpt2sas_base_hard_reset_handler()
/drivers/net/fddi/
Ddefxx.c1191 if (dfx_hw_dma_uninit(bp, bp->reset_type) != DFX_K_SUCCESS) in dfx_adap_init()
1423 bp->reset_type = PI_PDATA_A_RESET_M_SKIP_ST; /* skip self-test */ in dfx_open()
1699 bp->reset_type = 0; /* rerun on-board diagnostics */ in dfx_int_type_0_process()
1747 bp->reset_type = 0; /* rerun on-board diagnostics */ in dfx_int_type_0_process()
Ddefxx.h1755 u32 reset_type; /* skip or rerun diagnostics */ member
/drivers/net/wireless/ath/ath9k/
Dhw.c1470 int reset_type = ATH9K_RESET_WARM; in ath9k_hw_chip_reset() local
1474 reset_type = ATH9K_RESET_POWER_ON; in ath9k_hw_chip_reset()
1476 reset_type = ATH9K_RESET_COLD; in ath9k_hw_chip_reset()
1479 reset_type = ATH9K_RESET_COLD; in ath9k_hw_chip_reset()
1481 if (!ath9k_hw_set_reset_reg(ah, reset_type)) in ath9k_hw_chip_reset()
/drivers/scsi/
Dips.h567 uint8_t reset_type; member
Dhpsa.c3234 u8 reset_type) in hpsa_send_host_reset() argument
3244 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in hpsa_send_host_reset()
Dips.c5948 scb->cmd.ffdc.reset_type = 0x80; in ips_ffdc_reset()
5984 scb->cmd.ffdc.reset_type = 0; in ips_ffdc_time()
/drivers/scsi/mvsas/
Dmv_sas.c1483 int reset_type = (dev->dev_type == SAS_SATA_DEV || in mvs_debug_I_T_nexus_reset() local
1485 rc = sas_phy_reset(phy, reset_type); in mvs_debug_I_T_nexus_reset()
/drivers/message/fusion/
Dmptbase.c184 static int SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag);
4259 SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) in SendIocReset() argument
4266 ioc->name, reset_type)); in SendIocReset()
4267 CHIPREG_WRITE32(&ioc->chip->Doorbell, reset_type<<MPI_DOORBELL_FUNCTION_SHIFT); in SendIocReset()
/drivers/scsi/qla4xxx/
Dql4_os.c165 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type);
7747 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type) in qla4xxx_host_reset() argument
7763 switch (reset_type) { in qla4xxx_host_reset()
/drivers/block/
Dcciss.c2671 u8 reset_type) in cciss_send_reset() argument
2681 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in cciss_send_reset()