Searched refs:cur_flags (Results 1 – 3 of 3) sorted by relevance
98 unsigned int stat, hd_stat, cur_flags = 0; in rt5120_regulator_get_error_flags() local115 cur_flags |= REGULATOR_ERROR_UNDER_VOLTAGE; in rt5120_regulator_get_error_flags()118 cur_flags |= REGULATOR_ERROR_REGULATION_OUT; in rt5120_regulator_get_error_flags()122 cur_flags |= REGULATOR_ERROR_OVER_TEMP; in rt5120_regulator_get_error_flags()124 *flags = cur_flags; in rt5120_regulator_get_error_flags()
108 unsigned long cur_flags, mismatch; in efi_call_virt_check_flags() local110 cur_flags = efi_call_virt_save_flags(); in efi_call_virt_check_flags()112 mismatch = flags ^ cur_flags; in efi_call_virt_check_flags()118 flags, cur_flags, call); in efi_call_virt_check_flags()
2117 static inline void set_flags(u32 *cur_flags, u32 new_flags, u32 flags) in set_flags() argument2119 *cur_flags = (*cur_flags & ~flags) | (new_flags & flags); in set_flags()