Home
last modified time | relevance | path

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

123

/drivers/firmware/efi/
Dcapsule.c50 bool efi_capsule_pending(int *reset_type) in efi_capsule_pending() argument
55 if (reset_type) in efi_capsule_pending()
56 *reset_type = efi_reset_type; in efi_capsule_pending()
222 int rv, reset_type; in efi_capsule_update() local
225 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update()
272 rv = efi_capsule_update_locked(capsule, sg_pages, reset_type); in efi_capsule_update()
Dcapsule-loader.c54 &cap_info->reset_type); in __efi_capsule_setup_info()
138 !cap_info->reset_type ? "RESET_COLD" : in efi_capsule_submit_update()
139 cap_info->reset_type == 1 ? "RESET_WARM" : in efi_capsule_submit_update()
Druntime-wrappers.c412 static void virt_efi_reset_system(int reset_type, in virt_efi_reset_system() argument
423 __efi_call_virt(reset_system, reset_type, status, data_size, data); in virt_efi_reset_system()
447 int *reset_type) in virt_efi_query_capsule_caps() argument
457 max_size, reset_type, NULL); in virt_efi_query_capsule_caps()
/drivers/watchdog/
Daspeed_wdt.c248 const char *reset_type; in aspeed_wdt_probe() local
291 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe()
295 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe()
298 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe()
301 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe()
304 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
/drivers/scsi/libsas/
Dsas_init.c230 enum phy_func reset_type; in transport_sas_phy_reset() local
233 reset_type = PHY_FUNC_HARD_RESET; in transport_sas_phy_reset()
235 reset_type = PHY_FUNC_LINK_RESET; in transport_sas_phy_reset()
246 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
257 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset()
297 enum phy_func reset_type; in sas_phy_reset() local
303 reset_type = PHY_FUNC_HARD_RESET; in sas_phy_reset()
305 reset_type = PHY_FUNC_LINK_RESET; in sas_phy_reset()
314 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset()
318 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
Dsas_scsi_host.c418 static int sas_queue_reset(struct domain_device *dev, int reset_type, in sas_queue_reset() argument
435 !test_bit(reset_type, &dev->state)) { in sas_queue_reset()
440 set_bit(reset_type, &dev->state); in sas_queue_reset()
454 reset_type == SAS_DEV_LU_RESET ? "LUN" : "Bus", in sas_queue_reset()
/drivers/xen/
Defi.c238 unsigned long count, u64 *max_size, int *reset_type) in xen_efi_query_capsule_caps() argument
253 *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; in xen_efi_query_capsule_caps()
258 static void xen_efi_reset_system(int reset_type, efi_status_t status, in xen_efi_reset_system() argument
261 switch (reset_type) { in xen_efi_reset_system()
/drivers/net/ethernet/sfc/falcon/
Defx.h193 int ef4_reset(struct ef4_nic *efx, enum reset_type method);
194 void ef4_reset_down(struct ef4_nic *efx, enum reset_type method);
195 int ef4_reset_up(struct ef4_nic *efx, enum reset_type method, bool ok);
199 void ef4_schedule_reset(struct ef4_nic *efx, enum reset_type type);
Denum.h150 enum reset_type { enum
Dnet_driver.h1049 enum reset_type (*map_reset_reason)(enum reset_type reason);
1051 int (*reset)(struct ef4_nic *efx, enum reset_type method);
/drivers/input/misc/
Dpm8941-pwrkey.c65 unsigned int reset_type; in pm8941_reboot_notify() local
92 reset_type = PON_PS_HOLD_TYPE_SHUTDOWN; in pm8941_reboot_notify()
96 reset_type = PON_PS_HOLD_TYPE_HARD_RESET; in pm8941_reboot_notify()
103 reset_type); in pm8941_reboot_notify()
/drivers/net/ethernet/sfc/
Defx.h229 int efx_reset(struct efx_nic *efx, enum reset_type method);
230 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
231 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
235 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
Dmcdi.h358 enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason);
359 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method);
Denum.h153 enum reset_type { enum
/drivers/firmware/efi/test/
Defi_test.h80 int *reset_type; member
85 int reset_type; member
Defi_test.c564 efi.reset_system(resetsystem.reset_type, resetsystem.status, in efi_runtime_reset_system()
614 int i, reset_type; in efi_runtime_query_capsulecaps() local
653 &max_size, &reset_type); in efi_runtime_query_capsulecaps()
670 if (put_user(reset_type, qcaps.reset_type)) in efi_runtime_query_capsulecaps()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h591 return (ae_dev && (ae_dev->reset_type == HNAE3_FUNC_RESET || in hns3_dev_ongoing_func_reset()
592 ae_dev->reset_type == HNAE3_FLR_RESET || in hns3_dev_ongoing_func_reset()
593 ae_dev->reset_type == HNAE3_VF_FUNC_RESET || in hns3_dev_ongoing_func_reset()
594 ae_dev->reset_type == HNAE3_VF_FULL_RESET || in hns3_dev_ongoing_func_reset()
595 ae_dev->reset_type == HNAE3_VF_PF_FUNC_RESET)); in hns3_dev_ongoing_func_reset()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c89 enum hnae3_reset_type reset_type; in hclge_inform_reset_assert_to_vf() local
95 if (hdev->reset_type == HNAE3_FUNC_RESET) in hclge_inform_reset_assert_to_vf()
96 reset_type = HNAE3_VF_PF_FUNC_RESET; in hclge_inform_reset_assert_to_vf()
97 else if (hdev->reset_type == HNAE3_FLR_RESET) in hclge_inform_reset_assert_to_vf()
98 reset_type = HNAE3_VF_FULL_RESET; in hclge_inform_reset_assert_to_vf()
100 reset_type = HNAE3_VF_FUNC_RESET; in hclge_inform_reset_assert_to_vf()
102 memcpy(&msg_data[0], &reset_type, sizeof(u16)); in hclge_inform_reset_assert_to_vf()
Dhclge_err.c1484 enum hnae3_reset_type reset_type = HNAE3_NONE_RESET; in hclge_log_and_clear_rocee_ras_error() local
1508 reset_type = HNAE3_FUNC_RESET; in hclge_log_and_clear_rocee_ras_error()
1517 reset_type = HNAE3_GLOBAL_RESET; in hclge_log_and_clear_rocee_ras_error()
1542 return reset_type; in hclge_log_and_clear_rocee_ras_error()
1575 enum hnae3_reset_type reset_type; in hclge_handle_rocee_ras_error() local
1581 reset_type = hclge_log_and_clear_rocee_ras_error(hdev); in hclge_handle_rocee_ras_error()
1582 if (reset_type != HNAE3_NONE_RESET) in hclge_handle_rocee_ras_error()
1583 set_bit(reset_type, &ae_dev->hw_err_reset_req); in hclge_handle_rocee_ras_error()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c253 enum hnae3_reset_type reset_type; in hclgevf_mbx_async_handler() local
304 reset_type = (enum hnae3_reset_type)msg_q[1]; in hclgevf_mbx_async_handler()
305 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
/drivers/bluetooth/
Dbtintel.h46 __u8 reset_type; member
58 __u8 reset_type; member
/drivers/net/ethernet/intel/ice/
Dice_main.c46 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type);
525 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() argument
530 dev_dbg(dev, "reset_type 0x%x requested\n", reset_type); in ice_do_reset()
536 if (ice_reset(hw, reset_type)) { in ice_do_reset()
537 dev_err(dev, "reset %d failed\n", reset_type); in ice_do_reset()
551 if (reset_type == ICE_RESET_PFR) { in ice_do_reset()
553 ice_rebuild(pf, reset_type); in ice_do_reset()
566 enum ice_reset_req reset_type = ICE_RESET_INVAL; in ice_reset_subtask() local
581 reset_type = ICE_RESET_CORER; in ice_reset_subtask()
583 reset_type = ICE_RESET_GLOBR; in ice_reset_subtask()
[all …]
/drivers/scsi/aacraid/
Dsrc.c768 static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_src_restart_adapter() argument
782 if (bled >= 2 && dev->sa_firmware && reset_type & HW_IOP_RESET) in aac_src_restart_adapter()
783 reset_type &= ~HW_IOP_RESET; in aac_src_restart_adapter()
787 dev_err(&dev->pdev->dev, "Controller reset type is %d\n", reset_type); in aac_src_restart_adapter()
789 if (reset_type & HW_IOP_RESET) { in aac_src_restart_adapter()
811 if (reset_type & HW_SOFT_RESET) { in aac_src_restart_adapter()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.h42 enum kfd_preempt_type reset_type,
/drivers/scsi/aic94xx/
Daic94xx_tmf.c168 int reset_type = (dev->dev_type == SAS_SATA_DEV || in asd_I_T_nexus_reset() local
174 reset_type ? "hard" : "soft", dev_name(&phy->dev)); in asd_I_T_nexus_reset()
175 res = sas_phy_reset(phy, reset_type); in asd_I_T_nexus_reset()

123