Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dexynos4210_mct.c146 #define GET_L_TIMER_CNT_REG_IDX(offset, lt_i) \ argument
147 (((offset) - (L0_TCNTB + 0x100 * (lt_i))) >> 2)
1067 int lt_i; in exynos4210_mct_read() local
1116 lt_i = GET_L_TIMER_IDX(offset); in exynos4210_mct_read()
1117 index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); in exynos4210_mct_read()
1118 value = s->l_timer[lt_i].reg.cnt[index]; in exynos4210_mct_read()
1122 lt_i = GET_L_TIMER_IDX(offset); in exynos4210_mct_read()
1124 value = exynos4210_ltick_cnt_get_cnto(&s->l_timer[lt_i].tick_timer); in exynos4210_mct_read()
1125 DPRINTF("local timer[%d] read TCNTO %x\n", lt_i, value); in exynos4210_mct_read()
1129 lt_i = GET_L_TIMER_IDX(offset); in exynos4210_mct_read()
[all …]