Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/libsas/
Dsas_init.c235 enum phy_func reset_type; in transport_sas_phy_reset() local
238 reset_type = PHY_FUNC_HARD_RESET; in transport_sas_phy_reset()
240 reset_type = PHY_FUNC_LINK_RESET; in transport_sas_phy_reset()
251 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
262 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset()
302 enum phy_func reset_type; in sas_phy_reset() local
308 reset_type = PHY_FUNC_HARD_RESET; in sas_phy_reset()
310 reset_type = PHY_FUNC_LINK_RESET; in sas_phy_reset()
319 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset()
323 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
Dsas_scsi_host.c445 static int sas_queue_reset(struct domain_device *dev, int reset_type, in sas_queue_reset() argument
462 !test_bit(reset_type, &dev->state)) { in sas_queue_reset()
467 set_bit(reset_type, &dev->state); in sas_queue_reset()
481 reset_type == SAS_DEV_LU_RESET ? "LUN" : "Bus", in sas_queue_reset()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/4xx/
Dreboot.txt3 By setting "reset_type" to one of the following values, the default
5 "reset_type":
/linux-4.1.27/drivers/net/ethernet/sfc/
Defx.h185 int efx_reset(struct efx_nic *efx, enum reset_type method);
186 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
187 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
191 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
Denum.h156 enum reset_type { enum
Dmcdi.h339 enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason);
340 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method);
Dnet_driver.h1238 enum reset_type (*map_reset_reason)(enum reset_type reason);
1240 int (*reset)(struct efx_nic *efx, enum reset_type method);
Dfalcon.c302 static int falcon_reset_hw(struct efx_nic *efx, enum reset_type method);
1883 enum reset_type reset_method = RESET_TYPE_INVISIBLE; in falcon_b0_test_chip()
1917 static enum reset_type falcon_map_reset_reason(enum reset_type reason) in falcon_map_reset_reason()
1961 static int __falcon_reset_hw(struct efx_nic *efx, enum reset_type method) in __falcon_reset_hw()
2042 static int falcon_reset_hw(struct efx_nic *efx, enum reset_type method) in falcon_reset_hw()
Defx.c2385 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down()
2406 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up()
2459 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset()
2562 enum reset_type method; in efx_reset_work()
2590 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset()
2592 enum reset_type method; in efx_schedule_reset()
Dmcdi.c1526 enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason) in efx_mcdi_map_reset_reason()
1531 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method) in efx_mcdi_reset()
Def10.c735 static int efx_ef10_reset(struct efx_nic *efx, enum reset_type reset_type) in efx_ef10_reset() argument
737 int rc = efx_mcdi_reset(efx, reset_type); in efx_ef10_reset()
745 if ((reset_type == RESET_TYPE_ALL || in efx_ef10_reset()
746 reset_type == RESET_TYPE_MCDI_TIMEOUT) && !rc) in efx_ef10_reset()
Dsiena.c96 enum reset_type reset_method = RESET_TYPE_ALL; in siena_test_chip()
/linux-4.1.27/drivers/firmware/efi/
Druntime-wrappers.c244 static void virt_efi_reset_system(int reset_type, in virt_efi_reset_system() argument
252 __efi_call_virt(reset_system, reset_type, status, data_size, data); in virt_efi_reset_system()
275 int *reset_type) in virt_efi_query_capsule_caps() argument
285 reset_type); in virt_efi_query_capsule_caps()
/linux-4.1.27/drivers/input/misc/
Dpm8941-pwrkey.c63 unsigned int reset_type; in pm8941_reboot_notify() local
90 reset_type = PON_PS_HOLD_TYPE_SHUTDOWN; in pm8941_reboot_notify()
94 reset_type = PON_PS_HOLD_TYPE_HARD_RESET; in pm8941_reboot_notify()
101 reset_type); in pm8941_reboot_notify()
/linux-4.1.27/arch/powerpc/sysdev/
Dppc4xx_soc.c201 u32 reset_type = DBCR0_RST_SYSTEM; in ppc4xx_reset_system() local
215 reset_type = prop[0] << 28; in ppc4xx_reset_system()
218 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); in ppc4xx_reset_system()
/linux-4.1.27/drivers/xen/
Defi.c244 int *reset_type) in xen_efi_query_capsule_caps() argument
259 *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; in xen_efi_query_capsule_caps()
/linux-4.1.27/drivers/bluetooth/
Dbtintel.h61 __u8 reset_type; member
/linux-4.1.27/arch/x86/platform/efi/
Defi_64.c535 efi_thunk_reset_system(int reset_type, efi_status_t status, in efi_thunk_reset_system() argument
542 efi_thunk(reset_system, reset_type, status, data_size, phys_data); in efi_thunk_reset_system()
581 int *reset_type) in efi_thunk_query_capsule_caps() argument
/linux-4.1.27/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h155 int (*hqd_destroy)(struct kgd_dev *kgd, uint32_t reset_type,
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_kfd.c76 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type,
587 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type, in kgd_hqd_destroy() argument
596 write_register(kgd, CP_HQD_DEQUEUE_REQUEST, reset_type); in kgd_hqd_destroy()
/linux-4.1.27/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()
/linux-4.1.27/drivers/power/reset/
Dat91-reset.c40 enum reset_type { enum
/linux-4.1.27/include/uapi/linux/wimax/
Di2400m.h526 __le32 reset_type; member
/linux-4.1.27/include/scsi/
Dscsi_host.h330 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
/linux-4.1.27/include/xen/interface/
Dplatform.h193 uint32_t reset_type; member
/linux-4.1.27/arch/ia64/hp/sim/boot/
Dfw-emu.c133 efi_reset_system (int reset_type, efi_status_t status, unsigned long data_size, efi_char16_t *data) in efi_reset_system() argument
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h291 enum reset_type { enum
957 enum reset_type ResetProgress;
Drtl_core.c1358 static enum reset_type rtl819x_TxCheckStuck(struct net_device *dev) in rtl819x_TxCheckStuck()
1418 static enum reset_type rtl819x_RxCheckStuck(struct net_device *dev) in rtl819x_RxCheckStuck()
1430 static enum reset_type rtl819x_ifcheck_resetornot(struct net_device *dev) in rtl819x_ifcheck_resetornot()
1433 enum reset_type TxResetType = RESET_TYPE_NORESET; in rtl819x_ifcheck_resetornot()
1434 enum reset_type RxResetType = RESET_TYPE_NORESET; in rtl819x_ifcheck_resetornot()
1638 enum reset_type ResetType = RESET_TYPE_NORESET; in rtl819x_watchdog_wqcallback()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_base.h511 enum reset_type { enum
1034 enum reset_type type);
Dmpt2sas_base.c3091 _base_send_ioc_reset(struct MPT2SAS_ADAPTER *ioc, u8 reset_type, int timeout, in _base_send_ioc_reset() argument
3097 if (reset_type != MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET) { in _base_send_ioc_reset()
3109 writel(reset_type << MPI2_DOORBELL_FUNCTION_SHIFT, in _base_send_ioc_reset()
4217 enum reset_type type) in _base_make_ioc_ready()
4809 enum reset_type type) in mpt2sas_base_hard_reset_handler()
/linux-4.1.27/include/net/nfc/
Dnci.h229 __u8 reset_type; member
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_base.h435 enum reset_type { enum
976 enum reset_type type);
Dmpt3sas_base.c3270 _base_send_ioc_reset(struct MPT3SAS_ADAPTER *ioc, u8 reset_type, int timeout, in _base_send_ioc_reset() argument
3276 if (reset_type != MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET) { in _base_send_ioc_reset()
3288 writel(reset_type << MPI2_DOORBELL_FUNCTION_SHIFT, in _base_send_ioc_reset()
4338 enum reset_type type) in _base_make_ioc_ready()
4932 enum reset_type type) in mpt3sas_base_hard_reset_handler()
/linux-4.1.27/include/linux/
Defi.h511 typedef void efi_reset_system_t (int reset_type, efi_status_t status,
527 int *reset_type);
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhw.c1468 int reset_type = ATH9K_RESET_WARM; in ath9k_hw_chip_reset() local
1472 reset_type = ATH9K_RESET_POWER_ON; in ath9k_hw_chip_reset()
1474 reset_type = ATH9K_RESET_COLD; in ath9k_hw_chip_reset()
1477 reset_type = ATH9K_RESET_COLD; in ath9k_hw_chip_reset()
1479 if (!ath9k_hw_set_reset_reg(ah, reset_type)) in ath9k_hw_chip_reset()
/linux-4.1.27/drivers/net/fddi/
Ddefxx.c1261 if (dfx_hw_dma_uninit(bp, bp->reset_type) != DFX_K_SUCCESS) in dfx_adap_init()
1493 bp->reset_type = PI_PDATA_A_RESET_M_SKIP_ST; /* skip self-test */ in dfx_open()
1769 bp->reset_type = 0; /* rerun on-board diagnostics */ in dfx_int_type_0_process()
1817 bp->reset_type = 0; /* rerun on-board diagnostics */ in dfx_int_type_0_process()
Ddefxx.h1757 u32 reset_type; /* skip or rerun diagnostics */ member
/linux-4.1.27/arch/ia64/kernel/
Defi.c197 prefix##_reset_system (int reset_type, efi_status_t status, \
209 reset_type, status, data_size, adata); \
/linux-4.1.27/drivers/scsi/
Dips.h567 uint8_t reset_type; member
Dhpsa.c2197 u8 reset_type) in hpsa_send_reset() argument
2213 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to LUN reset */ in hpsa_send_reset()
5167 u8 reset_type) in hpsa_send_host_reset() argument
5177 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()
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_sas.c1386 int reset_type = (dev->dev_type == SAS_SATA_DEV || in mvs_debug_I_T_nexus_reset() local
1388 rc = sas_phy_reset(phy, reset_type); in mvs_debug_I_T_nexus_reset()
/linux-4.1.27/net/nfc/nci/
Dcore.c152 cmd.reset_type = NCI_RESET_TYPE_RESET_CONFIG; in nci_reset_req()
/linux-4.1.27/drivers/message/fusion/
Dmptbase.c184 static int SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag);
4250 SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) in SendIocReset() argument
4257 ioc->name, reset_type)); in SendIocReset()
4258 CHIPREG_WRITE32(&ioc->chip->Doorbell, reset_type<<MPI_DOORBELL_FUNCTION_SHIFT); in SendIocReset()
/linux-4.1.27/drivers/block/
Dcciss.c2669 u8 reset_type) in cciss_send_reset() argument
2679 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in cciss_send_reset()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c166 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type);
9497 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type) in qla4xxx_host_reset() argument
9513 switch (reset_type) { in qla4xxx_host_reset()