| /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()
|
| H A D | mcdi.h | 365 enum reset_type efx_siena_mcdi_map_reset_reason(enum reset_type reason); 366 int efx_siena_mcdi_reset(struct efx_nic *efx, enum reset_type method);
|
| H A D | enum.h | 152 enum reset_type { enum
|
| /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/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/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/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/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/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/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ring.c | 899 u32 reset_type) in amdgpu_ring_is_reset_type_supported() argument 903 if (ring->adev->gfx.gfx_supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 907 if (ring->adev->gfx.compute_supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 911 if (ring->adev->sdma.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 916 if (ring->adev->vcn.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported() 920 if (ring->adev->jpeg.supported_reset & reset_type) in amdgpu_ring_is_reset_type_supported()
|
| /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/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()
|
| /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()
|
| H A D | enum.h | 152 enum reset_type { enum
|
| /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/falcon/ |
| H A D | enum.h | 150 enum reset_type { enum
|
| /linux/drivers/scsi/aacraid/ |
| H A D | src.c | 789 static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_src_restart_adapter() argument 803 if (bled >= 2 && dev->sa_firmware && reset_type & HW_IOP_RESET) in aac_src_restart_adapter() 804 reset_type &= ~HW_IOP_RESET; in aac_src_restart_adapter() 808 dev_err(&dev->pdev->dev, "Controller reset type is %d\n", reset_type); in aac_src_restart_adapter() 810 if (reset_type & HW_IOP_RESET) { in aac_src_restart_adapter() 832 if (reset_type & HW_SOFT_RESET) { in aac_src_restart_adapter()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_idc.c | 162 enum iidc_rdma_reset_type reset_type) in ice_rdma_request_reset() argument 172 switch (reset_type) { in ice_rdma_request_reset()
|