Home
last modified time | relevance | path

Searched refs:time_ns (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/staging/iio/adc/
Dmax1363_ring.c45 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()
Dad7476_ring.c58 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()
Dad7887_ring.c87 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()
Dad799x_ring.c76 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()
Dad7298_ring.c95 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()
Dad7606_ring.c50 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/
Dgpmc.h134 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/
Dgpmc.c164 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/
Dpxafb.c1224 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()