Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_xlnx_axi_timer.c78 uint32_t tcsr = TCSR0_DEFAULT | TCSR_ENT; in xlnx_axi_timer_start() local
84 tcsr |= TCSR_ENALL; in xlnx_axi_timer_start()
87 xlnx_axi_timer_write32(dev, tcsr, TCSR0_OFFSET); in xlnx_axi_timer_start()
125 uint32_t tcsr; in xlnx_axi_timer_set_alarm() local
162 tcsr = xlnx_axi_timer_read32(dev, TCSR0_OFFSET); in xlnx_axi_timer_set_alarm()
163 tcsr &= TCSR_ENT; in xlnx_axi_timer_set_alarm()
164 xlnx_axi_timer_write32(dev, TCSR1_DEFAULT | tcsr, TCSR1_OFFSET); in xlnx_axi_timer_set_alarm()
192 uint32_t tcsr; in xlnx_axi_timer_set_top_value() local
217 tcsr = xlnx_axi_timer_read32(dev, TCSR0_OFFSET); in xlnx_axi_timer_set_top_value()
218 if ((tcsr & TCSR_ENT) == 0U) { in xlnx_axi_timer_set_top_value()
[all …]