Home
last modified time | relevance | path

Searched refs:fw_reset (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c61 struct mlx5_fw_reset *fw_reset; in mlx5_fw_reset_enable_remote_dev_reset_set() local
63 fw_reset = dev->priv.fw_reset; in mlx5_fw_reset_enable_remote_dev_reset_set()
66 clear_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_set()
68 set_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_set()
76 struct mlx5_fw_reset *fw_reset; in mlx5_fw_reset_enable_remote_dev_reset_get() local
78 fw_reset = dev->priv.fw_reset; in mlx5_fw_reset_enable_remote_dev_reset_get()
81 &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_get()
173 struct mlx5_fw_reset *fw_reset = dev->priv.fw_reset; in mlx5_fw_reset_set_reset_sync() local
178 set_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags); in mlx5_fw_reset_set_reset_sync()
188 clear_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags); in mlx5_fw_reset_set_reset_sync()
[all …]
H A DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o wc.o
H A Ddevlink.c161 !dev->priv.fw_reset) { in mlx5_devlink_reload_down()
/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1303 static void cleanup_resources(struct hl_device *hdev, bool hard_reset, bool fw_reset, in cleanup_resources() argument
1318 hdev->asic_funcs->halt_engines(hdev, hard_reset, fw_reset); in cleanup_resources()
1633 bool hard_reset, from_hard_reset_thread, fw_reset, reset_upon_device_release, in hl_device_reset() local
1646 fw_reset = !!(flags & HL_DRV_RESET_BYPASS_REQ_TO_FW); in hl_device_reset()
1764 cleanup_resources(hdev, hard_reset, fw_reset, from_dev_release); in hl_device_reset()
1800 hw_fini_rc = hdev->asic_funcs->hw_fini(hdev, hard_reset, fw_reset); in hl_device_reset()
H A Dhabanalabs.h1649 int (*hw_fini)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
1650 void (*halt_engines)(struct hl_device *hdev, bool hard_reset, bool fw_reset);
/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c897 static DEVICE_ATTR_WO(fw_reset);
/linux/include/linux/mlx5/
H A Ddriver.h601 struct mlx5_fw_reset *fw_reset; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c11969 static void bnxt_clear_reservations(struct bnxt *bp, bool fw_reset) in bnxt_clear_reservations() argument
11984 if (!fw_reset) { in bnxt_clear_reservations()
11990 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset) in bnxt_cancel_reservations() argument
12001 bnxt_clear_reservations(bp, fw_reset); in bnxt_cancel_reservations()
12010 bool fw_reset = !bp->irq_tbl; in bnxt_hwrm_if_change() local
12043 fw_reset = true; in bnxt_hwrm_if_change()
12058 fw_reset = true; in bnxt_hwrm_if_change()
12062 if (test_bit(BNXT_STATE_IN_FW_RESET, &bp->state) && !fw_reset) { in bnxt_hwrm_if_change()
12067 if (resc_reinit || fw_reset) { in bnxt_hwrm_if_change()
12068 if (fw_reset) { in bnxt_hwrm_if_change()
[all …]
H A Dbnxt.h2895 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset);
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c3601 static void gaudi_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_halt_engines() argument
3610 if (fw_reset) in gaudi_halt_engines()
4003 static int gaudi_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi_hw_fini() argument
4024 if (fw_reset) { in gaudi_hw_fini()
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c2456 static void goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_halt_engines() argument
2784 static int goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in goya_hw_fini() argument
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c4830 static void gaudi2_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_halt_engines() argument
4839 if (fw_reset) in gaudi2_halt_engines()
6368 static int gaudi2_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) in gaudi2_hw_fini() argument
6384 if (fw_reset) in gaudi2_hw_fini()