Searched refs:prev_flags (Results 1 – 4 of 4) sorted by relevance
40 atomic_val_t prev_flags = atomic_or(&cfg->flags, FLAG_UPDATE_NEEDED); in update_config() local47 if (prev_flags & (FLAG_UPDATE_NEEDED | FLAG_UPDATE_IN_PROGRESS)) { in update_config()167 atomic_val_t prev_flags; in clock_config_update_end() local169 prev_flags = atomic_and(&cfg->flags, ~FLAG_UPDATE_IN_PROGRESS); in clock_config_update_end()170 if (!(prev_flags & FLAG_UPDATE_IN_PROGRESS)) { in clock_config_update_end()195 if (prev_flags & FLAG_UPDATE_NEEDED) { in clock_config_update_end()
60 atomic_val_t prev_flags; in freq_setting_applied_cb() local63 prev_flags = atomic_and(&dev_data->clk_cfg.flags, in freq_setting_applied_cb()65 if (prev_flags & FLAG_FREQ_CHANGE_CB_EXPECTED) { in freq_setting_applied_cb()
123 atomic_val_t prev_flags; in fll16m_work_handler() local125 prev_flags = atomic_and(&dev_data->clk_cfg.flags, in fll16m_work_handler()127 if (prev_flags & FLAG_HFXO_STARTED) { in fll16m_work_handler()
251 int prev_flags = efd->flags & ~ZVFS_EFD_FLAGS_SET; in zvfs_eventfd_ioctl_op() local253 efd->flags = flags | prev_flags; in zvfs_eventfd_ioctl_op()