Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A Dleds-sun50i-a100.c305 u32 cycle_ns; in sun50i_a100_ledc_set_timing() local
311 cycle_ns = NSEC_PER_SEC / mod_freq; in sun50i_a100_ledc_set_timing()
312 control = FIELD_PREP(LEDC_T01_TIMING_CTRL_REG_T1H, timing->t1h_ns / cycle_ns) | in sun50i_a100_ledc_set_timing()
313 FIELD_PREP(LEDC_T01_TIMING_CTRL_REG_T1L, timing->t1l_ns / cycle_ns) | in sun50i_a100_ledc_set_timing()
314 FIELD_PREP(LEDC_T01_TIMING_CTRL_REG_T0H, timing->t0h_ns / cycle_ns) | in sun50i_a100_ledc_set_timing()
315 FIELD_PREP(LEDC_T01_TIMING_CTRL_REG_T0L, timing->t0l_ns / cycle_ns); in sun50i_a100_ledc_set_timing()
318 control = FIELD_PREP(LEDC_RESET_TIMING_CTRL_REG_TR, timing->treset_ns / cycle_ns) | in sun50i_a100_ledc_set_timing()
/linux/arch/arm/kernel/
H A Ddma.c240 void set_dma_speed(unsigned int chan, int cycle_ns) in set_dma_speed() argument
246 ret = dma->d_ops->setspeed(chan, dma, cycle_ns); in set_dma_speed()
/linux/arch/arm/include/asm/
H A Ddma.h133 extern void set_dma_speed(unsigned int chan, int cycle_ns);