| /drivers/firmware/efi/ |
| A D | capsule.c | 51 bool efi_capsule_pending(int *reset_type) in efi_capsule_pending() argument 56 if (reset_type) in efi_capsule_pending() 57 *reset_type = efi_reset_type; in efi_capsule_pending() 223 int rv, reset_type; in efi_capsule_update() local 226 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update() 284 rv = efi_capsule_update_locked(capsule, sg_pages, reset_type); in efi_capsule_update()
|
| A D | runtime-wrappers.c | 109 int *reset_type; member 290 args->QUERY_CAPSULE_CAPS.reset_type); in efi_call_rts() 503 virt_efi_reset_system(int reset_type, efi_status_t status, in virt_efi_reset_system() argument 514 arch_efi_call_virt(efi.runtime, reset_system, reset_type, status, in virt_efi_reset_system() 540 int *reset_type) in virt_efi_query_capsule_caps() argument 550 max_size, reset_type); in virt_efi_query_capsule_caps()
|
| A D | capsule-loader.c | 55 &cap_info->reset_type); in __efi_capsule_setup_info() 139 !cap_info->reset_type ? "RESET_COLD" : in efi_capsule_submit_update() 140 cap_info->reset_type == 1 ? "RESET_WARM" : in efi_capsule_submit_update()
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | efx_common.h | 56 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method); 58 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok); 59 int efx_siena_reset(struct efx_nic *efx, enum reset_type method); 60 void efx_siena_schedule_reset(struct efx_nic *efx, enum reset_type type);
|
| A D | efx_common.c | 716 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method) in efx_siena_reset_down() 749 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_siena_reset_up() 816 int efx_siena_reset(struct efx_nic *efx, enum reset_type method) in efx_siena_reset() 883 enum reset_type method; in efx_reset_work() 911 void efx_siena_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_siena_schedule_reset() 913 enum reset_type method; in efx_siena_schedule_reset()
|
| /drivers/net/ethernet/sfc/ |
| A D | efx_common.h | 52 void efx_reset_down(struct efx_nic *efx, enum reset_type method); 54 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok); 55 int efx_reset(struct efx_nic *efx, enum reset_type method); 56 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
|
| A D | ef100_nic.c | 449 static enum reset_type ef100_map_reset_reason(enum reset_type reason) in ef100_map_reset_reason() 471 static int ef100_reset(struct efx_nic *efx, enum reset_type reset_type) in ef100_reset() argument 477 if (reset_type == RESET_TYPE_TX_WATCHDOG) { in ef100_reset() 479 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset() 481 } else if (reset_type == RESET_TYPE_ALL) { in ef100_reset() 482 rc = efx_mcdi_reset(efx, reset_type); in ef100_reset()
|
| A D | efx_common.c | 689 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down() 723 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up() 792 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset() 859 enum reset_type method; in efx_reset_work() 887 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset() 889 enum reset_type method; in efx_schedule_reset()
|
| /drivers/scsi/libsas/ |
| A D | sas_init.c | 223 enum phy_func reset_type; in transport_sas_phy_reset() local 226 reset_type = PHY_FUNC_HARD_RESET; in transport_sas_phy_reset() 228 reset_type = PHY_FUNC_LINK_RESET; in transport_sas_phy_reset() 239 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset() 250 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset() 291 enum phy_func reset_type; in sas_phy_reset() local 297 reset_type = PHY_FUNC_HARD_RESET; in sas_phy_reset() 299 reset_type = PHY_FUNC_LINK_RESET; in sas_phy_reset() 308 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset() 312 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_ptp.h | 312 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 314 enum ice_reset_req reset_type); 370 enum ice_reset_req reset_type) in ice_ptp_rebuild() argument 375 enum ice_reset_req reset_type) in ice_ptp_prepare_for_reset() argument
|
| A D | ice_main.c | 635 reset_type = ICE_RESET_CORER; in ice_do_reset() 659 ice_rebuild(pf, reset_type); in ice_do_reset() 688 reset_type = ICE_RESET_CORER; in ice_reset_subtask() 690 reset_type = ICE_RESET_GLOBR; in ice_reset_subtask() 692 reset_type = ICE_RESET_EMPR; in ice_reset_subtask() 704 ice_rebuild(pf, reset_type); in ice_reset_subtask() 722 reset_type = ICE_RESET_PFR; in ice_reset_subtask() 729 reset_type = ICE_RESET_CORER; in ice_reset_subtask() 731 reset_type = ICE_RESET_GLOBR; in ice_reset_subtask() 739 ice_do_reset(pf, reset_type); in ice_reset_subtask() [all …]
|
| /drivers/net/ethernet/sfc/falcon/ |
| A D | efx.h | 193 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);
|
| /drivers/watchdog/ |
| A D | aspeed_wdt.c | 390 const char *reset_type; in aspeed_wdt_probe() local 450 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe() 454 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe() 457 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe() 460 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe() 463 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
|
| /drivers/input/misc/ |
| A D | pm8941-pwrkey.c | 92 unsigned int reset_type; in pm8941_reboot_notify() local 119 reset_type = PON_PS_HOLD_TYPE_SHUTDOWN; in pm8941_reboot_notify() 124 reset_type = PON_PS_HOLD_TYPE_WARM_RESET; in pm8941_reboot_notify() 126 reset_type = PON_PS_HOLD_TYPE_HARD_RESET; in pm8941_reboot_notify() 133 reset_type); in pm8941_reboot_notify()
|
| /drivers/xen/ |
| A D | efi.c | 239 unsigned long count, u64 *max_size, int *reset_type) in xen_efi_query_capsule_caps() argument 254 *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; in xen_efi_query_capsule_caps() 259 static void xen_efi_reset_system(int reset_type, efi_status_t status, in xen_efi_reset_system() argument 262 switch (reset_type) { in xen_efi_reset_system()
|
| /drivers/net/wwan/t7xx/ |
| A D | t7xx_modem_ops.h | 81 enum reset_type { enum 93 int t7xx_reset_device(struct t7xx_pci_dev *t7xx_dev, enum reset_type type);
|
| /drivers/firmware/efi/test/ |
| A D | efi_test.h | 80 int *reset_type; member 85 int reset_type; member
|
| A D | efi_test.c | 556 efi.reset_system(resetsystem.reset_type, resetsystem.status, in efi_runtime_reset_system() 606 int i, reset_type; in efi_runtime_query_capsulecaps() local 645 &max_size, &reset_type); in efi_runtime_query_capsulecaps() 662 if (put_user(reset_type, qcaps.reset_type)) in efi_runtime_query_capsulecaps()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_ring.c | 831 u32 reset_type) in amdgpu_ring_is_reset_type_supported() argument 835 if (ring->adev->gfx.gfx_supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 839 if (ring->adev->gfx.compute_supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 843 if (ring->adev->sdma.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 848 if (ring->adev->vcn.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 852 if (ring->adev->jpeg.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_mbx.c | 127 int hclge_inform_vf_reset(struct hclge_vport *vport, u16 reset_type) in hclge_inform_vf_reset() argument 133 msg_data = cpu_to_le16(reset_type); in hclge_inform_vf_reset() 143 u16 reset_type; in hclge_inform_reset_assert_to_vf() local 147 if (hdev->reset_type == HNAE3_FUNC_RESET) in hclge_inform_reset_assert_to_vf() 148 reset_type = HNAE3_VF_PF_FUNC_RESET; in hclge_inform_reset_assert_to_vf() 149 else if (hdev->reset_type == HNAE3_FLR_RESET) in hclge_inform_reset_assert_to_vf() 150 reset_type = HNAE3_VF_FULL_RESET; in hclge_inform_reset_assert_to_vf() 152 reset_type = HNAE3_VF_FUNC_RESET; in hclge_inform_reset_assert_to_vf() 154 return hclge_inform_vf_reset(vport, reset_type); in hclge_inform_reset_assert_to_vf()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fw_reset.c | 100 u8 *reset_type, u8 *reset_state, u8 *reset_method) in mlx5_reg_mfrl_query() argument 112 if (reset_type) in mlx5_reg_mfrl_query() 113 *reset_type = MLX5_GET(mfrl_reg, out, reset_type); in mlx5_reg_mfrl_query() 122 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() argument 124 return mlx5_reg_mfrl_query(dev, reset_level, reset_type, NULL, NULL); in mlx5_fw_reset_query()
|
| A D | fw_reset.h | 9 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type);
|
| /drivers/net/ethernet/hisilicon/hibmcge/ |
| A D | hbg_err.c | 68 priv->reset_type = type; in hbg_reset_prepare() 85 type != priv->reset_type) in hbg_reset_done()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_mbx.c | 304 enum hnae3_reset_type reset_type; in hclgevf_mbx_async_handler() local 360 reset_type = in hclgevf_mbx_async_handler() 362 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
|
| A D | hclgevf_main.c | 1409 enum hnae3_reset_type reset_type) in hclgevf_set_reset_pending() argument 1415 if (reset_type != HNAE3_NONE_RESET) in hclgevf_set_reset_pending() 1429 if (hdev->reset_type == HNAE3_VF_RESET) in hclgevf_reset_wait() 1527 hdev->reset_type); in hclgevf_reset_prepare_wait() 1753 hdev->reset_type = rst_type; in hclgevf_reset_prepare_general() 1769 if (hdev->reset_type == HNAE3_FLR_RESET) in hclgevf_reset_prepare_general() 1785 hdev->reset_type = HNAE3_NONE_RESET; in hclgevf_reset_done() 1857 hdev->reset_type = in hclgevf_reset_service_task() 1901 hdev->reset_type = HNAE3_NONE_RESET; in hclgevf_reset_service_task() 2285 if (hdev->reset_type != HNAE3_VF_RESET) in hclgevf_ae_stop() [all …]
|