Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/powerpc/4xx/
Dreboot.txt3 By setting "reset_type" to one of the following values, the default
5 "reset_type":
/linux-4.4.14/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.4.14/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.4.14/drivers/net/ethernet/sfc/
Defx.h199 int efx_reset(struct efx_nic *efx, enum reset_type method);
200 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
201 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
205 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
Denum.h157 enum reset_type { enum
Dmcdi.h347 enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason);
348 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method);
Dnet_driver.h1230 enum reset_type (*map_reset_reason)(enum reset_type reason);
1232 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);
1896 enum reset_type reset_method = RESET_TYPE_INVISIBLE; in falcon_b0_test_chip()
1930 static enum reset_type falcon_map_reset_reason(enum reset_type reason) in falcon_map_reset_reason()
1974 static int __falcon_reset_hw(struct efx_nic *efx, enum reset_type method) in __falcon_reset_hw()
2055 static int falcon_reset_hw(struct efx_nic *efx, enum reset_type method) in falcon_reset_hw()
Defx.c2495 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down()
2517 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up()
2584 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset()
2687 enum reset_type method; in efx_reset_work()
2715 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset()
2717 enum reset_type method; in efx_schedule_reset()
Def10.c1049 static enum reset_type efx_ef10_map_reset_reason(enum reset_type reason) in efx_ef10_map_reset_reason()
1087 static int efx_ef10_reset(struct efx_nic *efx, enum reset_type reset_type) in efx_ef10_reset() argument
1089 int rc = efx_mcdi_reset(efx, reset_type); in efx_ef10_reset()
1094 if (reset_type == RESET_TYPE_WORLD && rc == -EPERM) in efx_ef10_reset()
1103 if ((reset_type == RESET_TYPE_ALL || in efx_ef10_reset()
1104 reset_type == RESET_TYPE_MCDI_TIMEOUT) && !rc) in efx_ef10_reset()
Dmcdi.c1637 enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason) in efx_mcdi_map_reset_reason()
1642 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method) in efx_mcdi_reset()
Dsiena.c97 enum reset_type reset_method = RESET_TYPE_ALL; in siena_test_chip()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v8.c64 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type,
351 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type, in kgd_hqd_destroy() argument
360 WREG32(mmCP_HQD_DEQUEUE_REQUEST, reset_type); in kgd_hqd_destroy()
Damdgpu_amdkfd_gfx_v7.c105 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type,
439 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type, in kgd_hqd_destroy() argument
449 WREG32(mmCP_HQD_DEQUEUE_REQUEST, reset_type); in kgd_hqd_destroy()
/linux-4.4.14/drivers/bluetooth/
Dbtintel.h61 __u8 reset_type; member
/linux-4.4.14/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h158 int (*hqd_destroy)(struct kgd_dev *kgd, uint32_t reset_type,
/linux-4.4.14/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.4.14/drivers/power/reset/
Dat91-reset.c41 enum reset_type { enum
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h193 enum reset_type { enum
562 enum reset_type ResetProgress;
Drtl_core.c1125 static enum reset_type _rtl92e_tx_check_stuck(struct net_device *dev) in _rtl92e_tx_check_stuck()
1181 static enum reset_type _rtl92e_rx_check_stuck(struct net_device *dev) in _rtl92e_rx_check_stuck()
1193 static enum reset_type _rtl92e_if_check_reset(struct net_device *dev) in _rtl92e_if_check_reset()
1196 enum reset_type TxResetType = RESET_TYPE_NORESET; in _rtl92e_if_check_reset()
1197 enum reset_type RxResetType = RESET_TYPE_NORESET; in _rtl92e_if_check_reset()
1387 enum reset_type ResetType = RESET_TYPE_NORESET; in _rtl92e_watchdog_wq_cb()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_kfd.c83 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type,
637 static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type, in kgd_hqd_destroy() argument
646 write_register(kgd, CP_HQD_DEQUEUE_REQUEST, reset_type); in kgd_hqd_destroy()
/linux-4.4.14/include/uapi/linux/wimax/
Di2400m.h526 __le32 reset_type; member
/linux-4.4.14/include/scsi/
Dscsi_host.h330 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
/linux-4.4.14/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.4.14/include/xen/interface/
Dplatform.h193 uint32_t reset_type; member
/linux-4.4.14/include/net/nfc/
Dnci.h231 __u8 reset_type; member
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.h622 enum reset_type { enum
1197 enum reset_type type);
Dmpt3sas_base.c3761 _base_send_ioc_reset(struct MPT3SAS_ADAPTER *ioc, u8 reset_type, int timeout, in _base_send_ioc_reset() argument
3767 if (reset_type != MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET) { in _base_send_ioc_reset()
3779 writel(reset_type << MPI2_DOORBELL_FUNCTION_SHIFT, in _base_send_ioc_reset()
4894 enum reset_type type) in _base_make_ioc_ready()
5530 enum reset_type type) in mpt3sas_base_hard_reset_handler()
/linux-4.4.14/include/linux/
Defi.h515 typedef void efi_reset_system_t (int reset_type, efi_status_t status,
531 int *reset_type);
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/arch/ia64/kernel/
Defi.c197 prefix##_reset_system (int reset_type, efi_status_t status, \
209 reset_type, status, data_size, adata); \
/linux-4.4.14/drivers/scsi/
Dhpsa.c2820 u8 reset_type, int reply_queue) in hpsa_send_reset() argument
2830 (void) fill_cmd(c, reset_type, h, NULL, 0, 0, in hpsa_send_reset()
2909 unsigned char *scsi3addr, u8 reset_type, int reply_queue) in hpsa_do_reset() argument
2947 rc = hpsa_send_reset(h, scsi3addr, reset_type, reply_queue); in hpsa_do_reset()
5440 u8 reset_type; in hpsa_eh_device_reset_handler() local
5480 reset_type = HPSA_DEVICE_RESET_MSG; in hpsa_eh_device_reset_handler()
5482 reset_type = HPSA_PHYS_TARGET_RESET; in hpsa_eh_device_reset_handler()
5485 reset_type == HPSA_DEVICE_RESET_MSG ? "logical " : "physical "); in hpsa_eh_device_reset_handler()
5491 rc = hpsa_do_reset(h, dev, dev->scsi3addr, reset_type, in hpsa_eh_device_reset_handler()
5494 reset_type == HPSA_DEVICE_RESET_MSG ? "logical " : "physical ", in hpsa_eh_device_reset_handler()
[all …]
Dips.h567 uint8_t reset_type; member
Dips.c5944 scb->cmd.ffdc.reset_type = 0x80; in ips_ffdc_reset()
5980 scb->cmd.ffdc.reset_type = 0; in ips_ffdc_time()
/linux-4.4.14/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.4.14/net/nfc/nci/
Dcore.c167 cmd.reset_type = NCI_RESET_TYPE_RESET_CONFIG; in nci_reset_req()
/linux-4.4.14/drivers/message/fusion/
Dmptbase.c180 static int SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag);
4239 SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) in SendIocReset() argument
4246 ioc->name, reset_type)); in SendIocReset()
4247 CHIPREG_WRITE32(&ioc->chip->Doorbell, reset_type<<MPI_DOORBELL_FUNCTION_SHIFT); in SendIocReset()
/linux-4.4.14/drivers/block/
Dcciss.c2685 u8 reset_type) in cciss_send_reset() argument
2695 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in cciss_send_reset()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c166 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type);
9489 static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type) in qla4xxx_host_reset() argument
9505 switch (reset_type) { in qla4xxx_host_reset()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h5273 u32 reset_type; member