Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/fdt/
Dqcpwm.c62 #define PWM_RESOLUTION 512 macro
171 pcycles = (NS_PER_S * PWM_RESOLUTION * prediv * (1 << exp)); in qcpwm_get_state()
201 NS_PER_S * qcpwm_pre_divs[j] * PWM_RESOLUTION) in qcpwm_set_state()
205 (NS_PER_S * qcpwm_pre_divs[j] * PWM_RESOLUTION)) in qcpwm_set_state()
211 PWM_RESOLUTION * (1 << m)) / in qcpwm_set_state()