Lines Matching refs:alarm_id

62 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t target)  in systimer_hal_set_alarm_target()  argument
65 systimer_ll_enable_alarm(hal->dev, alarm_id, false); in systimer_hal_set_alarm_target()
66 systimer_ll_set_alarm_target(hal->dev, alarm_id, alarm.val); in systimer_hal_set_alarm_target()
67 systimer_ll_apply_alarm_value(hal->dev, alarm_id); in systimer_hal_set_alarm_target()
68 systimer_ll_enable_alarm(hal->dev, alarm_id, true); in systimer_hal_set_alarm_target()
71 void systimer_hal_set_alarm_target(systimer_hal_context_t *hal, uint32_t alarm_id, uint64_t timesta… in systimer_hal_set_alarm_target() argument
77 systimer_ll_enable_alarm(hal->dev, alarm_id, false); in systimer_hal_set_alarm_target()
78 systimer_ll_set_alarm_target(hal->dev, alarm_id, alarm.val); in systimer_hal_set_alarm_target()
79 systimer_ll_enable_alarm(hal->dev, alarm_id, true); in systimer_hal_set_alarm_target()
82 if (delta <= 0 && !systimer_ll_is_alarm_int_fired(hal->dev, alarm_id)) { in systimer_hal_set_alarm_target()
94 void systimer_hal_set_alarm_period(systimer_hal_context_t *hal, uint32_t alarm_id, uint32_t period) in systimer_hal_set_alarm_period() argument
96 systimer_ll_enable_alarm(hal->dev, alarm_id, false); in systimer_hal_set_alarm_period()
97 systimer_ll_set_alarm_period(hal->dev, alarm_id, period * SYSTIMER_LL_TICKS_PER_US); in systimer_hal_set_alarm_period()
98 systimer_ll_apply_alarm_value(hal->dev, alarm_id); in systimer_hal_set_alarm_period()
99 systimer_ll_enable_alarm(hal->dev, alarm_id, true); in systimer_hal_set_alarm_period()
102 uint64_t systimer_hal_get_alarm_value(systimer_hal_context_t *hal, uint32_t alarm_id) in systimer_hal_get_alarm_value() argument
104 return systimer_ll_get_alarm_target(hal->dev, alarm_id); in systimer_hal_get_alarm_value()
107 void systimer_hal_enable_alarm_int(systimer_hal_context_t *hal, uint32_t alarm_id) in systimer_hal_enable_alarm_int() argument
109 systimer_ll_enable_alarm_int(hal->dev, alarm_id, true); in systimer_hal_enable_alarm_int()
124 void systimer_hal_select_alarm_mode(systimer_hal_context_t *hal, uint32_t alarm_id, systimer_alarm_… in systimer_hal_select_alarm_mode() argument
128 systimer_ll_enable_alarm_oneshot(hal->dev, alarm_id); in systimer_hal_select_alarm_mode()
131 systimer_ll_enable_alarm_period(hal->dev, alarm_id); in systimer_hal_select_alarm_mode()
138 void systimer_hal_connect_alarm_counter(systimer_hal_context_t *hal, uint32_t alarm_id, uint32_t co… in systimer_hal_connect_alarm_counter() argument
140 systimer_ll_connect_alarm_counter(hal->dev, alarm_id, counter_id); in systimer_hal_connect_alarm_counter()