Searched refs:current_value (Results 1 – 2 of 2) sorted by relevance
33 int64_t current_value = hw_counter_get_value(); in schedule_next_isr() local36 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() local61 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() local150 if (current_value >= cfg->ticks) { in ctr_set_top_value()[all …]
201 bool current_value = (data->state & mask) != 0; in tle9104_write_state() local211 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()