Searched refs:TCSR1_OFFSET (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/counter/ |
D | counter_xlnx_axi_timer.c | 21 #define TCSR1_OFFSET 0x10 macro 103 xlnx_axi_timer_write32(dev, TCSR1_DEFAULT, TCSR1_OFFSET); in xlnx_axi_timer_stop() 154 xlnx_axi_timer_write32(dev, TCSR1_DEFAULT | TCSR_LOAD, TCSR1_OFFSET); in xlnx_axi_timer_set_alarm() 164 xlnx_axi_timer_write32(dev, TCSR1_DEFAULT | tcsr, TCSR1_OFFSET); in xlnx_axi_timer_set_alarm() 180 xlnx_axi_timer_write32(dev, TCSR1_DEFAULT, TCSR1_OFFSET); in xlnx_axi_timer_cancel_alarm() 245 tcsr = xlnx_axi_timer_read32(dev, TCSR1_OFFSET); in xlnx_axi_timer_get_pending_int() 268 tcsr = xlnx_axi_timer_read32(dev, TCSR1_OFFSET); in xlnx_axi_timer_isr() 271 TCSR1_OFFSET); in xlnx_axi_timer_isr() 304 xlnx_axi_timer_write32(dev, TCSR1_DEFAULT, TCSR1_OFFSET); in xlnx_axi_timer_init()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_xlnx_axi_timer.c | 21 #define TCSR1_OFFSET 0x10 macro 143 xlnx_axi_timer_write32(dev, TCSR_PWM, TCSR1_OFFSET); in xlnx_axi_timer_set_cycles() 151 xlnx_axi_timer_write32(dev, TCSR_PWM | TCSR_LOAD, TCSR1_OFFSET); in xlnx_axi_timer_set_cycles() 158 xlnx_axi_timer_write32(dev, tcsr1, TCSR1_OFFSET); in xlnx_axi_timer_set_cycles()
|