Home
last modified time | relevance | path

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

/openbmc/linux/arch/microblaze/kernel/
H A Dtimer.c29 #define TCSR0 (0x00) macro
73 write_fn(read_fn(timer_baseaddr + TCSR0) & ~TCSR_ENT, in xilinx_timer0_stop()
74 timer_baseaddr + TCSR0); in xilinx_timer0_stop()
85 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_periodic()
101 timer_baseaddr + TCSR0); in xilinx_timer0_start_periodic()
112 write_fn(TCSR_LOAD, timer_baseaddr + TCSR0); in xilinx_timer0_start_oneshot()
115 timer_baseaddr + TCSR0); in xilinx_timer0_start_oneshot()
153 write_fn(read_fn(timer_baseaddr + TCSR0), timer_baseaddr + TCSR0); in timer_ack()
272 write_fn(TCSR_MDT, timer_baseaddr + TCSR0); in xilinx_timer_init()
273 if (!(read_fn(timer_baseaddr + TCSR0) & TCSR_MDT)) { in xilinx_timer_init()
/openbmc/linux/drivers/pwm/
H A Dpwm-xilinx.c142 regmap_read(priv->map, TCSR0, &tcsr0); in xilinx_pwm_apply()
156 regmap_write(priv->map, TCSR0, tcsr0 | TCSR_LOAD); in xilinx_pwm_apply()
161 regmap_write(priv->map, TCSR0, tcsr0); in xilinx_pwm_apply()
165 regmap_write(priv->map, TCSR0, 0); in xilinx_pwm_apply()
181 regmap_read(priv->map, TCSR0, &tcsr0); in xilinx_pwm_get_state()
/openbmc/linux/include/clocksource/
H A Dtimer-xilinx.h11 #define TCSR0 0x00 macro