Lines Matching refs:OSTIMERS
50 #define OSTIMERS ((volatile struct mtk_ostimer *)OSTIMER_BASE) macro
113 OSTIMERS[0].con &= ~OSTIMER_CON_ENABLE; in sys_clock_set_timeout()
114 OSTIMERS[0].rst = cyc; in sys_clock_set_timeout()
115 OSTIMERS[0].irq_ack |= OSTIMER_IRQ_ACK_CLEAR; in sys_clock_set_timeout()
116 OSTIMERS[0].irq_ack |= OSTIMER_IRQ_ACK_ENABLE; in sys_clock_set_timeout()
117 OSTIMERS[0].con |= OSTIMER_CON_ENABLE; in sys_clock_set_timeout()
147 OSTIMERS[0].irq_ack |= OSTIMER_IRQ_ACK_CLEAR; in timer_isr()
148 OSTIMERS[0].con &= ~OSTIMER_CON_ENABLE; in timer_isr()
149 OSTIMERS[0].irq_ack &= ~OSTIMER_IRQ_ACK_ENABLE; in timer_isr()
166 OSTIMERS[i].con &= ~OSTIMER_CON_ENABLE; in mtk_adsp_timer_init()
167 OSTIMERS[i].irq_ack |= OSTIMER_IRQ_ACK_CLEAR; in mtk_adsp_timer_init()
168 OSTIMERS[i].irq_ack &= ~OSTIMER_IRQ_ACK_ENABLE; in mtk_adsp_timer_init()
175 OSTIMERS[0].con = ((OSTIMERS[0].con & ~OSTIMER_CON_CLKSRC_MASK) in mtk_adsp_timer_init()
177 OSTIMERS[0].con |= OSTIMER_CON_ENABLE; in mtk_adsp_timer_init()