Searched refs:duty_cycle_reg (Results 1 – 1 of 1) sorted by relevance
129 unsigned int clk_div, clk_div_reg, duty_cycle_reg; in crc_pwm_get_state() local138 error = regmap_read(crc_pwm->regmap, PWM0_DUTY_CYCLE, &duty_cycle_reg); in crc_pwm_get_state()149 DIV_ROUND_UP_ULL(duty_cycle_reg * state->period, PWM_MAX_LEVEL); in crc_pwm_get_state()
Completed in 2 milliseconds