Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c22 unsigned long reset_flags; member
33 clear_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_set()
35 set_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_set()
42 return !test_bit(MLX5_FW_RESET_FLAGS_NACK_RESET_REQUEST, &fw_reset->reset_flags); in mlx5_fw_reset_enable_remote_dev_reset_get()
87 set_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags); in mlx5_fw_reset_set_reset_sync()
90 clear_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags); in mlx5_fw_reset_set_reset_sync()
104 if (test_bit(MLX5_FW_RESET_FLAGS_PENDING_COMP, &fw_reset->reset_flags)) { in mlx5_fw_reset_complete_reload()
125 if (!test_and_clear_bit(MLX5_FW_RESET_FLAGS_RESET_REQUESTED, &fw_reset->reset_flags)) { in mlx5_sync_reset_clear_reset_requested()
160 if (!test_bit(MLX5_FW_RESET_FLAGS_RESET_REQUESTED, &fw_reset->reset_flags)) in poll_sync_reset()
197 if (test_and_set_bit(MLX5_FW_RESET_FLAGS_RESET_REQUESTED, &fw_reset->reset_flags)) { in mlx5_sync_reset_set_reset_requested()
[all …]
/drivers/soc/bcm/
Dbcm2835-power.c277 u32 reset_flags) in bcm2835_asb_power_on() argument
295 PM_WRITE(pm_reg, PM_READ(pm_reg) | reset_flags); in bcm2835_asb_power_on()
324 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~reset_flags); in bcm2835_asb_power_on()
332 u32 reset_flags) in bcm2835_asb_power_off() argument
354 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~reset_flags); in bcm2835_asb_power_off()
/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()
/drivers/net/ethernet/intel/i40e/
Di40e.h1111 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags);
1112 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired);
Di40e_main.c9224 void i40e_do_reset(struct i40e_pf *pf, u32 reset_flags, bool lock_acquired) in i40e_do_reset() argument
9229 if (reset_flags & BIT_ULL(__I40E_GLOBAL_RESET_REQUESTED)) { in i40e_do_reset()
9244 } else if (reset_flags & BIT_ULL(__I40E_CORE_RESET_REQUESTED)) { in i40e_do_reset()
9256 } else if (reset_flags & I40E_PF_RESET_FLAG) { in i40e_do_reset()
9269 } else if (reset_flags & I40E_PF_RESET_AND_REBUILD_FLAG) { in i40e_do_reset()
9281 } else if (reset_flags & BIT_ULL(__I40E_REINIT_REQUESTED)) { in i40e_do_reset()
9295 } else if (reset_flags & BIT_ULL(__I40E_DOWN_REQUESTED)) { in i40e_do_reset()
9312 "bad reset request 0x%08x\n", reset_flags); in i40e_do_reset()
9502 void i40e_do_reset_safe(struct i40e_pf *pf, u32 reset_flags) in i40e_do_reset_safe() argument
9505 i40e_do_reset(pf, reset_flags, true); in i40e_do_reset_safe()
[all …]
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c3838 if (test_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags)) { in megasas_isr_fusion()
4936 set_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags); in megasas_reset_fusion()
4937 set_bit(MEGASAS_FUSION_OCR_NOT_POSSIBLE, &instance->reset_flags); in megasas_reset_fusion()
5076 &instance->reset_flags); in megasas_reset_fusion()
5144 clear_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags); in megasas_reset_fusion()
5156 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()