Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Dcapsule.c50 bool efi_capsule_pending(int *reset_type) in efi_capsule_pending() argument
55 if (reset_type) in efi_capsule_pending()
56 *reset_type = efi_reset_type; in efi_capsule_pending()
222 int rv, reset_type; in efi_capsule_update() local
225 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update()
272 rv = efi_capsule_update_locked(capsule, sg_pages, reset_type); in efi_capsule_update()
H A Druntime-wrappers.c412 static void virt_efi_reset_system(int reset_type, in virt_efi_reset_system() argument
423 __efi_call_virt(reset_system, reset_type, status, data_size, data); in virt_efi_reset_system()
447 int *reset_type) in virt_efi_query_capsule_caps() argument
457 max_size, reset_type, NULL); in virt_efi_query_capsule_caps()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Defx_common.h55 void efx_reset_down(struct efx_nic *efx, enum reset_type method);
57 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
58 int efx_reset(struct efx_nic *efx, enum reset_type method);
59 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type);
H A Def100_nic.c398 static enum reset_type ef100_map_reset_reason(enum reset_type reason) in ef100_map_reset_reason()
420 static int ef100_reset(struct efx_nic *efx, enum reset_type reset_type) in ef100_reset() argument
426 if (reset_type == RESET_TYPE_TX_WATCHDOG) { in ef100_reset()
428 __clear_bit(reset_type, &efx->reset_pending); in ef100_reset()
430 } else if (reset_type == RESET_TYPE_ALL) { in ef100_reset()
431 rc = efx_mcdi_reset(efx, reset_type); in ef100_reset()
H A Defx_common.c706 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down()
740 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up()
811 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset()
878 enum reset_type method; in efx_reset_work()
906 void efx_schedule_reset(struct efx_nic *efx, enum reset_type type) in efx_schedule_reset()
908 enum reset_type method; in efx_schedule_reset()
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Daspeed_wdt.c248 const char *reset_type; in aspeed_wdt_probe() local
291 ret = of_property_read_string(np, "aspeed,reset-type", &reset_type); in aspeed_wdt_probe()
295 if (!strcmp(reset_type, "cpu")) in aspeed_wdt_probe()
298 else if (!strcmp(reset_type, "soc")) in aspeed_wdt_probe()
301 else if (!strcmp(reset_type, "system")) in aspeed_wdt_probe()
304 else if (strcmp(reset_type, "none")) in aspeed_wdt_probe()
/OK3568_Linux_fs/kernel/drivers/scsi/libsas/
H A Dsas_init.c224 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()
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()
/OK3568_Linux_fs/kernel/drivers/xen/
H A Defi.c238 unsigned long count, u64 *max_size, int *reset_type) in xen_efi_query_capsule_caps() argument
253 *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; in xen_efi_query_capsule_caps()
258 static void xen_efi_reset_system(int reset_type, efi_status_t status, in xen_efi_reset_system() argument
261 switch (reset_type) { in xen_efi_reset_system()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A 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);
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/4xx/
H A Dreboot.txt3 By setting "reset_type" to one of the following values, the default
5 "reset_type":
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c59 static int mlx5_reg_mfrl_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_reg_mfrl_query() argument
71 if (reset_type) in mlx5_reg_mfrl_query()
72 *reset_type = MLX5_GET(mfrl_reg, out, reset_type); in mlx5_reg_mfrl_query()
77 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() argument
79 return mlx5_reg_mfrl_query(dev, reset_level, reset_type); in mlx5_fw_reset_query()
H A Ddevlink.c91 u8 reset_level, reset_type, net_port_alive; in mlx5_devlink_reload_fw_activate() local
94 err = mlx5_fw_reset_query(dev, &reset_level, &reset_type); in mlx5_devlink_reload_fw_activate()
102 net_port_alive = !!(reset_type & MLX5_MFRL_REG_RESET_TYPE_NET_PORT_ALIVE); in mlx5_devlink_reload_fw_activate()
H A Dfw_reset.h11 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type);
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dpm8941-pwrkey.c65 unsigned int reset_type; in pm8941_reboot_notify() local
92 reset_type = PON_PS_HOLD_TYPE_SHUTDOWN; in pm8941_reboot_notify()
96 reset_type = PON_PS_HOLD_TYPE_HARD_RESET; in pm8941_reboot_notify()
103 reset_type); in pm8941_reboot_notify()
/OK3568_Linux_fs/u-boot/arch/arm/mach-bcm283x/
H A Dreset.c57 enum efi_reset_type reset_type, in efi_reset_system() argument
63 switch (reset_type) { in efi_reset_system()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/4xx/
H A Dsoc.c196 u32 reset_type = DBCR0_RST_SYSTEM; in ppc4xx_reset_system() local
210 reset_type = prop[0] << 28; in ppc4xx_reset_system()
213 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | reset_type); in ppc4xx_reset_system()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/
H A Dfwcall.c142 enum efi_reset_type reset_type, in efi_reset_system() argument
146 switch (reset_type) { in efi_reset_system()
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_runtime.c73 enum efi_reset_type reset_type, in efi_reset_system_boottime() argument
77 EFI_ENTRY("%d %lx %lx %p", reset_type, reset_status, data_size, in efi_reset_system_boottime()
80 switch (reset_type) { in efi_reset_system_boottime()
129 enum efi_reset_type reset_type, in efi_reset_system() argument
/OK3568_Linux_fs/kernel/drivers/firmware/efi/test/
H A Defi_test.h80 int *reset_type; member
85 int reset_type; member
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c125 u16 reset_type; in hclge_inform_reset_assert_to_vf() local
133 if (hdev->reset_type == HNAE3_FUNC_RESET) in hclge_inform_reset_assert_to_vf()
134 reset_type = HNAE3_VF_PF_FUNC_RESET; in hclge_inform_reset_assert_to_vf()
135 else if (hdev->reset_type == HNAE3_FLR_RESET) in hclge_inform_reset_assert_to_vf()
136 reset_type = HNAE3_VF_FULL_RESET; in hclge_inform_reset_assert_to_vf()
138 reset_type = HNAE3_VF_FUNC_RESET; in hclge_inform_reset_assert_to_vf()
140 memcpy(&msg_data[0], &reset_type, sizeof(u16)); in hclge_inform_reset_assert_to_vf()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_mbx.c274 enum hnae3_reset_type reset_type; in hclgevf_mbx_async_handler() local
325 reset_type = (enum hnae3_reset_type)msg_q[1]; in hclgevf_mbx_async_handler()
326 set_bit(reset_type, &hdev->reset_pending); in hclgevf_mbx_async_handler()
/OK3568_Linux_fs/kernel/drivers/dma/idxd/
H A Dirq.c128 if (gensts.reset_type == IDXD_DEVICE_RESET_SOFTWARE) { in process_misc_interrupts()
141 gensts.reset_type == IDXD_DEVICE_RESET_FLR ? in process_misc_interrupts()
/OK3568_Linux_fs/kernel/include/linux/
H A Defi.h161 int reset_type; member
249 typedef void efi_reset_system_t (int reset_type, efi_status_t status,
265 int *reset_type);
825 efi_capsule_pending(int *reset_type) in efi_capsule_pending() argument
1045 extern bool efi_capsule_pending(int *reset_type);

12345