chip/it83xx/hwtimer.c: Format with clang-format
BRANCH=none
TEST=none
@@ -128,7 +128,8 @@ void __hw_clock_event_set(uint32_t deadline)
wait = deadline - __hw_clock_source_read();
IT83XX_ETWD_ETXCNTLR(EVENT_EXT_TIMER) =
wait < EVENT_TIMER_COUNT_TO_US(0xffffffff) ?
- EVENT_TIMER_US_TO_COUNT(wait) : 0xffffffff;
+ EVENT_TIMER_US_TO_COUNT(wait) :
+ 0xffffffff;
/* enable and re-start timer */
IT83XX_ETWD_ETXCTRL(EVENT_EXT_TIMER) |= 0x03;
task_enable_irq(et_ctrl_regs[EVENT_EXT_TIMER].irq);
@@ -276,9 +277,7 @@ void ext_timer_stop(enum ext_timer_sel ext_timer, int dis_irq)
static void ext_timer_ctrl(enum ext_timer_sel ext_timer,
enum ext_timer_clock_source ext_timer_clock,
- int start,
- int with_int,
- int32_t count)
+ int start, int with_int, int32_t count)
{
uint8_t intc_mask;
@@ -307,12 +306,8 @@ static void ext_timer_ctrl(enum ext_timer_sel ext_timer,
}
int ext_timer_ms(enum ext_timer_sel ext_timer,
- enum ext_timer_clock_source ext_timer_clock,
- int start,
- int with_int,
- int32_t ms,
- int first_time_enable,
- int raw)
+ enum ext_timer_clock_source ext_timer_clock, int start,
+ int with_int, int32_t ms, int first_time_enable, int raw)
{
uint32_t count;
