Searched refs:pulse_width_ns (Results 1 – 2 of 2) sorted by relevance
46 uint32_t pulse_width_ns, csi_pwm_polarity_t polarity) in haas1000_pwm_out_config() argument61 cfg.ratio = DIV_ROUND_CLOSEST(((uint64_t)pulse_width_ns) * 100, period_ns); in haas1000_pwm_out_config()
86 uint32_t pulse_width_ns, csi_pwm_polarity_t polarity) in rtl872xd_pwm_out_config() argument137 ccrx = DIV_ROUND_CLOSEST(((uint64_t)(period_ns - pulse_width_ns) * 40), 1000); in rtl872xd_pwm_out_config()
Completed in 6 milliseconds