Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/include/zephyr/sys/
Dbitarray.h134 int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val);
147 int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val);
/Zephyr-Core-3.6.0/boards/arm/qemu_cortex_m0/
Dnrf_timer_timer.c73 uint32_t prev_val; in prevent_false_prev_evt() local
81 prev_val = get_comparator(); in prevent_false_prev_evt()
85 if (counter_sub(prev_val, now) == 1) { in prevent_false_prev_evt()
/Zephyr-Core-3.6.0/lib/utils/
Dbitarray.c306 int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val) in sys_bitarray_test_and_set_bit() argument
317 CHECKIF(prev_val == NULL) { in sys_bitarray_test_and_set_bit()
331 *prev_val = 1; in sys_bitarray_test_and_set_bit()
333 *prev_val = 0; in sys_bitarray_test_and_set_bit()
345 int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val) in sys_bitarray_test_and_clear_bit() argument
356 CHECKIF(prev_val == NULL) { in sys_bitarray_test_and_clear_bit()
370 *prev_val = 1; in sys_bitarray_test_and_clear_bit()
372 *prev_val = 0; in sys_bitarray_test_and_clear_bit()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/pipeline/dut/src/
Dmain.c239 static uint16_t prev_val; in gatt_read() local
250 ASSERT(prev_val == value, "Something's up: expected %d got %d", prev_val, value); in gatt_read()
251 prev_val++; in gatt_read()
/Zephyr-Core-3.6.0/drivers/counter/
Dcounter_nrfx_rtc.c230 uint32_t prev_val; in set_cc() local
253 prev_val = nrfy_rtc_cc_get(rtc, chan); in set_cc()
258 if (ticks_sub(dev, prev_val, now, top) == 1) { in set_cc()
Dcounter_nrfx_timer.c144 uint32_t prev_val; in set_cc() local
158 prev_val = nrf_timer_cc_get(reg, chan); in set_cc()
Dcounter_ll_stm32_timer.c208 uint32_t prev_val; in counter_stm32_set_cc() local
221 prev_val = get_timer_compare[id](timer); in counter_stm32_set_cc()
/Zephyr-Core-3.6.0/drivers/can/
Dcan_xmc4xxx.c248 int prev_val; in can_xmc4xxx_get_mo() local
250 sys_bitarray_test_and_set_bit(&mo_usage_bitarray, i, &prev_val); in can_xmc4xxx_get_mo()
251 if (prev_val == 0) { in can_xmc4xxx_get_mo()