Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/firmware/efi/
Dcapsule.c51 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()
Druntime-wrappers.c109 int *reset_type; member
290 args->QUERY_CAPSULE_CAPS.reset_type); in efi_call_rts()
502 static void virt_efi_reset_system(int reset_type, in virt_efi_reset_system() argument
515 arch_efi_call_virt(efi.runtime, reset_system, reset_type, status, in virt_efi_reset_system()
541 int *reset_type) in virt_efi_query_capsule_caps() argument
551 max_size, reset_type); in virt_efi_query_capsule_caps()
Dcapsule-loader.c55 &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-6.6.21/drivers/net/ethernet/sfc/siena/
Defx_common.h56 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);
Defx_common.c716 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method) in efx_siena_reset_down()
750 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_siena_reset_up()
821 int efx_siena_reset(struct efx_nic *efx, enum reset_type method) in efx_siena_reset()
888 enum reset_type method; in efx_reset_work()
916 void efx_siena_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_siena_schedule_reset()
918 enum reset_type method; in efx_siena_schedule_reset()
Denum.h152 enum reset_type { enum
/linux-6.6.21/drivers/net/ethernet/sfc/
Defx_common.h53 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
55 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
56 int efx_reset(struct efx_nic *efx, enum reset_type method);
57 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
Def100_nic.c449 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()
Defx_common.c705 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down()
739 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up()
808 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset()
875 enum reset_type method; in efx_reset_work()
903 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset()
905 enum reset_type method; in efx_schedule_reset()
Denum.h152 enum reset_type { enum
/linux-6.6.21/drivers/scsi/libsas/
Dsas_init.c223 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-6.6.21/drivers/watchdog/
Daspeed_wdt.c311 const char *reset_type; in aspeed_wdt_probe() local
371 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe()
375 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe()
378 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe()
381 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe()
384 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/4xx/
Dreboot.txt3 By setting "reset_type" to one of the following values, the default
5 "reset_type":
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Defx.h193 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);
Denum.h150 enum reset_type { enum
/linux-6.6.21/arch/powerpc/platforms/4xx/
Dsoc.c197 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-6.6.21/drivers/xen/
Defi.c239 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-6.6.21/drivers/input/misc/
Dpm8941-pwrkey.c92 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-6.6.21/drivers/firmware/efi/test/
Defi_test.h80 int *reset_type; member
85 int reset_type; member
Defi_test.c552 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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c97 u8 *reset_type, u8 *reset_state) in mlx5_reg_mfrl_query() argument
109 if (reset_type) in mlx5_reg_mfrl_query()
110 *reset_type = MLX5_GET(mfrl_reg, out, reset_type); in mlx5_reg_mfrl_query()
117 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() argument
119 return mlx5_reg_mfrl_query(dev, reset_level, reset_type, NULL); in mlx5_fw_reset_query()
Dfw_reset.h9 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type);
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c127 static 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-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c304 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-6.6.21/include/linux/net/intel/
Diidc.h78 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type);

12345