Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_rcar.c30 #define RCAR_PWM_CR(channel) \ macro
94 power = pwm_rcar_read(config, RCAR_PWM_CR(channel)) & RCAR_PWM_DIVISER_MASK; in pwm_rcar_update_clk()
127 reg_val = pwm_rcar_read(config, RCAR_PWM_CR(channel)); in pwm_rcar_update_clk()
130 pwm_rcar_write(config, RCAR_PWM_CR(channel), reg_val); in pwm_rcar_update_clk()
161 pwm_rcar_write_bit(config, RCAR_PWM_CR(channel), RCAR_PWM_CR_EN, false); in pwm_rcar_set_cycles()
164 pwm_rcar_write_bit(config, RCAR_PWM_CR(channel), RCAR_PWM_CR_SS, false); in pwm_rcar_set_cycles()
167 pwm_rcar_write_bit(config, RCAR_PWM_CR(channel), RCAR_PWM_CR_SYNC, true); in pwm_rcar_set_cycles()
195 pwm_rcar_write_bit(config, RCAR_PWM_CR(channel), RCAR_PWM_CR_EN, true); in pwm_rcar_set_cycles()
210 diviser = pwm_rcar_read(config, RCAR_PWM_CR(channel)) & RCAR_PWM_DIVISER_MASK; in pwm_rcar_get_cycles_per_sec()