Home
last modified time | relevance | path

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

/bsp/nxp/imx/imx6ull-smart/drivers/
A Ddrv_pwm.c31 #define NSEC_PER_SEC 1000 macro
126 tmp = NSEC_PER_SEC * (uint64_t)(period + 2) * prescaler; in imx6ull_pwm_get()
132 tmp = NSEC_PER_SEC * (uint64_t)(val) * prescaler; in imx6ull_pwm_get()
150 period_cycles = pwm_src_clk * configuration->period / NSEC_PER_SEC; in imx6ull_pwm_set()
154 duty_cycles = configuration->pulse * pwm_src_clk / NSEC_PER_SEC ; in imx6ull_pwm_set()
/bsp/k230/drivers/interdrv/pwm/
A Ddrv_pwm.c145 period = period * NSEC_PER_SEC / pwm_pclock; in kd_pwm_get()
147 pulse = pulse * NSEC_PER_SEC / pwm_pclock; in kd_pwm_get()
166 pulse = (uint64_t)configuration->pulse * pwm_pclock / NSEC_PER_SEC; in kd_pwm_set()
167 period = (uint64_t)configuration->period * pwm_pclock / NSEC_PER_SEC; in kd_pwm_set()
A Ddrv_pwm.h35 #define NSEC_PER_SEC 1000000000L macro

Completed in 8 milliseconds