Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/firmware/efi/
Dcapsule.c52 bool efi_capsule_pending(int *reset_type) in efi_capsule_pending() argument
57 if (reset_type) in efi_capsule_pending()
58 *reset_type = efi_reset_type; in efi_capsule_pending()
224 int rv, reset_type; in efi_capsule_update() local
227 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update()
274 rv = efi_capsule_update_locked(capsule, sg_pages, reset_type); in efi_capsule_update()
Dcapsule-loader.c56 &cap_info->reset_type); in __efi_capsule_setup_info()
140 !cap_info->reset_type ? "RESET_COLD" : in efi_capsule_submit_update()
141 cap_info->reset_type == 1 ? "RESET_WARM" : in efi_capsule_submit_update()
Druntime-wrappers.c421 static void virt_efi_reset_system(int reset_type, in virt_efi_reset_system() argument
431 __efi_call_virt(reset_system, reset_type, status, data_size, data); in virt_efi_reset_system()
455 int *reset_type) in virt_efi_query_capsule_caps() argument
465 max_size, reset_type, NULL); in virt_efi_query_capsule_caps()
/Linux-v4.19/drivers/watchdog/
Daspeed_wdt.c195 const char *reset_type; in aspeed_wdt_probe() local
235 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe()
239 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe()
242 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe()
245 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe()
248 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
/Linux-v4.19/drivers/scsi/libsas/
Dsas_init.c245 enum phy_func reset_type; in transport_sas_phy_reset() local
248 reset_type = PHY_FUNC_HARD_RESET; in transport_sas_phy_reset()
250 reset_type = PHY_FUNC_LINK_RESET; in transport_sas_phy_reset()
261 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
272 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset()
312 enum phy_func reset_type; in sas_phy_reset() local
318 reset_type = PHY_FUNC_HARD_RESET; in sas_phy_reset()
320 reset_type = PHY_FUNC_LINK_RESET; in sas_phy_reset()
329 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset()
333 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
Dsas_scsi_host.c439 static int sas_queue_reset(struct domain_device *dev, int reset_type, in sas_queue_reset() argument
456 !test_bit(reset_type, &dev->state)) { in sas_queue_reset()
461 set_bit(reset_type, &dev->state); in sas_queue_reset()
475 reset_type == SAS_DEV_LU_RESET ? "LUN" : "Bus", in sas_queue_reset()
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/4xx/
Dreboot.txt3 By setting "reset_type" to one of the following values, the default
5 "reset_type":
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Defx.h196 int ef4_reset(struct ef4_nic *efx, enum reset_type method);
197 void ef4_reset_down(struct ef4_nic *efx, enum reset_type method);
198 int ef4_reset_up(struct ef4_nic *efx, enum reset_type method, bool ok);
202 void ef4_schedule_reset(struct ef4_nic *efx, enum reset_type type);
Denum.h153 enum reset_type { enum
Dnet_driver.h1052 enum reset_type (*map_reset_reason)(enum reset_type reason);
1054 int (*reset)(struct ef4_nic *efx, enum reset_type method);
/Linux-v4.19/drivers/xen/
Defi.c247 int *reset_type) in xen_efi_query_capsule_caps() argument
262 *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; in xen_efi_query_capsule_caps()
268 void xen_efi_reset_system(int reset_type, efi_status_t status, in xen_efi_reset_system() argument
271 switch (reset_type) { in xen_efi_reset_system()
/Linux-v4.19/drivers/input/misc/
Dpm8941-pwrkey.c73 unsigned int reset_type; in pm8941_reboot_notify() local
100 reset_type = PON_PS_HOLD_TYPE_SHUTDOWN; in pm8941_reboot_notify()
104 reset_type = PON_PS_HOLD_TYPE_HARD_RESET; in pm8941_reboot_notify()
111 reset_type); in pm8941_reboot_notify()
/Linux-v4.19/arch/powerpc/platforms/4xx/
Dsoc.c200 u32 reset_type = DBCR0_RST_SYSTEM; in ppc4xx_reset_system() local
214 reset_type = prop[0] << 28; in ppc4xx_reset_system()
217 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); in ppc4xx_reset_system()
/Linux-v4.19/drivers/net/ethernet/sfc/
Defx.h232 int efx_reset(struct efx_nic *efx, enum reset_type method);
233 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
234 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
238 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
Denum.h156 enum reset_type { enum
Dmcdi.h361 enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason);
362 int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method);
/Linux-v4.19/include/xen/
Dxen-ops.h188 int *reset_type);
189 void xen_efi_reset_system(int reset_type, efi_status_t status,
/Linux-v4.19/drivers/bluetooth/
Dbtintel.h61 __u8 reset_type; member
73 __u8 reset_type; member
/Linux-v4.19/drivers/firmware/efi/test/
Defi_test.c588 int i, reset_type; in efi_runtime_query_capsulecaps() local
627 &max_size, &reset_type); in efi_runtime_query_capsulecaps()
644 if (put_user(reset_type, qcaps.reset_type)) in efi_runtime_query_capsulecaps()
Defi_test.h80 int *reset_type; member
/Linux-v4.19/drivers/scsi/aacraid/
Dsrc.c782 static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_src_restart_adapter() argument
796 if (bled >= 2 && dev->sa_firmware && reset_type & HW_IOP_RESET) in aac_src_restart_adapter()
797 reset_type &= ~HW_IOP_RESET; in aac_src_restart_adapter()
801 dev_err(&dev->pdev->dev, "Controller reset type is %d\n", reset_type); in aac_src_restart_adapter()
803 if (reset_type & HW_IOP_RESET) { in aac_src_restart_adapter()
825 if (reset_type & HW_SOFT_RESET) { in aac_src_restart_adapter()
/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_tmf.c186 int reset_type = (dev->dev_type == SAS_SATA_DEV || in asd_I_T_nexus_reset() local
192 reset_type ? "hard" : "soft", dev_name(&phy->dev)); in asd_I_T_nexus_reset()
193 res = sas_phy_reset(phy, reset_type); in asd_I_T_nexus_reset()
/Linux-v4.19/include/linux/
Defi.h144 int reset_type; member
573 typedef void efi_reset_system_t (int reset_type, efi_status_t status,
589 int *reset_type);
1176 efi_capsule_pending(int *reset_type) in efi_capsule_pending() argument
1490 extern bool efi_capsule_pending(int *reset_type);
/Linux-v4.19/drivers/power/reset/
Dat91-reset.c41 enum reset_type { enum
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h191 enum reset_type { enum
558 enum reset_type ResetProgress;

123