Searched refs:time_ns (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/iio/proximity/ |
D | srf04.c | 93 u32 time_ns, distance_mm; in srf04_read() local 148 time_ns = dt_ns; in srf04_read() 170 distance_mm = time_ns * 343 / 2000000; in srf04_read()
|
/Linux-v4.19/drivers/iio/light/ |
D | acpi-als.c | 121 s64 time_ns = iio_get_time_ns(indio_dev); in acpi_als_notify() local 143 iio_push_to_buffers_with_timestamp(indio_dev, als->evt_buffer, time_ns); in acpi_als_notify()
|
D | adjd_s311.c | 121 s64 time_ns = iio_get_time_ns(indio_dev); in adjd_s311_trigger_handler() local 138 iio_push_to_buffers_with_timestamp(indio_dev, data->buffer, time_ns); in adjd_s311_trigger_handler()
|
/Linux-v4.19/drivers/memory/ |
D | omap-gpmc.c | 326 static unsigned int gpmc_ns_to_clk_ticks(unsigned int time_ns, int cs, in gpmc_ns_to_clk_ticks() argument 334 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks() 337 static unsigned int gpmc_ns_to_ticks(unsigned int time_ns) in gpmc_ns_to_ticks() argument 339 return gpmc_ns_to_clk_ticks(time_ns, /* any CS */ 0, GPMC_CD_FCLK); in gpmc_ns_to_ticks() 456 unsigned int time_ns; in get_gpmc_timing_reg() local 461 time_ns = gpmc_clk_ticks_to_ns(l, cs, cd); in get_gpmc_timing_reg() 463 name, time_ns, time_ns_min, time_ns, l, in get_gpmc_timing_reg()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_psr.c | 128 ktime_t time_ns = ktime_get(); in intel_psr_irq_handler() local 142 dev_priv->psr.last_entry_attempt = time_ns; in intel_psr_irq_handler() 148 dev_priv->psr.last_exit = time_ns; in intel_psr_irq_handler()
|
/Linux-v4.19/drivers/iio/accel/ |
D | bma180.c | 658 s64 time_ns = iio_get_time_ns(indio_dev); in bma180_trigger_handler() local 675 iio_push_to_buffers_with_timestamp(indio_dev, data->buff, time_ns); in bma180_trigger_handler()
|
/Linux-v4.19/drivers/acpi/ |
D | osl.c | 626 u64 time_ns = ktime_to_ns(ktime_get()); in acpi_os_get_timer() local 627 do_div(time_ns, 100); in acpi_os_get_timer() 628 return time_ns; in acpi_os_get_timer()
|
/Linux-v4.19/tools/include/uapi/drm/ |
D | drm.h | 959 __s64 time_ns; member
|
/Linux-v4.19/include/uapi/drm/ |
D | drm.h | 959 __s64 time_ns; member
|
/Linux-v4.19/block/ |
D | blk-throttle.c | 2272 void blk_throtl_stat_add(struct request *rq, u64 time_ns) in blk_throtl_stat_add() argument 2277 throtl_track_latency(td, rq->throtl_size, req_op(rq), time_ns >> 10); in blk_throtl_stat_add()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | pxafb.c | 1227 static unsigned int __smart_timing(unsigned time_ns, unsigned long lcd_clk) in __smart_timing() argument 1229 unsigned int t = (time_ns * (lcd_clk / 1000000) / 1000); in __smart_timing()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_vblank.c | 834 e->event.seq.time_ns = ktime_to_ns(now); in send_vblank_event()
|