/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 | 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()
|
/linux/drivers/watchdog/ |
H A D | aspeed_wdt.c | 313 const char *reset_type; in aspeed_wdt_probe() local 373 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe() 377 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe() 380 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe() 383 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe() 386 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
|
/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/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/input/misc/ |
H 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()
|
/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 | 552 efi.reset_system(resetsystem.reset_type, resetsystem.status, in efi_runtime_reset_system() 602 int i, reset_type; in efi_runtime_query_capsulecaps() local 641 &max_size, &reset_type); in efi_runtime_query_capsulecaps() 658 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/mellanox/mlx5/core/ |
H 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()
|
H A D | fw_reset.h | 9 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type);
|
/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/include/linux/ |
H A D | efi.h | 210 int reset_type; member 296 typedef void efi_reset_system_t (int reset_type, efi_status_t status, 312 int *reset_type); 1108 extern bool efi_capsule_pending(int *reset_type); 1116 static inline bool efi_capsule_pending(int *reset_type) { return false; } in efi_capsule_pending() argument
|
/linux/include/linux/net/intel/ |
H A D | iidc.h | 78 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type);
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | enum.h | 150 enum reset_type { enum
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_main.c | 75 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 532 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_prepare_for_reset() argument 539 dev_dbg(ice_pf_to_dev(pf), "reset_type=%d\n", reset_type); in ice_prepare_for_reset() 576 if (reset_type == ICE_RESET_PFR) { in ice_prepare_for_reset() 607 ice_ptp_prepare_for_reset(pf, reset_type); in ice_prepare_for_reset() 625 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() argument 630 dev_dbg(dev, "reset_type 0x%x requested\n", reset_type); in ice_do_reset() 632 if (pf->lag && pf->lag->bonded && reset_type == ICE_RESET_PFR) { in ice_do_reset() 634 reset_type = ICE_RESET_CORER; in ice_do_reset() 637 ice_prepare_for_reset(pf, reset_type); in ice_do_reset() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | enum.h | 152 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()
|