Searched refs:tlr0 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pwm/ |
H A D | pwm-xilinx.c | 104 u32 tlr0, tlr1, tcsr0, tcsr1; in xilinx_pwm_apply() local 144 tlr0 = xilinx_timer_tlr_cycles(priv, tcsr0, period_cycles); in xilinx_pwm_apply() 146 regmap_write(priv->map, TLR0, tlr0); in xilinx_pwm_apply() 177 u32 tlr0, tlr1, tcsr0, tcsr1; in xilinx_pwm_get_state() local 179 regmap_read(priv->map, TLR0, &tlr0); in xilinx_pwm_get_state() 183 state->period = xilinx_timer_get_period(priv, tlr0, tcsr0); in xilinx_pwm_get_state()
|