Searched refs:TCSR0_OFFSET (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/counter/ |
D | counter_xlnx_axi_timer.c | 18 #define TCSR0_OFFSET 0x00 macro 87 xlnx_axi_timer_write32(dev, tcsr, TCSR0_OFFSET); in xlnx_axi_timer_start() 105 xlnx_axi_timer_write32(dev, TCSR0_DEFAULT, TCSR0_OFFSET); in xlnx_axi_timer_stop() 162 tcsr = xlnx_axi_timer_read32(dev, TCSR0_OFFSET); in xlnx_axi_timer_set_alarm() 217 tcsr = xlnx_axi_timer_read32(dev, TCSR0_OFFSET); in xlnx_axi_timer_set_top_value() 226 xlnx_axi_timer_write32(dev, tcsr | TCSR_LOAD, TCSR0_OFFSET); in xlnx_axi_timer_set_top_value() 227 xlnx_axi_timer_write32(dev, tcsr, TCSR0_OFFSET); in xlnx_axi_timer_set_top_value() 239 tcsr = xlnx_axi_timer_read32(dev, TCSR0_OFFSET); in xlnx_axi_timer_get_pending_int() 282 tcsr = xlnx_axi_timer_read32(dev, TCSR0_OFFSET); in xlnx_axi_timer_isr() 284 xlnx_axi_timer_write32(dev, tcsr, TCSR0_OFFSET); in xlnx_axi_timer_isr() [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_xlnx_axi_timer.c | 18 #define TCSR0_OFFSET 0x00 macro 142 xlnx_axi_timer_write32(dev, TCSR_PWM, TCSR0_OFFSET); in xlnx_axi_timer_set_cycles() 147 xlnx_axi_timer_write32(dev, TCSR_PWM | TCSR_LOAD, TCSR0_OFFSET); in xlnx_axi_timer_set_cycles() 157 xlnx_axi_timer_write32(dev, tcsr0, TCSR0_OFFSET); in xlnx_axi_timer_set_cycles()
|