Searched refs:cycle_ns (Results 1 – 3 of 3) sorted by relevance
305 u32 cycle_ns; in sun50i_a100_ledc_set_timing() local311 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()
240 void set_dma_speed(unsigned int chan, int cycle_ns) in set_dma_speed() argument246 ret = dma->d_ops->setspeed(chan, dma, cycle_ns); in set_dma_speed()
133 extern void set_dma_speed(unsigned int chan, int cycle_ns);