Searched refs:delay_ns (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/iio/adc/ |
H A D | cc10001_adc.c | 143 unsigned int delay_ns; cc10001_adc_trigger_h() local 159 delay_ns = adc_dev->eoc_delay_ns / CC10001_MAX_POLL_COUNT; cc10001_adc_trigger_h() 169 data[i] = cc10001_adc_poll_done(indio_dev, channel, delay_ns); cc10001_adc_trigger_h() 196 unsigned int delay_ns; cc10001_adc_read_raw_voltage() local 202 delay_ns = adc_dev->eoc_delay_ns / CC10001_MAX_POLL_COUNT; cc10001_adc_read_raw_voltage() 206 val = cc10001_adc_poll_done(indio_dev, chan->channel, delay_ns); cc10001_adc_read_raw_voltage()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | coh901327_wdt.c | 91 unsigned long delay_ns; coh901327_enable() local 107 delay_ns = DIV_ROUND_UP(1000000000, freq); /* Freq to ns and round up */ coh901327_enable() 108 delay_ns = 3 * delay_ns; /* Wait 3 cycles */ coh901327_enable() 109 ndelay(delay_ns); coh901327_enable()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-fsl-dspi.c | 182 static void ns_delay_scale(char *psc, char *sc, int delay_ns, ns_delay_scale() argument 190 scale_needed = div_u64_rem((u64)delay_ns * clkrate, NSEC_PER_SEC, ns_delay_scale() 210 delay_ns, clkrate); ns_delay_scale()
|
Completed in 109 milliseconds