| /linux/drivers/iio/common/scmi_sensors/ |
| H A D | scmi_iio.c | 46 u64 time, time_ns; in scmi_iio_sensor_update_cb() local 58 time_ns = ktime_to_ns(sensor_update->timestamp); in scmi_iio_sensor_update_cb() 74 time_ns = time; in scmi_iio_sensor_update_cb() 76 time_ns = time * int_pow(10, tstamp_scale); in scmi_iio_sensor_update_cb() 82 time_ns); in scmi_iio_sensor_update_cb()
|
| /linux/include/linux/ |
| H A D | nsfs.h | 34 struct time_namespace *: current->nsproxy->time_ns, \
|
| H A D | nsproxy.h | 39 struct time_namespace *time_ns; member
|
| /linux/fs/xfs/ |
| H A D | xfs_healthmon.c | 276 event->time_ns = (now.tv_sec * NSEC_PER_SEC) + now.tv_nsec; in __xfs_healthmon_insert() 298 event->time_ns = (now.tv_sec * NSEC_PER_SEC) + now.tv_nsec; in __xfs_healthmon_push() 748 .time_ns = event->time_ns, in xfs_healthmon_format_v0()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ptp.c | 317 u64 time_ns; in idpf_ptp_gettimex64() local 320 err = idpf_ptp_read_src_clk_reg(adapter, &time_ns, sts); in idpf_ptp_gettimex64() 324 *ts = ns_to_timespec64(time_ns); in idpf_ptp_gettimex64()
|
| /linux/drivers/memory/ |
| H A D | omap-gpmc.c | 335 static unsigned int gpmc_ns_to_clk_ticks(unsigned int time_ns, int cs, in gpmc_ns_to_clk_ticks() argument 343 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks() 346 static unsigned int gpmc_ns_to_ticks(unsigned int time_ns) in gpmc_ns_to_ticks() argument 348 return gpmc_ns_to_clk_ticks(time_ns, /* any CS */ 0, GPMC_CD_FCLK); in gpmc_ns_to_ticks() 461 unsigned int time_ns; in get_gpmc_timing_reg() local 466 time_ns = gpmc_clk_ticks_to_ns(l, cs, cd); in get_gpmc_timing_reg() 468 name, time_ns, time_ns_min, time_ns, l, in get_gpmc_timing_reg()
|
| /linux/fs/ |
| H A D | nsfs.c | 700 ns_ref_active_get(ns->time_ns); in nsproxy_ns_active_get() 712 ns_ref_active_put(ns->time_ns); in nsproxy_ns_active_put()
|
| H A D | pidfs.c | 617 if (!ns_ref_get(nsp->time_ns)) in pidfd_ioctl() 619 ns_common = to_ns_common(nsp->time_ns); in pidfd_ioctl()
|
| /linux/tools/perf/scripts/python/ |
| H A D | task-analyzer.py | 770 def _time_to_internal(time_ns): argument 774 return decimal.Decimal(time_ns) / decimal.Decimal(1e9)
|
| /linux/drivers/cpuidle/ |
| H A D | cpuidle.c | 306 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state()
|
| H A D | sysfs.c | 276 return sysfs_emit(buf, "%llu\n", ktime_to_us(state_usage->time_ns)); in define_show_state_time_function()
|
| /linux/include/uapi/drm/ |
| H A D | drm.h | 1438 __s64 time_ns; member
|
| /linux/tools/include/uapi/drm/ |
| H A D | drm.h | |
| /linux/tools/perf/ |
| H A D | builtin-ftrace.c | 1229 static int add_func_duration(struct perf_ftrace *ftrace, char *func, double time_ns) in add_func_duration() argument 1249 update_stats(&prof->st, time_ns); in add_func_duration()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 78 u64 time_ns; in fbnic_ts40_to_ns() local 91 time_ns = (u64)(high >> 8) << 40 | ts40; in fbnic_ts40_to_ns() 100 time_ns += 1ULL << 40; in fbnic_ts40_to_ns() 102 return time_ns + offset; in fbnic_ts40_to_ns()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 1882 u64 time_ns; in ice_ptp_gettimex64() local 1884 time_ns = ice_ptp_read_src_clk_reg(pf, sts); in ice_ptp_gettimex64() 1885 *ts = ns_to_timespec64(time_ns); in ice_ptp_gettimex64()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_psr.c | 437 ktime_t time_ns = ktime_get(); in intel_psr_irq_handler() local 440 intel_dp->psr.last_entry_attempt = time_ns; in intel_psr_irq_handler() 447 intel_dp->psr.last_exit = time_ns; in intel_psr_irq_handler()
|
| /linux/drivers/video/fbdev/ |
| H A D | pxafb.c | 1212 static unsigned int __smart_timing(unsigned time_ns, unsigned long lcd_clk) in __smart_timing() argument 1214 unsigned int t = (time_ns * (lcd_clk / 1000000) / 1000); in __smart_timing()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_vblank.c | 1061 e->event.seq.time_ns = ktime_to_ns(now); in send_vblank_event()
|