/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 61 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 D | Makefile | 20 fw_reset.o qos.o lib/tout.o lib/aso.o wc.o
|
H A D | devlink.c | 161 !dev->priv.fw_reset) { in mlx5_devlink_reload_down()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | device.c | 1303 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 D | habanalabs.h | 1649 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 D | mlxbf-bootctl.c | 897 static DEVICE_ATTR_WO(fw_reset);
|
/linux/include/linux/mlx5/ |
H A D | driver.h | 601 struct mlx5_fw_reset *fw_reset; member
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 11969 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 D | bnxt.h | 2895 int bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset);
|
/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 3601 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 D | goya.c | 2456 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 D | gaudi2.c | 4830 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()
|