Home
last modified time | relevance | path

Searched refs:reset_flags (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c25 unsigned long reset_flags; member
36 clear_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_set()
38 set_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_set()
45 return !test_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_get()
122 set_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags); in mlx5_fw_reset_set_reset_sync()
132 clear_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags); in mlx5_fw_reset_set_reset_sync()
150 if (test_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags)) { in mlx5_fw_reset_complete_reload()
175 if (!test_and_clear_bit(MLX5_FW_RESET_FLAGS_RESET_REQUESTED, &fw_reset->reset_flags)) { in mlx5_sync_reset_clear_reset_requested()
204 if (!test_bit(MLX5_FW_RESET_FLAGS_RESET_REQUESTED, &fw_reset->reset_flags)) in poll_sync_reset()
211 if (!test_bit(MLX5_FW_RESET_FLAGS_DROP_NEW_REQUESTS, &fw_reset->reset_flags)) in poll_sync_reset()
[all …]
/linux-6.1.9/drivers/soc/bcm/
Dbcm2835-power.c291 u32 reset_flags) in bcm2835_asb_power_on() argument
309 PM_WRITE(pm_reg, PM_READ(pm_reg) | reset_flags); in bcm2835_asb_power_on()
338 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~reset_flags); in bcm2835_asb_power_on()
346 u32 reset_flags) in bcm2835_asb_power_off() argument
368 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~reset_flags); in bcm2835_asb_power_off()
/linux-6.1.9/drivers/char/ipmi/
Dipmi_bt_sm.c278 static void reset_flags(struct si_sm_data *bt) in reset_flags() function
573 reset_flags(bt); /* next state is now IDLE */ in bt_event()
579 reset_flags(bt); in bt_event()
633 reset_flags(bt); in bt_detect()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e.h1130 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
1131 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
Di40e_main.c9228 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired) in i40e_do_reset() argument
9233 if (reset_flags & BIT_ULL(__I40E_GLOBAL_RESET_REQUESTED)) { in i40e_do_reset()
9248 } else if (reset_flags & BIT_ULL(__I40E_CORE_RESET_REQUESTED)) { in i40e_do_reset()
9260 } else if (reset_flags & I40E_PF_RESET_FLAG) { in i40e_do_reset()
9273 } else if (reset_flags & I40E_PF_RESET_AND_REBUILD_FLAG) { in i40e_do_reset()
9285 } else if (reset_flags & BIT_ULL(__I40E_REINIT_REQUESTED)) { in i40e_do_reset()
9299 } else if (reset_flags & BIT_ULL(__I40E_DOWN_REQUESTED)) { in i40e_do_reset()
9316 "bad reset request 0x%08x\n", reset_flags); in i40e_do_reset()
9506 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset_safe() argument
9509 i40e_do_reset(pf, reset_flags, true); in i40e_do_reset_safe()
[all …]
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c8576 u32 ctl, reset_flags = HL_DRV_RESET_HARD | HL_DRV_RESET_DELAY; in gaudi2_handle_eqe() local
8601 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8616 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8628 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8753 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8762 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8769 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8776 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8788 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
8814 reset_flags |= HL_DRV_RESET_FW_FATAL_ERR; in gaudi2_handle_eqe()
[all …]
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c3869 if (test_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags)) { in megasas_isr_fusion()
4967 set_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags); in megasas_reset_fusion()
4968 set_bit(MEGASAS_FUSION_OCR_NOT_POSSIBLE, &instance->reset_flags); in megasas_reset_fusion()
5107 &instance->reset_flags); in megasas_reset_fusion()
5175 clear_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags); in megasas_reset_fusion()
5187 clear_bit(MEGASAS_FUSION_OCR_NOT_POSSIBLE, &instance->reset_flags); in megasas_reset_fusion()
Dmegaraid_sas.h2427 long reset_flags; member
Dmegaraid_sas_base.c4527 &instance->reset_flags)) in dcmd_timeout_ocr_possible()