Home
last modified time | relevance | path

Searched refs:prev_flags (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_common.c40 atomic_val_t prev_flags = atomic_or(&cfg->flags, FLAG_UPDATE_NEEDED); in update_config() local
47 if (prev_flags & (FLAG_UPDATE_NEEDED | FLAG_UPDATE_IN_PROGRESS)) { in update_config()
167 atomic_val_t prev_flags; in clock_config_update_end() local
169 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()
Dclock_control_nrf2_hsfll.c60 atomic_val_t prev_flags; in freq_setting_applied_cb() local
63 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()
Dclock_control_nrf2_fll16m.c123 atomic_val_t prev_flags; in fll16m_work_handler() local
125 prev_flags = atomic_and(&dev_data->clk_cfg.flags, in fll16m_work_handler()
127 if (prev_flags & FLAG_HFXO_STARTED) { in fll16m_work_handler()
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c251 int prev_flags = efd->flags & ~ZVFS_EFD_FLAGS_SET; in zvfs_eventfd_ioctl_op() local
253 efd->flags = flags | prev_flags; in zvfs_eventfd_ioctl_op()