Searched refs:time_ns (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/drivers/staging/iio/adc/ |
D | max1363_ring.c | 45 s64 time_ns; in max1363_trigger_handler() local 79 time_ns = iio_get_time_ns(); in max1363_trigger_handler() 82 memcpy(rxbuf + d_size - sizeof(s64), &time_ns, sizeof(time_ns)); in max1363_trigger_handler() 83 iio_push_to_buffer(indio_dev->buffer, rxbuf, time_ns); in max1363_trigger_handler()
|
D | ad7476_ring.c | 58 s64 time_ns; in ad7476_trigger_handler() local 71 time_ns = iio_get_time_ns(); in ad7476_trigger_handler() 75 &time_ns, sizeof(time_ns)); in ad7476_trigger_handler() 77 indio_dev->buffer->access->store_to(indio_dev->buffer, rxbuf, time_ns); in ad7476_trigger_handler()
|
D | ad7887_ring.c | 87 s64 time_ns; in ad7887_trigger_handler() local 103 time_ns = iio_get_time_ns(); in ad7887_trigger_handler() 108 &time_ns, sizeof(time_ns)); in ad7887_trigger_handler() 110 indio_dev->buffer->access->store_to(indio_dev->buffer, buf, time_ns); in ad7887_trigger_handler()
|
D | ad799x_ring.c | 76 s64 time_ns; in ad799x_trigger_handler() local 112 time_ns = iio_get_time_ns(); in ad799x_trigger_handler() 116 &time_ns, sizeof(time_ns)); in ad799x_trigger_handler() 118 ring->access->store_to(indio_dev->buffer, rxbuf, time_ns); in ad799x_trigger_handler()
|
D | ad7298_ring.c | 95 s64 time_ns; in ad7298_trigger_handler() local 104 time_ns = iio_get_time_ns(); in ad7298_trigger_handler() 106 &time_ns, sizeof(time_ns)); in ad7298_trigger_handler() 113 indio_dev->buffer->access->store_to(ring, (u8 *)buf, time_ns); in ad7298_trigger_handler()
|
D | ad7606_ring.c | 50 s64 time_ns; in ad7606_poll_bh_to_ring() local 83 time_ns = iio_get_time_ns(); in ad7606_poll_bh_to_ring() 87 sizeof(s64))) = time_ns; in ad7606_poll_bh_to_ring() 89 ring->access->store_to(indio_dev->buffer, buf, time_ns); in ad7606_poll_bh_to_ring()
|
/linux-3.4.99/arch/arm/plat-omap/include/plat/ |
D | gpmc.h | 134 extern unsigned int gpmc_ns_to_ticks(unsigned int time_ns); 137 extern unsigned int gpmc_round_ns_to_ticks(unsigned int time_ns);
|
/linux-3.4.99/arch/arm/mach-omap2/ |
D | gpmc.c | 164 unsigned int gpmc_ns_to_ticks(unsigned int time_ns) in gpmc_ns_to_ticks() argument 171 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_ticks() 189 unsigned int gpmc_round_ns_to_ticks(unsigned int time_ns) in gpmc_round_ns_to_ticks() argument 191 unsigned long ticks = gpmc_ns_to_ticks(time_ns); in gpmc_round_ns_to_ticks()
|
/linux-3.4.99/drivers/video/ |
D | pxafb.c | 1224 static unsigned int __smart_timing(unsigned time_ns, unsigned long lcd_clk) in __smart_timing() argument 1226 unsigned int t = (time_ns * (lcd_clk / 1000000) / 1000); in __smart_timing()
|