Searched refs:tlr1 (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 145 tlr1 = xilinx_timer_tlr_cycles(priv, tcsr1, duty_cycles); in xilinx_pwm_apply() 147 regmap_write(priv->map, TLR1, tlr1); in xilinx_pwm_apply() 177 u32 tlr0, tlr1, tcsr0, tcsr1; in xilinx_pwm_get_state() local 180 regmap_read(priv->map, TLR1, &tlr1); in xilinx_pwm_get_state() 184 state->duty_cycle = xilinx_timer_get_period(priv, tlr1, tcsr1); in xilinx_pwm_get_state()
|