Home
last modified time | relevance | path

Searched refs:current_value (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/counter/
Dcounter_native_posix.c33 int64_t current_value = hw_counter_get_value(); in schedule_next_isr() local
36 if (current_value == top.ticks) { in schedule_next_isr()
37 current_value = -1; in schedule_next_isr()
42 if (pending_alarm[i].ticks > current_value) { in schedule_next_isr()
58 uint32_t current_value = hw_counter_get_value(); in counter_isr() local
61 if (is_alarm_pending[i] && (current_value == pending_alarm[i].ticks)) { in counter_isr()
64 pending_alarm[i].callback(device, i, current_value, in counter_isr()
70 if (is_top_set && (current_value == top.ticks)) { in counter_isr()
147 uint32_t current_value = hw_counter_get_value(); in ctr_set_top_value() local
150 if (current_value >= cfg->ticks) { in ctr_set_top_value()
[all …]
/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_tle9104.c201 bool current_value = (data->state & mask) != 0; in tle9104_write_state() local
211 if (current_value == 0) { in tle9104_write_state()
217 if (current_value == previous_value) { in tle9104_write_state()
226 result = gpio_pin_set_dt(&config->gpio_control[i], current_value); in tle9104_write_state()