| /linux/drivers/firmware/efi/ |
| H 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()
|
| H 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()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H 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);
|
| H 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()
|
| /linux/Documentation/devicetree/bindings/powerpc/4xx/ |
| H A D | reboot.txt | 3 By setting "reset_type" to one of the following values, the default 5 "reset_type":
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_init.c | 224 enum phy_func reset_type; in transport_sas_phy_reset() local 227 reset_type = PHY_FUNC_HARD_RESET; in transport_sas_phy_reset() 229 reset_type = PHY_FUNC_LINK_RESET; in transport_sas_phy_reset() 240 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset() 251 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset() 292 enum phy_func reset_type; in sas_phy_reset() local 298 reset_type = PHY_FUNC_HARD_RESET; in sas_phy_reset() 300 reset_type = PHY_FUNC_LINK_RESET; in sas_phy_reset() 309 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset() 313 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.h | 315 void ice_ptp_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 317 enum ice_reset_req reset_type); 376 enum ice_reset_req reset_type) in ice_ptp_rebuild() argument 381 enum ice_reset_req reset_type) in ice_ptp_prepare_for_reset() argument
|
| /linux/drivers/net/wwan/t7xx/ |
| H 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);
|
| /linux/arch/powerpc/platforms/44x/ |
| H A D | soc.c | 197 u32 reset_type = DBCR0_RST_SYSTEM; in ppc4xx_reset_system() local 211 reset_type = prop[0] << 28; in ppc4xx_reset_system() 214 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); in ppc4xx_reset_system()
|
| /linux/drivers/watchdog/ |
| H A D | aspeed_wdt.c | 407 const char *reset_type; in aspeed_wdt_probe() local 467 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe() 471 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe() 474 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe() 477 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe() 480 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
|
| /linux/drivers/xen/ |
| H 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()
|
| /linux/drivers/firmware/efi/test/ |
| H A D | efi_test.h | 80 int *reset_type; member 85 int reset_type; member
|
| H 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()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H 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()
|
| /linux/drivers/net/ethernet/hisilicon/hibmcge/ |
| H A D | hbg_err.c | 68 priv->reset_type = type; in hbg_reset_prepare() 85 type != priv->reset_type) in hbg_reset_done()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ring.c | 904 u32 reset_type) in amdgpu_ring_is_reset_type_supported() 908 if (ring->adev->gfx.gfx_supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 912 if (ring->adev->gfx.compute_supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 916 if (ring->adev->sdma.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 921 if (ring->adev->vcn.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 925 if (ring->adev->jpeg.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 899 amdgpu_ring_is_reset_type_supported(struct amdgpu_ring * ring,u32 reset_type) amdgpu_ring_is_reset_type_supported() argument
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fw_reset.h | 9 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type);
|
| H A D | fw_reset.c | 105 u8 *reset_type, u8 *reset_state, u8 *reset_method) in mlx5_reg_mfrl_query() argument 117 if (reset_type) in mlx5_reg_mfrl_query() 118 *reset_type = MLX5_GET(mfrl_reg, out, reset_type); in mlx5_reg_mfrl_query() 127 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() argument 129 return mlx5_reg_mfrl_query(dev, reset_level, reset_type, NULL, NULL); in mlx5_fw_reset_query()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H 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()
|
| H 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() 1416 set_bit(reset_type, &hdev->reset_pending); in hclgevf_set_reset_pending() 1429 if (hdev->reset_type == HNAE3_VF_RESET) in hclgevf_reset_wait() 1453 if (hdev->reset_type == HNAE3_VF_FULL_RESET) in hclgevf_reset_wait() 1508 if (hdev->reset_type == HNAE3_VF_FUNC_RESET) { in hclgevf_reset_prepare_wait() 1527 hdev->reset_type); in hclgevf_reset_prepare_wait() 1568 hclgevf_set_reset_pending(hdev, hdev->reset_type); in hclgevf_reset_err_handle() 1753 hdev->reset_type = rst_type; in hclgevf_reset_prepare_general() 1769 if (hdev->reset_type == HNAE3_FLR_RESET) in hclgevf_reset_prepare_general() [all …]
|
| /linux/include/linux/net/intel/ |
| H A D | iidc_rdma_idpf.h | 50 enum iidc_rdma_reset_type __always_unused reset_type);
|
| H A D | iidc_rdma_ice.h | 62 enum iidc_rdma_reset_type reset_type);
|
| /linux/drivers/net/ethernet/sfc/ |
| H 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()
|
| H 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()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | enum.h | 150 enum reset_type { enum
|