Searched refs:timestamp (Results 1 - 200 of 731) sorted by relevance

1234

/linux-4.1.27/include/trace/events/
H A Dpower_cpu_migrate.h10 TP_PROTO(u64 timestamp, \
13 TP_ARGS(timestamp, \
22 __field(u64, timestamp )
27 __entry->timestamp = timestamp;
31 TP_printk("timestamp=%llu cpu_hwid=0x%08lX",
32 (unsigned long long)__entry->timestamp,
H A Dv4l2.h108 __field(s64, timestamp) \
129 __entry->timestamp = \
130 timeval_to_ns(&buf->timestamp); \
153 "field = %s, timestamp = %llu, timecode = { " \
162 __entry->timestamp, \
/linux-4.1.27/tools/perf/util/
H A Dordered-events.c17 u64 timestamp = new->timestamp; queue_event() local
23 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); queue_event()
27 oe->max_timestamp = timestamp; queue_event()
36 if (last->timestamp <= timestamp) { queue_event()
37 while (last->timestamp <= timestamp) { queue_event()
41 oe->max_timestamp = timestamp; queue_event()
48 while (last->timestamp > timestamp) { queue_event()
134 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, ordered_events__new_event() argument
141 new->timestamp = timestamp; ordered_events__new_event()
158 u64 timestamp = sample->time; ordered_events__queue() local
161 if (!timestamp || timestamp == ~0ULL) ordered_events__queue()
164 if (timestamp < oe->last_flush) { ordered_events__queue()
165 pr_oe_time(timestamp, "out of order event\n"); ordered_events__queue()
172 oevent = ordered_events__new_event(oe, timestamp, event); ordered_events__queue()
175 oevent = ordered_events__new_event(oe, timestamp, event); ordered_events__queue()
190 u64 last_ts = oe->last ? oe->last->timestamp : 0ULL; __ordered_events__flush()
205 if (iter->timestamp > limit) list_for_each_entry_safe()
212 oe->last_flush = iter->timestamp; list_for_each_entry_safe()
256 oe->next_flush = first->timestamp; ordered_events__flush()
257 oe->next_flush += (last->timestamp - first->timestamp) / 2; ordered_events__flush()
H A Dcomm.h22 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
24 int comm__override(struct comm *comm, const char *str, u64 timestamp,
H A Dcomm.c77 struct comm *comm__new(const char *str, u64 timestamp, bool exec) comm__new() argument
84 comm->start = timestamp; comm__new()
98 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) comm__override() argument
109 comm->start = timestamp; comm__override()
H A Dthread.h59 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp,
62 u64 timestamp) thread__set_comm()
64 return __thread__set_comm(thread, comm, timestamp, false); thread__set_comm()
72 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp);
61 thread__set_comm(struct thread *thread, const char *comm, u64 timestamp) thread__set_comm() argument
H A Dthread.c120 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, __thread__set_comm() argument
128 err = comm__override(curr, str, timestamp, exec); __thread__set_comm()
132 new = comm__new(str, timestamp, exec); __thread__set_comm()
198 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp) thread__fork() argument
206 err = thread__set_comm(thread, comm, timestamp); thread__fork()
H A Dthread-stack.c68 * @timestamp: timestamp (if known)
76 u64 timestamp; member in struct:thread_stack_entry
92 * @last_time: last timestamp
197 u64 timestamp, u64 ref, bool no_return) thread_stack__call_return()
209 cr.call_time = tse->timestamp; thread_stack__call_return()
210 cr.return_time = timestamp; thread_stack__call_return()
462 u64 timestamp, u64 ref, struct call_path *cp, thread_stack__push_cp()
476 tse->timestamp = timestamp; thread_stack__push_cp()
486 u64 ret_addr, u64 timestamp, u64 ref, thread_stack__pop_cp()
499 timestamp, ref, false); thread_stack__pop_cp()
504 timestamp, ref, false); thread_stack__pop_cp()
515 timestamp, ref, thread_stack__pop_cp()
521 timestamp, ref, false); thread_stack__pop_cp()
620 struct thread_stack *ts, u64 timestamp, thread_stack__trace_begin()
633 timestamp, ref, false); thread_stack__trace_begin()
195 thread_stack__call_return(struct thread *thread, struct thread_stack *ts, size_t idx, u64 timestamp, u64 ref, bool no_return) thread_stack__call_return() argument
461 thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct call_path *cp, bool no_call) thread_stack__push_cp() argument
485 thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct symbol *sym) thread_stack__pop_cp() argument
619 thread_stack__trace_begin(struct thread *thread, struct thread_stack *ts, u64 timestamp, u64 ref) thread_stack__trace_begin() argument
H A Dordered-events.h9 u64 timestamp; member in struct:ordered_event
H A Dthread-stack.h50 * @call_time: timestamp of call (if known)
51 * @return_time: timestamp of return (if known)
/linux-4.1.27/drivers/firewire/
H A Dnosy-user.h20 * quadlet with timestamp (microseconds, CPU endian)
H A Dcore-transaction.c736 u32 timestamp; compute_split_timeout_timestamp() local
741 timestamp = request_timestamp & ~0x1fff; compute_split_timeout_timestamp()
742 timestamp += (cycles / 8000) << 13; compute_split_timeout_timestamp()
743 timestamp |= cycles % 8000; compute_split_timeout_timestamp()
745 return timestamp; compute_split_timeout_timestamp()
789 request->response.timestamp = allocate_request()
790 compute_split_timeout_timestamp(card, p->timestamp); allocate_request()
/linux-4.1.27/arch/alpha/kernel/
H A Derr_common.c92 union el_timestamp timestamp; el_process_header_subpacket()
110 timestamp.as_int = 0; el_process_header_subpacket()
117 timestamp = header->by_type.sys_event.timestamp; el_process_header_subpacket()
124 timestamp = header->by_type.err_halt.timestamp; el_process_header_subpacket()
130 timestamp.as_int = 0; el_process_header_subpacket()
144 el_print_timestamp(&timestamp); el_process_header_subpacket()
170 el_print_timestamp(union el_timestamp *timestamp) el_print_timestamp()
172 if (timestamp->as_int) el_print_timestamp()
175 timestamp->b.month, timestamp->b.day, el_print_timestamp()
176 timestamp->b.year, timestamp->b.hour,
177 timestamp->b.minute, timestamp->b.second);
90 union el_timestamp timestamp; el_process_header_subpacket() local
168 el_print_timestamp(union el_timestamp *timestamp) el_print_timestamp() argument
H A Derr_ev7.c253 el_print_timestamp(&packet->by_type.logout.timestamp); ev7_process_pal_subpacket()
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_ring.c101 * inv_mpu6050_irq_handler() - Cache a timestamp at each data ready interrupt.
108 s64 timestamp; inv_mpu6050_irq_handler() local
110 timestamp = iio_get_time_ns(); inv_mpu6050_irq_handler()
111 kfifo_in_spinlocked(&st->timestamps, &timestamp, 1, inv_mpu6050_irq_handler()
129 s64 timestamp; inv_mpu6050_read_fifo() local
170 result = kfifo_out(&st->timestamps, &timestamp, 1); inv_mpu6050_read_fifo()
171 /* when there is no timestamp, put timestamp as 0 */ inv_mpu6050_read_fifo()
173 timestamp = 0; inv_mpu6050_read_fifo()
176 timestamp); inv_mpu6050_read_fifo()
/linux-4.1.27/drivers/iio/common/ssp_sensors/
H A Dssp_iio_sensor.h20 /* It is defined here as it is a mixed timestamp */
43 unsigned int len, int64_t timestamp);
H A Dssp_iio.c75 * @timestamp: system timestamp
80 unsigned int len, int64_t timestamp) ssp_common_process_data()
97 timestamp + (int64_t)le32_to_cpu(time) * 1000000; ssp_common_process_data()
79 ssp_common_process_data(struct iio_dev *indio_dev, void *buf, unsigned int len, int64_t timestamp) ssp_common_process_data() argument
H A Dssp.h162 * @timestamp: previous time in ns calculated for time syncing
199 int64_t timestamp; member in struct:ssp_data
/linux-4.1.27/include/uapi/linux/iio/
H A Devents.h18 * @timestamp: best estimate of time of event occurrence (often from
23 __s64 timestamp; member in struct:iio_event_data
/linux-4.1.27/include/linux/
H A Ddigsig.h33 uint32_t timestamp; /* key made, always 0 for now */ member in struct:pubkey_hdr
41 uint32_t timestamp; /* signature made */ member in struct:signature_hdr
H A Ddccp.h156 * @dreq_timestamp_echo: last received timestamp to echo (13.1)
234 * @dccps_timestamp_echo - latest timestamp received on a TIMESTAMP option
245 * @dccps_rate_last - timestamp for rate-limiting DCCP-Sync (RFC 4340, 7.5.4)
H A Dtcp.h165 u32 rcv_tstamp; /* timestamp of last received ACK (for keepalives) */
166 u32 lsndtime; /* timestamp of last sent data packet (for restart window) */
167 u32 last_oow_ack_time; /* timestamp of last out-of-window ACK */
169 u32 tsoffset; /* timestamp offset */
H A Dptp_clock_kernel.h148 * @timestamp: When the event occurred (%PTP_CLOCK_EXTTS only).
156 u64 timestamp; member in union:ptp_clock_event::__anon12381
H A Dinetdevice.h146 unsigned long ifa_cstamp; /* created timestamp */
147 unsigned long ifa_tstamp; /* updated timestamp */
H A Dnilfs2_fs.h407 * @ss_create: creation timestamp
505 * @cp_create: creation timestamp
566 * @ci_create: creation timestamp
614 * @su_lastmod: last modified timestamp
694 * @sui_lastmod: timestamp of last modification
/linux-4.1.27/include/linux/iio/
H A Dtrigger_consumer.h29 * @timestamp: some devices need a timestamp grabbed as soon
40 s64 timestamp; member in struct:iio_poll_func
H A Dbuffer.h59 * @bytes_per_datum: [DEVICE] size of individual datum including timestamp
63 * @scan_timestamp: [INTERN] does the scan mode include a timestamp
126 * iio_push_to_buffers_with_timestamp() - push data and timestamp to buffers
129 * @timestamp: timestamp for the sample data
132 * device the function will store the supplied timestamp as the last element in
134 * data buffer needs to be large enough to hold the additional timestamp
140 void *data, int64_t timestamp) iio_push_to_buffers_with_timestamp()
144 ((int64_t *)data)[ts_offset] = timestamp; iio_push_to_buffers_with_timestamp()
139 iio_push_to_buffers_with_timestamp(struct iio_dev *indio_dev, void *data, int64_t timestamp) iio_push_to_buffers_with_timestamp() argument
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dscan.c82 u64 timestamp; orinoco_add_hostscan_result() local
121 timestamp = 0; orinoco_add_hostscan_result()
127 bss->a.bssid, timestamp, capability, orinoco_add_hostscan_result()
141 u64 timestamp; orinoco_add_extscan_result() local
154 timestamp = le64_to_cpu(bss->timestamp); orinoco_add_extscan_result()
161 bss->bssid, timestamp, capability, orinoco_add_extscan_result()
/linux-4.1.27/include/uapi/linux/
H A Ddlm_netlink.h33 unsigned long timestamp; member in struct:dlm_lock_data
H A Dif_addr.h59 __u32 cstamp; /* created timestamp, hundredths of seconds */
60 __u32 tstamp; /* updated timestamp, hundredths of seconds */
H A Derrqueue.h38 * is zero, then this is a hardware timestamp and recorded in ts[2].
H A Dprctl.h46 /* Get/set whether we use statistical process timing or accurate timestamp
52 # define PR_TIMING_TIMESTAMP 1 /* Accurate timestamp based
73 /* Get/set the process' ability to use the timestamp counter instruction */
76 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */
H A Djoystick.h48 __u32 time; /* event timestamp in milliseconds */
/linux-4.1.27/arch/c6x/include/asm/
H A Dtimex.h18 /* 64-bit timestamp */
/linux-4.1.27/tools/perf/
H A Dbuiltin-sched.c64 u64 timestamp; member in struct:sched_atom
240 get_new_event(struct task_desc *task, u64 timestamp) get_new_event() argument
246 event->timestamp = timestamp; get_new_event()
268 u64 timestamp, u64 duration) add_sched_event_run()
282 event = get_new_event(task, timestamp); add_sched_event_run()
291 u64 timestamp, struct task_desc *wakee) add_sched_event_wakeup()
295 event = get_new_event(task, timestamp); add_sched_event_wakeup()
318 u64 timestamp, u64 task_state __maybe_unused) add_sched_event_sleep()
320 struct sched_atom *event = get_new_event(task, timestamp); add_sched_event_sleep()
724 u64 timestamp0, timestamp = sample->time; replay_switch_event() local
736 delta = timestamp - timestamp0; replay_switch_event()
751 sched->cpu_last_switched[cpu] = timestamp; replay_switch_event()
753 add_sched_event_run(sched, prev, timestamp, delta); replay_switch_event()
754 add_sched_event_sleep(sched, prev, timestamp, prev_state); replay_switch_event()
885 u64 timestamp) add_sched_out_event()
893 atom->sched_out_time = timestamp; add_sched_out_event()
906 u64 timestamp __maybe_unused) add_runtime_event()
919 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) add_sched_in_event() argument
932 if (timestamp < atom->wake_up_time) { add_sched_in_event()
938 atom->sched_in_time = timestamp; add_sched_in_event()
944 atoms->max_lat_at = timestamp; add_sched_in_event()
959 u64 timestamp0, timestamp = sample->time; latency_switch_event() local
966 sched->cpu_last_switched[cpu] = timestamp; latency_switch_event()
968 delta = timestamp - timestamp0; latency_switch_event()
990 if (add_sched_out_event(out_events, sched_out_state(prev_state), timestamp)) latency_switch_event()
1006 if (add_sched_out_event(in_events, 'R', timestamp)) latency_switch_event()
1009 add_sched_in_event(in_events, timestamp); latency_switch_event()
1023 u64 timestamp = sample->time; latency_runtime_event() local
1035 if (add_sched_out_event(atoms, 'R', timestamp)) latency_runtime_event()
1039 add_runtime_event(atoms, runtime, timestamp); latency_runtime_event()
1052 u64 timestamp = sample->time; latency_wakeup_event() local
1064 if (add_sched_out_event(atoms, 'S', timestamp)) latency_wakeup_event()
1087 if (atom->sched_out_time > timestamp) { latency_wakeup_event()
1093 atom->wake_up_time = timestamp; latency_wakeup_event()
1103 u64 timestamp = sample->time; latency_migrate_task_event() local
1125 if (add_sched_out_event(atoms, 'R', timestamp)) latency_migrate_task_event()
1132 atom->sched_in_time = atom->sched_out_time = atom->wake_up_time = timestamp; latency_migrate_task_event()
1136 if (atom->sched_out_time > timestamp) latency_migrate_task_event()
1311 u64 timestamp0, timestamp = sample->time; map_switch_event() local
1321 sched->cpu_last_switched[this_cpu] = timestamp; map_switch_event()
1323 delta = timestamp - timestamp0; map_switch_event()
1376 printf(" %12.6f secs ", (double)timestamp/1e9); map_switch_event()
267 add_sched_event_run(struct perf_sched *sched, struct task_desc *task, u64 timestamp, u64 duration) add_sched_event_run() argument
290 add_sched_event_wakeup(struct perf_sched *sched, struct task_desc *task, u64 timestamp, struct task_desc *wakee) add_sched_event_wakeup() argument
317 add_sched_event_sleep(struct perf_sched *sched, struct task_desc *task, u64 timestamp, u64 task_state __maybe_unused) add_sched_event_sleep() argument
883 add_sched_out_event(struct work_atoms *atoms, char run_state, u64 timestamp) add_sched_out_event() argument
H A Dbuiltin-timechart.c128 u64 timestamp; member in struct:sample_wrapper
240 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) pid_fork() argument
249 p->start_time = timestamp; pid_fork()
251 p->current->start_time = timestamp; pid_fork()
252 p->current->state_since = timestamp; pid_fork()
256 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) pid_exit() argument
260 p->end_time = timestamp; pid_exit()
262 p->current->end_time = timestamp; pid_exit()
345 static void c_state_start(int cpu, u64 timestamp, int state) c_state_start() argument
347 cpus_cstate_start_times[cpu] = timestamp; c_state_start()
351 static void c_state_end(struct timechart *tchart, int cpu, u64 timestamp) c_state_end() argument
360 pwr->end_time = timestamp; c_state_end()
368 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) p_state_change() argument
381 pwr->end_time = timestamp; p_state_change()
392 cpus_pstate_start_times[cpu] = timestamp; p_state_change()
404 static void sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, sched_wakeup() argument
413 we->time = timestamp; sched_wakeup()
426 p->current->state_since = timestamp; sched_wakeup()
431 p->current->state_since, timestamp, NULL); sched_wakeup()
432 p->current->state_since = timestamp; sched_wakeup()
437 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, sched_switch() argument
449 prev_p->current->state_since, timestamp, sched_switch()
454 p->current->state_since, timestamp, sched_switch()
457 p->current->state_since = timestamp; sched_switch()
463 prev_p->current->state_since = timestamp; sched_switch()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_irq.c45 /* Access macro for slots in vblank timestamp ringbuffer. */
49 /* Retry timestamp calculation up to 3 times to satisfy
107 * We repeat the hardware vblank counter & timestamp query until drm_update_vblank_count()
110 * corresponding vblank timestamp. drm_update_vblank_count()
132 /* Reinitialize corresponding vblank timestamp if high-precision query drm_update_vblank_count()
169 * and timestamp to maintain the appearance that the counter vblank_disable_and_save()
175 * Otherwise we might read a totally bogus timestamp since drivers vblank_disable_and_save()
176 * lacking precise timestamp support rely upon sampling the system clock vblank_disable_and_save()
199 * vblank timestamp, repeat until they are consistent. vblank_disable_and_save()
217 /* Compute time difference to stored timestamp of last vblank vblank_disable_and_save()
225 * timestamp and tvblank, then we are currently executing our vblank_disable_and_save()
226 * disable inside a new vblank interval, the tvblank timestamp vblank_disable_and_save()
232 * Skip this step if there isn't any high precision timestamp vblank_disable_and_save()
237 /* Store new timestamp in ringbuffer. */ vblank_disable_and_save()
241 * the timestamp computed above. vblank_disable_and_save()
331 DRM_INFO("Supports vblank timestamp caching Rev 2 (21.10.2013).\n"); drm_vblank_init()
335 DRM_INFO("Driver supports precise vblank timestamp query.\n"); drm_vblank_init()
337 DRM_INFO("No driver support for vblank timestamp query.\n"); drm_vblank_init()
566 * drm_calc_timestamping_constants - calculate vblank timestamp constants
567 * @crtc: drm_crtc whose timestamp constants should be updated.
618 * drm_calc_vbltimestamp_from_scanoutpos - precise vblank timestamp helper
620 * @crtc: Which CRTC's vblank timestamp to retrieve
622 * On return contains true maximum error of timestamp
623 * @vblank_time: Pointer to struct timeval which should receive the timestamp
636 * extension specification. The timestamp corresponds to the end of
701 /* Get current scanout position with system timestamp. drm_calc_vbltimestamp_from_scanoutpos()
723 /* Compute uncertainty in timestamp of scanout position query. */ drm_calc_vbltimestamp_from_scanoutpos()
733 DRM_DEBUG("crtc %d: Noisy timestamp %d us > %d us [%d reps].\n", drm_calc_vbltimestamp_from_scanoutpos()
737 /* Return upper bound of timestamp precision error. */ drm_calc_vbltimestamp_from_scanoutpos()
758 /* Subtract time delta from raw timestamp to get final drm_calc_vbltimestamp_from_scanoutpos()
759 * vblank_time timestamp for end of vblank. drm_calc_vbltimestamp_from_scanoutpos()
790 * drm_get_last_vbltimestamp - retrieve raw timestamp for the most recent
793 * @crtc: which CRTC's vblank timestamp to retrieve
794 * @tvblank: Pointer to target struct timeval which should receive the timestamp
799 * Fetches the system timestamp corresponding to the time of the most recent
801 * compute the timestamp with a high-precision GPU specific method.
803 * Returns zero if timestamp originates from uncorrected do_gettimeofday()
807 * True if timestamp is considered to be very precise, false otherwise.
826 /* GPU high precision timestamp query unsupported or failed. drm_get_last_vbltimestamp()
827 * Return current monotonic/gettimeofday timestamp as best estimate. drm_get_last_vbltimestamp()
879 * and the system timestamp corresponding to that vblank counter value.
883 * @vblanktime: Pointer to struct timeval to receive the vblank timestamp.
887 * modesetting activity. Returns corresponding system timestamp of the time
899 /* Read timestamp from slot of _vblank_time ringbuffer drm_vblank_count_and_time()
936 * Updates sequence # and timestamp on event, and sends it to userspace.
964 * Updates sequence # and timestamp on event, and sends it to userspace.
993 * All vblank count & timestamp updates are held off drm_vblank_enable()
1699 /* Need timestamp lock to prevent concurrent execution with drm_handle_vblank()
1712 /* Fetch corresponding timestamp for this vblank interval from drm_handle_vblank()
1713 * driver and store it in proper slot of timestamp ringbuffer. drm_handle_vblank()
1716 /* Get current timestamp and count. */ drm_handle_vblank()
1720 /* Compute time difference to timestamp of last vblank */ drm_handle_vblank()
1724 /* Update vblank timestamp and count if at least drm_handle_vblank()
1726 * difference between last stored timestamp and current drm_handle_vblank()
1727 * timestamp. A smaller difference means basically drm_handle_vblank()
1734 /* Store new timestamp in ringbuffer. */ drm_handle_vblank()
1738 * the timestamp computed above. drm_handle_vblank()
/linux-4.1.27/drivers/iio/adc/
H A Dcc10001_adc.c268 struct iio_chan_spec *chan_array, *timestamp; cc10001_adc_channel_init() local
295 timestamp = &chan_array[idx]; cc10001_adc_channel_init()
296 timestamp->type = IIO_TIMESTAMP; cc10001_adc_channel_init()
297 timestamp->channel = -1; cc10001_adc_channel_init()
298 timestamp->scan_index = idx; cc10001_adc_channel_init()
299 timestamp->scan_type.sign = 's'; cc10001_adc_channel_init()
300 timestamp->scan_type.realbits = 64; cc10001_adc_channel_init()
301 timestamp->scan_type.storagebits = 64; cc10001_adc_channel_init()
H A Dad7291.c118 s64 timestamp = iio_get_time_ns(); ad7291_event_handler() local
142 timestamp); ad7291_event_handler()
149 timestamp); ad7291_event_handler()
158 timestamp); ad7291_event_handler()
165 timestamp); ad7291_event_handler()
H A Dad7266.c44 * the naturally aligned timestamp (8 bytes).
48 s64 timestamp; member in struct:ad7266_state::__anon4759
93 pf->timestamp); ad7266_trigger_handler()
H A Dat91_adc.c257 iio_push_to_buffers_with_timestamp(idev, st->buffer, pf->timestamp); at91_adc_trigger_handler()
463 struct iio_chan_spec *chan_array, *timestamp; at91_adc_channel_init() local
501 timestamp = chan_array + idx; at91_adc_channel_init()
503 timestamp->type = IIO_TIMESTAMP; at91_adc_channel_init()
504 timestamp->channel = -1; at91_adc_channel_init()
505 timestamp->scan_index = idx; at91_adc_channel_init()
506 timestamp->scan_type.sign = 's'; at91_adc_channel_init()
507 timestamp->scan_type.realbits = 64; at91_adc_channel_init()
508 timestamp->scan_type.storagebits = 64; at91_adc_channel_init()
/linux-4.1.27/Documentation/prctl/
H A Ddisable-tsc-ctxt-sw-stress-test.c22 /* Get/set the process' ability to use the timestamp counter instruction */
26 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */
H A Ddisable-tsc-on-off-stress-test.c22 /* Get/set the process' ability to use the timestamp counter instruction */
26 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */
H A Ddisable-tsc-test.c17 /* Get/set the process' ability to use the timestamp counter instruction */
21 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */
/linux-4.1.27/arch/alpha/include/asm/
H A Derr_common.h91 union el_timestamp timestamp; member in struct:el_subpacket::__anon58::__anon60
98 union el_timestamp timestamp; member in struct:el_subpacket::__anon58::__anon61
H A Derr_ev7.h14 union el_timestamp timestamp; member in struct:ev7_pal_logout_subpacket
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dlink.c308 unsigned int timestamp = jiffies_to_msecs(jiffies); ath_ani_calibrate() local
337 if ((timestamp - common->ani.longcal_timer) >= long_cal_interval) { ath_ani_calibrate()
339 common->ani.longcal_timer = timestamp; ath_ani_calibrate()
344 if ((timestamp - common->ani.shortcal_timer) >= short_cal_interval) { ath_ani_calibrate()
346 common->ani.shortcal_timer = timestamp; ath_ani_calibrate()
347 common->ani.resetcal_timer = timestamp; ath_ani_calibrate()
350 if ((timestamp - common->ani.resetcal_timer) >= ath_ani_calibrate()
354 common->ani.resetcal_timer = timestamp; ath_ani_calibrate()
359 if ((timestamp - common->ani.checkani_timer) >= ah->config.ani_poll_interval) { ath_ani_calibrate()
361 common->ani.checkani_timer = timestamp; ath_ani_calibrate()
421 unsigned long timestamp = jiffies_to_msecs(jiffies); ath_start_ani() local
428 common->ani.longcal_timer = timestamp; ath_start_ani()
429 common->ani.shortcal_timer = timestamp; ath_start_ani()
430 common->ani.checkani_timer = timestamp; ath_start_ani()
H A Ddynack.h29 * @tstamp: ACK RX timestamp buffer
51 * @ts: TX frame timestamp buffer
76 /* protect timestamp queue access */
H A Dhtc_drv_main.c752 unsigned long timestamp = jiffies_to_msecs(jiffies); ath9k_htc_start_ani() local
754 common->ani.longcal_timer = timestamp; ath9k_htc_start_ani()
755 common->ani.shortcal_timer = timestamp; ath9k_htc_start_ani()
756 common->ani.checkani_timer = timestamp; ath9k_htc_start_ani()
780 unsigned int timestamp = jiffies_to_msecs(jiffies); ath9k_htc_ani_work() local
791 if ((timestamp - common->ani.longcal_timer) >= ATH_LONG_CALINTERVAL) { ath9k_htc_ani_work()
794 common->ani.longcal_timer = timestamp; ath9k_htc_ani_work()
799 if ((timestamp - common->ani.shortcal_timer) >= ath9k_htc_ani_work()
803 common->ani.shortcal_timer = timestamp; ath9k_htc_ani_work()
804 common->ani.resetcal_timer = timestamp; ath9k_htc_ani_work()
807 if ((timestamp - common->ani.resetcal_timer) >= ath9k_htc_ani_work()
811 common->ani.resetcal_timer = timestamp; ath9k_htc_ani_work()
816 if ((timestamp - common->ani.checkani_timer) >= ATH_ANI_POLLINTERVAL) { ath9k_htc_ani_work()
818 common->ani.checkani_timer = timestamp; ath9k_htc_ani_work()
H A Ddynack.c165 * ath_dynack_sample_tx_ts - status timestamp sampling method
241 * ath_dynack_sample_ack_ts - ACK timestamp sampling method
244 * @ts: rx timestamp
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dtrace.h47 __field(u32, timestamp)
55 __entry->timestamp = le32_to_cpu(wmi->timestamp);
61 "MID %d id 0x%04x len %d timestamp %d",
62 __entry->mid, __entry->id, __entry->buf_len, __entry->timestamp
/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-event.c159 kev->event.timestamp = *ts; __v4l2_event_queue_fh()
173 struct timespec timestamp; v4l2_event_queue() local
175 ktime_get_ts(&timestamp); v4l2_event_queue()
180 __v4l2_event_queue_fh(fh, ev, &timestamp); v4l2_event_queue()
189 struct timespec timestamp; v4l2_event_queue_fh() local
191 ktime_get_ts(&timestamp); v4l2_event_queue_fh()
194 __v4l2_event_queue_fh(fh, ev, &timestamp); v4l2_event_queue_fh()
H A Dv4l2-compat-ioctl32.c317 struct compat_timeval timestamp; member in struct:v4l2_buffer32
405 get_user(kp->timestamp.tv_sec, &up->timestamp.tv_sec) || get_v4l2_buffer32()
406 get_user(kp->timestamp.tv_usec, get_v4l2_buffer32()
407 &up->timestamp.tv_usec)) get_v4l2_buffer32()
487 put_user(kp->timestamp.tv_sec, &up->timestamp.tv_sec) || put_v4l2_buffer32()
488 put_user(kp->timestamp.tv_usec, &up->timestamp.tv_usec) || put_v4l2_buffer32()
741 struct compat_timespec timestamp; member in struct:v4l2_event32
753 compat_put_timespec(&kp->timestamp, &up->timestamp) || put_v4l2_event32()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_trace.h66 } timestamp, fnaddr; member in struct:fnic_trace_data
92 trace_buf->timestamp.low = jiffies; \
95 trace_buf->timestamp.val = jiffies; \
H A Dfnic_trace.c131 jiffies_to_timespec(tbp->timestamp.low, &val); fnic_get_trace_data()
134 jiffies_to_timespec(tbp->timestamp.val, &val); fnic_get_trace_data()
173 jiffies_to_timespec(tbp->timestamp.low, &val); fnic_get_trace_data()
176 jiffies_to_timespec(tbp->timestamp.val, &val); fnic_get_trace_data()
/linux-4.1.27/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl258 # Convert sec.usec timestamp format
260 my $timestamp = $_[0];
262 my ($sec, $usec) = split (/\./, $timestamp);
270 my $timestamp;
280 $timestamp = $4;
305 $timestamp = timestamp_to_ms($timestamp);
307 $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN} = $timestamp;
326 $timestamp = timestamp_to_ms($timestamp);
328 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN});
343 $timestamp = timestamp_to_ms($timestamp);
345 $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN} = $timestamp;
358 $timestamp = timestamp_to_ms($timestamp);
360 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN});
H A Dtrace-pagealloc-postprocess.pl188 my $timestamp;
218 # $timestamp = $3;
/linux-4.1.27/tools/lib/traceevent/
H A Dkbuffer-parse.c42 * @timestamp - timestamp of current event
59 unsigned long long timestamp; member in struct:kbuffer
337 kbuf->timestamp += delta; old_update_pointers()
414 kbuf->timestamp += delta; update_pointers()
484 * @ts: Address to store the next record's timestamp (may be NULL to ignore)
505 *ts = kbuf->timestamp; kbuffer_next_event()
516 * the pointers and update the @kbuf timestamp. The next read will
531 kbuf->timestamp = read_8(kbuf, ptr); kbuffer_load_subbuffer()
566 * @ts: The address to store the timestamp of the event (may be NULL to ignore)
580 *ts = kbuf->timestamp; kbuffer_read_event()
585 * kbuffer_timestamp - Return the timestamp of the current event
588 * Returns the timestamp of the current (next) event.
592 return kbuf->timestamp; kbuffer_timestamp()
599 * @ts: The address to store the timestamp of the event (may be NULL to ignore)
608 * Note, the kbuf timestamp and pointers are updated to the
610 * data and timestamp, and kbuffer_next_event() will increment from
/linux-4.1.27/arch/c6x/kernel/
H A Dtime.c35 .name = "timestamp",
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dgianfar_ptp.c95 #define ETS2 (1<<25) /* External trigger 2 timestamp sampled */
96 #define ETS1 (1<<24) /* External trigger 1 timestamp sampled */
104 #define ETS2EN (1<<25) /* External trigger 2 timestamp enable */
105 #define ETS1EN (1<<24) /* External trigger 1 timestamp enable */
112 #define TXP2 (1<<9) /* PTP transmitted timestamp im TXTS2 */
113 #define TXP1 (1<<8) /* PTP transmitted timestamp in TXTS1 */
221 event.timestamp = ((u64) hi) << 32; isr()
222 event.timestamp |= lo; isr()
232 event.timestamp = ((u64) hi) << 32; isr()
233 event.timestamp |= lo; isr()
242 event.timestamp = etsects->alarm_value; isr()
H A Dfec_ptp.c164 /* Convert the ptp local counter to 1588 timestamp */ fec_ptp_enable_pps()
196 /* Calculate the second the compare event timestamp */ fec_ptp_enable_pps()
212 /* Write the second compare event timestamp and calculate fec_ptp_enable_pps()
213 * the third timestamp. Refer the TCCR register detail in the spec. fec_ptp_enable_pps()
435 /* Get the timer value based on timestamp. fec_ptp_settime()
/linux-4.1.27/drivers/iio/imu/
H A Dadis16400_buffer.c30 /* All but the timestamp channel */ adis16400_update_scan_mode()
95 pf->timestamp); adis16400_trigger_handler()
H A Dadis_buffer.c106 pf->timestamp); adis_trigger_handler()
/linux-4.1.27/sound/core/seq/
H A Dseq_prioq.c31 This priority queue orders the events on timestamp. For events with an
32 equeal timestamp the queue behaves as a FIFO.
99 /* compare timestamp between events */
113 /* compare timestamp between events */
268 int client, int timestamp) prioq_match()
273 if (!timestamp) prioq_match()
290 void snd_seq_prioq_leave(struct snd_seq_prioq * f, int client, int timestamp) snd_seq_prioq_leave() argument
302 if (prioq_match(cell, client, timestamp)) { snd_seq_prioq_leave()
267 prioq_match(struct snd_seq_event_cell *cell, int client, int timestamp) prioq_match() argument
H A Dseq_prioq.h56 void snd_seq_prioq_leave(struct snd_seq_prioq *f, int client, int timestamp);
H A Dseq_timer.h79 /* compare timestamp between events */
108 /* increment timestamp */ snd_seq_inc_real_time()
/linux-4.1.27/tools/firewire/
H A Dnosy-dump.h14 uint32_t timestamp; member in struct:phy_packet
77 uint32_t timestamp; member in struct:link_packet
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c99 * @timestamp: Timestamp from the hardware
102 * the upper level timestamping functions. Since the timestamp is simply a 64-
106 u64 timestamp) i40e_ptp_convert_to_hwtstamp()
110 hwtstamps->hwtstamp = ns_to_ktime(timestamp); i40e_ptp_convert_to_hwtstamp()
233 * i40e_ptp_rx_hang - Detect error case when Rx timestamp registers are hung
238 * particular error is rare but leaves the device in a state unable to timestamp
250 /* Since we cannot turn off the Rx timestamp logic if the device is i40e_ptp_rx_hang()
252 * configured. We don't want to spuriously warn about Rx timestamp i40e_ptp_rx_hang()
260 /* Unless all four receive timestamp registers are latched, we are not i40e_ptp_rx_hang()
293 "%s: clearing Rx timestamp hang\n", i40e_ptp_rx_hang()
299 * i40e_ptp_tx_hwtstamp - Utility function which returns the Tx timestamp
302 * Read the value of the Tx timestamp from the registers, convert it into a
316 /* don't attempt to timestamp if we don't have an skb */ i40e_ptp_tx_hwtstamp()
333 * i40e_ptp_rx_hwtstamp - Utility function which checks for an Rx timestamp
335 * @skb: Particular skb to send timestamp with
336 * @index: Index into the receive timestamp registers for the timestamp
339 * into the set of RXTIME registers where the timestamp is for that skb. This
340 * function goes and fetches the receive timestamp from that offset, if a valid
350 /* Since we cannot turn off the Rx timestamp logic if the device is i40e_ptp_rx_hwtstamp()
432 * keep a shadow copy of the timestamp settings rather than attempting to
447 * i40e_ptp_set_timestamp_mode - setup hardware for requested timestamp mode
452 * user. Also used during reset path to ensure that timestamp settings are
526 /* Enable/disable the Tx timestamp interrupt based on user input. */ i40e_ptp_set_timestamp_mode()
105 i40e_ptp_convert_to_hwtstamp(struct skb_shared_hwtstamps *hwtstamps, u64 timestamp) i40e_ptp_convert_to_hwtstamp() argument
/linux-4.1.27/drivers/ptp/
H A Dptp_ixp46x.c101 event.timestamp = ((u64) hi) << 32; isr()
102 event.timestamp |= lo; isr()
103 event.timestamp <<= TICKS_NS_SHIFT; isr()
115 event.timestamp = ((u64) hi) << 32; isr()
116 event.timestamp |= lo; isr()
117 event.timestamp <<= TICKS_NS_SHIFT; isr()
H A Dptp_pch.c377 event.timestamp = ((u64) hi) << 32; isr()
378 event.timestamp |= lo; isr()
379 event.timestamp <<= TICKS_NS_SHIFT; isr()
391 event.timestamp = ((u64) hi) << 32; isr()
392 event.timestamp |= lo; isr()
393 event.timestamp <<= TICKS_NS_SHIFT; isr()
/linux-4.1.27/scripts/
H A Dgen_initramfs_list.sh302 timestamp=
304 timestamp="$(date -d"$KBUILD_BUILD_TIMESTAMP" +%s || :)"
305 if test -n "$timestamp"; then
306 timestamp="-t $timestamp"
310 usr/gen_init_cpio $timestamp ${cpio_list} > ${cpio_tfile}
H A Dmkcompile_h83 # in order to preserve the timestamp and avoid unnecessary
/linux-4.1.27/fs/udf/
H A Decma_167.h60 struct timestamp { struct
139 struct timestamp descCreationDateAndTime;
209 struct timestamp recordingDateAndTime;
340 struct timestamp recordingDateAndTime;
419 struct timestamp recordingDateAndTime;
555 struct timestamp accessTime;
556 struct timestamp modificationTime;
557 struct timestamp attrTime;
733 struct timestamp recordingDateAndTime;
780 struct timestamp accessTime;
781 struct timestamp modificationTime;
782 struct timestamp createTime;
783 struct timestamp attrTime;
H A Dudftime.c88 udf_disk_stamp_to_time(struct timespec *dest, struct timestamp src) udf_disk_stamp_to_time()
119 struct timestamp * udf_time_to_disk_stamp()
120 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec ts) udf_time_to_disk_stamp()
H A Dudfdecl.h252 struct timestamp src);
253 extern struct timestamp *udf_time_to_disk_stamp(struct timestamp *dest, struct timespec src);
/linux-4.1.27/drivers/iio/humidity/
H A Ddht11.c67 s64 timestamp; member in struct:dht11
96 /* Calculate timestamp resolution */ dht11_decode()
129 dht11->timestamp = iio_get_time_ns(); dht11_decode()
176 if (dht11->timestamp + DHT11_DATA_VALID_TIME < iio_get_time_ns()) { dht11_read_raw()
277 dht11->timestamp = iio_get_time_ns() - DHT11_DATA_VALID_TIME - 1; dht11_probe()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dnv04.c53 if (alarm->timestamp <= ptimer->read(ptimer)) nv04_timer_alarm_trigger()
60 nv_wr32(priv, NV04_PTIMER_ALARM_0, alarm->timestamp); nv04_timer_alarm_trigger()
81 alarm->timestamp = ptimer->read(ptimer) + time; nv04_timer_alarm()
90 if (list->timestamp > alarm->timestamp) nv04_timer_alarm()
/linux-4.1.27/drivers/power/
H A Ds3c_adc_battery.c36 unsigned int timestamp; member in struct:s3c_adc_bat
84 jiffies_to_msecs(jiffies - bat->timestamp) > s3c_adc_backup_bat_get_property()
90 bat->timestamp = jiffies; s3c_adc_backup_bat_get_property()
160 jiffies_to_msecs(jiffies - bat->timestamp) > s3c_adc_bat_get_property()
168 bat->timestamp = jiffies; s3c_adc_bat_get_property()
/linux-4.1.27/arch/s390/include/asm/
H A Dcpu_mf.h142 unsigned char timestamp[16]; /* 16 - 31 timestamp */ member in struct:hws_trailer_entry
262 /* Return TOD timestamp contained in an trailer entry */ trailer_timestamp()
267 return *((unsigned long long *) &te->timestamp[1]); trailer_timestamp()
270 return *((unsigned long long *) &te->timestamp[0]); trailer_timestamp()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c104 /* The timestamp latches on lowest register read. For the 82580 igb_ptp_read_82580()
125 /* The timestamp latches on lowest register read. For I210/I211, the igb_ptp_read_i210()
150 * igb_ptp_systim_to_hwtstamp - convert system time value to hw timestamp
152 * @hwtstamps: timestamp structure to update
594 * timestamp has been taken for the current stored skb.
612 dev_warn(&adapter->pdev->dev, "clearing Tx timestamp hang\n"); igb_ptp_tx_work()
640 * igb_ptp_rx_hang - detect error case when Rx timestamp registers latched
645 * particular error is rare but leaves the device in a state unable to timestamp
657 /* If we don't have a valid timestamp in the registers, just update the igb_ptp_rx_hang()
675 dev_warn(&adapter->pdev->dev, "clearing Rx timestamp hang\n"); igb_ptp_rx_hang()
704 * igb_ptp_rx_pktstamp - retrieve Rx per packet timestamp
707 * @skb: Buffer containing timestamp and packet
709 * This function is meant to retrieve a timestamp from the first buffer of an
719 /* The timestamp is recorded in little endian format. igb_ptp_rx_pktstamp()
728 * igb_ptp_rx_rgtstamp - retrieve Rx timestamp stored in register
730 * @skb: Buffer containing timestamp and packet
732 * This function is meant to retrieve a timestamp from the internal registers
761 * for error case of latched timestamp on a dropped packet. igb_ptp_rx_rgtstamp()
855 /* 82576 cannot timestamp all packets, which it needs to do to igb_ptp_set_timestamp_mode()
H A De1000_regs.h93 #define E1000_RXSTMPL 0x0B624 /* Rx timestamp Low - RO */
94 #define E1000_RXSTMPH 0x0B628 /* Rx timestamp High - RO */
95 #define E1000_RXSATRL 0x0B62C /* Rx timestamp attribute low - RO */
96 #define E1000_RXSATRH 0x0B630 /* Rx timestamp attribute high - RO */
97 #define E1000_TXSTMPL 0x0B618 /* Tx timestamp value Low - RO */
98 #define E1000_TXSTMPH 0x0B61C /* Tx timestamp value High - RO */
/linux-4.1.27/drivers/acpi/acpica/
H A Dhwtimer.c120 * PARAMETERS: start_ticks - Starting timestamp ACPI_EXPORT_SYMBOL()
121 * end_ticks - End timestamp ACPI_EXPORT_SYMBOL()
132 * transitions (unlike many CPU timestamp counters) -- making it ACPI_EXPORT_SYMBOL()
/linux-4.1.27/include/net/
H A Dif_inet6.h59 unsigned long cstamp; /* created timestamp */
60 unsigned long tstamp; /* updated timestamp */
207 unsigned long tstamp; /* ipv6InterfaceTable update timestamp */
H A Dinet_frag.h42 * @stamp: timestamp of the last received fragment
/linux-4.1.27/drivers/iio/accel/
H A Dssp_accel_sensor.c92 int64_t timestamp) ssp_process_accel_data()
95 timestamp); ssp_process_accel_data()
91 ssp_process_accel_data(struct iio_dev *indio_dev, void *buf, int64_t timestamp) ssp_process_accel_data() argument
H A Dbmc150-accel.c199 int64_t timestamp, old_timestamp; member in struct:bmc150_accel_data
979 * If we getting called from IRQ handler we know the stored timestamp is __bmc150_accel_fifo_flush()
982 * before the watermark interrupt was triggered, take a timestamp __bmc150_accel_fifo_flush()
987 data->old_timestamp = data->timestamp; __bmc150_accel_fifo_flush()
988 data->timestamp = iio_get_time_ns(); __bmc150_accel_fifo_flush()
993 * frequency, timestamp for last sample and number of samples. __bmc150_accel_fifo_flush()
1003 * based on the timestamp delta between the last two flush operations. __bmc150_accel_fifo_flush()
1005 sample_period = (data->timestamp - data->old_timestamp); __bmc150_accel_fifo_flush()
1007 tstamp = data->timestamp - (count - 1) * sample_period; __bmc150_accel_fifo_flush()
1225 data->timestamp); bmc150_accel_trigger_handler()
1323 data->timestamp); bmc150_accel_handle_roc_event()
1330 data->timestamp); bmc150_accel_handle_roc_event()
1337 data->timestamp); bmc150_accel_handle_roc_event()
1387 data->old_timestamp = data->timestamp; bmc150_accel_irq_handler()
1388 data->timestamp = iio_get_time_ns(); bmc150_accel_irq_handler()
H A Dkxcjk-1013.c109 int64_t timestamp; member in struct:kxcjk1013_data
971 data->timestamp); kxcjk1013_trigger_handler()
1066 data->timestamp); kxcjk1013_event_handler()
1074 data->timestamp); kxcjk1013_event_handler()
1084 data->timestamp); kxcjk1013_event_handler()
1092 data->timestamp); kxcjk1013_event_handler()
1101 data->timestamp); kxcjk1013_event_handler()
1109 data->timestamp); kxcjk1013_event_handler()
1128 data->timestamp = iio_get_time_ns(); kxcjk1013_data_rdy_trig_poll()
/linux-4.1.27/drivers/iio/gyro/
H A Dssp_gyro_sensor.c92 int64_t timestamp) ssp_process_gyro_data()
95 timestamp); ssp_process_gyro_data()
91 ssp_process_gyro_data(struct iio_dev *indio_dev, void *buf, int64_t timestamp) ssp_process_gyro_data() argument
H A Ditg3200_buffer.c58 iio_push_to_buffers_with_timestamp(indio_dev, buf, pf->timestamp); itg3200_trigger_handler()
/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7758_ring.c72 iio_push_to_buffers_with_timestamp(indio_dev, dat64, pf->timestamp); ade7758_trigger_handler()
83 * to this driver currently ensuring that the timestamp is stored at an 8
/linux-4.1.27/drivers/rtc/
H A Drtc-dm355evm.c79 dev_dbg(dev, "read timestamp %08x\n", time.value); dm355evm_rtc_read_time()
94 dev_dbg(dev, "write timestamp %08x\n", time.value); dm355evm_rtc_set_time()
H A Dinterface.c182 * a current RTC timestamp for any missing (-1) values. The __rtc_read_alarm()
185 * But this can be racey, because some fields of the RTC timestamp __rtc_read_alarm()
190 * Reading the alarm and timestamp in the reverse sequence __rtc_read_alarm()
193 * So, we must first read the RTC timestamp, __rtc_read_alarm()
195 * and then read a second RTC timestamp. __rtc_read_alarm()
197 * If any fields of the second timestamp have changed __rtc_read_alarm()
198 * when compared with the first timestamp, then we know __rtc_read_alarm()
199 * our timestamp may be inconsistent with that used by __rtc_read_alarm()
210 /* Get the "before" timestamp */ __rtc_read_alarm()
228 /* get the "after" timestamp, to detect wrapped fields */ __rtc_read_alarm()
239 /* Fill in the missing alarm fields using the timestamp; we __rtc_read_alarm()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Dwlan_bssdef.h88 u8 IEs[MAX_IE_SZ]; /* timestamp, beacon interval, and capability info*/
101 unsigned long last_scanned; /* timestamp for the network */
/linux-4.1.27/block/partitions/
H A Dsun.c34 __be32 timestamp[8]; /* Partition timestamp */ sun_partition() member in struct:sun_disklabel::sun_vtoc
/linux-4.1.27/arch/s390/appldata/
H A Dappldata_net_sum.c33 u64 timestamp; member in struct:appldata_net_sum_data
114 net_data->timestamp = get_tod_clock(); appldata_get_net_sum_data()
H A Dappldata_mem.c37 u64 timestamp; member in struct:appldata_mem_data
112 mem_data->timestamp = get_tod_clock(); appldata_get_mem_data()
H A Dappldata_os.c58 u64 timestamp; member in struct:appldata_os_data
159 os_data->timestamp = get_tod_clock();
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/
H A Dtimex.h106 * timestamp counter specifications
112 /* Use 32-bit timestamp counter */
/linux-4.1.27/net/ipv4/
H A Dsyncookies.c29 /* TCP Timestamp: 6 lowest bits of timestamp sent in the cookie SYN-ACK
47 * if ACK contains timestamp option, we already know it was
77 * tcp options in the lower bits of the timestamp value that will be
80 * must make sure that the resulting initial timestamp is <= tcp_time_stamp.
242 * additional tcp options in the timestamp.
243 * This extracts these options from the timestamp echo.
250 /* echoed timestamp, lowest bits contain options */ cookie_timestamp_decode()
321 /* check for timestamp cookie support */ cookie_v4_check()
H A Dinet_lro.c79 /* check tcp options (only timestamp allowed) */ lro_tcp_ip_check()
88 /* timestamp should be in right order */ lro_tcp_ip_check()
94 /* timestamp reply should not be zero */ lro_tcp_ip_check()
/linux-4.1.27/drivers/media/platform/vivid/
H A Dvivid-kthread-out.c98 v4l2_get_timestamp(&vid_out_buf->vb.v4l2_buf.timestamp); vivid_thread_vid_out_tick()
99 vid_out_buf->vb.v4l2_buf.timestamp.tv_sec += dev->time_wrap_offset; vivid_thread_vid_out_tick()
111 v4l2_get_timestamp(&vbi_out_buf->vb.v4l2_buf.timestamp); vivid_thread_vid_out_tick()
112 vbi_out_buf->vb.v4l2_buf.timestamp.tv_sec += dev->time_wrap_offset; vivid_thread_vid_out_tick()
H A Dvivid-vbi-cap.c111 v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp); vivid_raw_vbi_cap_process()
112 buf->vb.v4l2_buf.timestamp.tv_sec += dev->time_wrap_offset; vivid_raw_vbi_cap_process()
134 v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp); vivid_sliced_vbi_cap_process()
135 buf->vb.v4l2_buf.timestamp.tv_sec += dev->time_wrap_offset; vivid_sliced_vbi_cap_process()
H A Dvivid-kthread-cap.c438 * Take the timestamp now if the timestamp source is set to vivid_fillbuff()
442 v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp); vivid_fillbuff()
552 * If "End of Frame" is specified at the timestamp source, then take vivid_fillbuff()
553 * the timestamp now. vivid_fillbuff()
556 v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp); vivid_fillbuff()
557 buf->vb.v4l2_buf.timestamp.tv_sec += dev->time_wrap_offset; vivid_fillbuff()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_desc.h199 /* Set tx timestamp enable bit */
202 /* get tx timestamp status */
287 /* Get rx timestamp status */
290 /* Get timestamp value for rx, need to check this */
H A Dsxgbe_desc.c105 /* Set tx timestamp enable bit */ sxgbe_tx_enable_tstamp()
111 /* get tx timestamp status */ sxgbe_get_tx_timestamp_status()
454 /* Get rx timestamp status */ sxgbe_get_rx_ctxt_tstamp_status()
/linux-4.1.27/drivers/net/wireless/
H A Dray_cs.h11 UCHAR timestamp[8]; member in struct:beacon_rx
/linux-4.1.27/drivers/staging/iio/magnetometer/
H A Dhmc5843.h40 * @buffer: 3x 16-bit channels + padding + 64-bit timestamp
/linux-4.1.27/drivers/net/wireless/hostap/
H A Dhostap_80211.h52 u8 timestamp[8]; member in struct:hostap_ieee80211_mgmt::__anon7829::__anon7837
/linux-4.1.27/arch/x86/include/asm/
H A Dpvclock-abi.h10 * pvclock_vcpu_time_info holds the system time and the tsc timestamp
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dtimer.h7 u64 timestamp; member in struct:nvkm_alarm
/linux-4.1.27/drivers/usb/gadget/udc/
H A Ds3c2410_udc.h19 unsigned long last_io; /* jiffies timestamp */
/linux-4.1.27/drivers/usb/isp1760/
H A Disp1760-hcd.h32 unsigned long timestamp; member in struct:isp1760_slotinfo
/linux-4.1.27/net/batman-adv/
H A Dfragmentation.h42 batadv_has_timed_out(frags_entry->timestamp, BATADV_FRAG_TIMEOUT)) batadv_frag_check_entry()
H A Dmain.h288 * has_timed_out - compares current time (jiffies) and timestamp + timeout
289 * @timestamp: base value to compare with (in jiffies)
292 * Returns true if current time is after timestamp + timeout
294 static inline bool batadv_has_timed_out(unsigned long timestamp, batadv_has_timed_out() argument
297 return time_is_before_jiffies(timestamp + msecs_to_jiffies(timeout)); batadv_has_timed_out()
H A Dtypes.h132 * @timestamp: time (jiffie) of last received fragment
139 unsigned long timestamp; member in struct:batadv_frag_table_entry
667 * @timestamp_fwd_flush: timestamp of last forward packet queue flush
668 * @timestamp_sniffed_purge: timestamp of last sniffed packet queue purge
917 * @added_at: timestamp used for purging stale tt common entries
934 * @last_seen: timestamp used for purging stale tt local entries
986 * @issued_at: timestamp used for purging stale tt requests
1000 * @first_time: timestamp used for purging stale roaming node entries
1017 * @last_seen: timestamp of last ogm received from this node
1037 * @last_valid: timestamp for last validation of path
1055 * @timestamp: field containing the info when the packet was added to path
1063 unsigned long timestamp; member in struct:batadv_nc_packet
H A Dfragmentation.c163 chain->timestamp = jiffies; batadv_frag_insert_packet()
179 chain->timestamp = jiffies; batadv_frag_insert_packet()
192 chain->timestamp = jiffies; batadv_frag_insert_packet()
/linux-4.1.27/kernel/
H A Dworkqueue_internal.h43 unsigned long last_active; /* L: last active timestamp */
H A Dwatchdog.c194 * Preemption can be enabled. It doesn't matter which CPU's timestamp touch_softlockup_watchdog()
207 * do we care if a 0 races with a timestamp? touch_all_softlockup_watchdogs()
455 /* initialize timestamp */ watchdog_enable()
482 * The watchdog thread function - touches the timestamp.
485 * default) to reset the softlockup timestamp. If this gets delayed
/linux-4.1.27/usr/
H A DMakefile50 # Removed files are identified by directory timestamp being updated
H A Dgen_init_cpio.c454 "\t%s [-t <timestamp>] <cpio_list>\n" usage()
487 "<timestamp> is time in seconds since Epoch that will be used\n" usage()
540 fprintf(stderr, "Invalid timestamp: %s\n", main()
/linux-4.1.27/include/linux/iio/common/
H A Dssp_sensors.h65 int64_t timestamp);
/linux-4.1.27/sound/soc/codecs/
H A Dwmfw.h27 __le64 timestamp; member in struct:wmfw_footer
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dtrace.h459 u32 timestamp,
464 TP_ARGS(ar, type, timestamp, code, len, data),
470 __field(u32, timestamp)
480 __entry->timestamp = timestamp;
487 "%s %s diag container type %hhu timestamp %u code %u len %d",
491 __entry->timestamp,
/linux-4.1.27/drivers/staging/iio/accel/
H A Dlis3l02dq_core.c452 s64 timestamp = iio_get_time_ns(); lis3l02dq_event_handler() local
465 timestamp); lis3l02dq_event_handler()
474 timestamp); lis3l02dq_event_handler()
483 timestamp); lis3l02dq_event_handler()
492 timestamp); lis3l02dq_event_handler()
501 timestamp); lis3l02dq_event_handler()
510 timestamp); lis3l02dq_event_handler()
/linux-4.1.27/include/drm/
H A DdrmP.h471 * optional accurate ktime_get timestamp of when position was measured.
478 * \param *stime Target location for timestamp taken immediately before
479 * scanout position query. Can be NULL to skip timestamp.
480 * \param *etime Target location for timestamp taken immediately after
481 * scanout position query. Can be NULL to skip timestamp.
504 * timestamp when the most recent VBLANK interval ended or will end.
506 * Specifically, the timestamp in @vblank_time should correspond as
516 * \param crtc crtc for which timestamp should be returned.
517 * \param *max_error Maximum allowable timestamp error in nanoseconds.
518 * Implementation should strive to provide timestamp
520 * Returns true upper bound on error for timestamp.
521 * \param *vblank_time Target location for returned vblank timestamp.
530 * which describes how the vblank_time timestamp was computed.
689 struct timeval time[DRM_VBLANKTIME_RBSIZE]; /**< timestamp of current count */
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dchain_mode.c135 /* NOTE: Device will overwrite des3 with timestamp value if stmmac_refill_desc3()
150 /* NOTE: Device will overwrite des3 with timestamp value if stmmac_clean_desc3()
H A Dcommon.h338 /* Set tx timestamp enable bit */
340 /* get tx timestamp status */
342 /* get timestamp value */
344 /* get rx timestamp status */
H A Dstmmac_hwtstamp.c4 This implements all the API for managing HW timestamp & PTP.
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Dieee80211_ext.h217 __le64 timestamp; member in struct:ieee80211_mgmt::__anon10136::__anon10143
229 __le64 timestamp; member in struct:ieee80211_mgmt::__anon10136::__anon10145
H A Dwlan_bssdef.h256 u8 IEs[MAX_IE_SZ]; /* timestamp, beacon interval, and
270 unsigned long last_scanned; /* timestamp for the network */
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Drx.c57 status->mactime = desc->timestamp; wl1251_rx_status()
60 * The rx status timestamp is a 32 bits value while the TSF is a wl1251_rx_status()
H A Drx.h76 u32 timestamp; /* In microseconds */ member in struct:wl1251_rx_descriptor
/linux-4.1.27/tools/testing/selftests/timers/
H A Dinconsistency-check.c116 /* timestamp start of test */ consistency_test()
151 /* timestamp inconsistency*/ consistency_test()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dptp.c20 * with the hardware timestamp. The PTP receive packet queue is searched
31 * that is converted to an appropriate timestamp.
34 * timestamp.
185 * @hwtimestamp: Event timestamp
197 * @host_start: Host time immediately before hardware timestamp taken
198 * @major: Hardware timestamp, major
199 * @minor: Hardware timestamp, minor
200 * @host_end: Host time immediately after hardware timestamp taken
201 * @wait: Number of NIC clock ticks between hardware timestamp being read and
233 * @config: Current timestamp configuration
265 * @rx_no_timestamp: Number of packets received without a timestamp.
530 /* Get PTP timestamp corrections */ efx_ptp_get_timestamp_corrections()
537 /* Get the timestamp corrections from the NIC. If this operation is efx_ptp_get_timestamp_corrections()
798 /* Set PPS timestamp to match NIC top of second */ efx_ptp_process_times()
964 /* Look for a matching timestamp in the event queue */ efx_ptp_match_rx()
974 /* Match - add in hardware timestamp */ efx_ptp_match_rx()
1249 /* Get the timestamp corrections */ efx_ptp_probe()
1359 * the receive timestamp from the MC - this will probably occur after the
1385 * to the timestamp efx_ptp_rx()
1400 * the UUID to match the packet to the timestamp. This efx_ptp_rx()
1772 * timestamp. __efx_rx_skb_attach_timestamp()
1775 "packet timestamp %x too far from sync event %x:%x\n", __efx_rx_skb_attach_timestamp()
/linux-4.1.27/drivers/iio/common/st_sensors/
H A Dst_sensors_buffer.c117 pf->timestamp); st_sensors_trigger_handler()
/linux-4.1.27/drivers/iio/
H A Dindustrialio-event.c50 * @timestamp: When the event occurred
55 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) iio_push_event() argument
65 ev.timestamp = timestamp; iio_push_event()
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dqueue.h100 unsigned long *timestamp,
H A Dbh.c477 unsigned long timestamp = jiffies; cw1200_bh() local
489 /* Get a timestamp of "oldest" frame */ cw1200_bh()
493 &timestamp, cw1200_bh()
500 timeout = timestamp + cw1200_bh()
510 timestamp, jiffies); cw1200_bh()
H A Dqueue.c539 unsigned long *timestamp, cw1200_queue_get_xmit_timestamp()
551 *timestamp)) cw1200_queue_get_xmit_timestamp()
552 *timestamp = item->xmit_timestamp; cw1200_queue_get_xmit_timestamp()
538 cw1200_queue_get_xmit_timestamp(struct cw1200_queue *queue, unsigned long *timestamp, u32 pending_frame_id) cw1200_queue_get_xmit_timestamp() argument
/linux-4.1.27/arch/x86/include/asm/xen/
H A Dinterface_32.h72 typedef uint64_t tsc_timestamp_t; /* RDTSC timestamp */
/linux-4.1.27/arch/mn10300/unit-asb2303/include/unit/
H A Dtimex.h88 * timestamp counter specifications
/linux-4.1.27/arch/mn10300/unit-asb2305/include/unit/
H A Dtimex.h88 * timestamp counter specifications
/linux-4.1.27/kernel/sched/
H A Dstats.c21 seq_printf(seq, "timestamp %lu\n", jiffies); show_schedstat()
/linux-4.1.27/drivers/isdn/mISDN/
H A Dclock.c26 * enabled. If function call is delayed, tv must be set with the timestamp
49 static int iclock_tv_valid; /* already received one timestamp */
181 /* add elapsed time to counter and set new timestamp */ mISDN_clock_update()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_cs.h55 u32 timestamp; member in struct:bfa_trc_s
122 trc->timestamp = BFA_TRC_TS(trcm); __bfa_trc()
142 trc->timestamp = BFA_TRC_TS(trcm); __bfa_trc32()
H A Dbfa_plog.h39 u64 tv; /* timestamp */
/linux-4.1.27/drivers/staging/rtl8712/
H A Dwlan_bssdef.h109 /*(timestamp, beacon interval, and capability information) */
213 unsigned int last_scanned; /*timestamp for the network */
262 u8 IEs[MAX_IE_SZ]; /* (timestamp, beacon interval, and capability
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_shared.h228 #define XFS_ICHGTIME_MOD 0x1 /* data fork modification timestamp */
229 #define XFS_ICHGTIME_CHG 0x2 /* inode field change timestamp */
230 #define XFS_ICHGTIME_CREATE 0x4 /* inode create timestamp */
/linux-4.1.27/include/uapi/sound/
H A Dcompress_offload.h57 * struct snd_compr_tstamp - timestamp descriptor
78 * @tstamp: timestamp information
153 * SNDRV_COMPRESS_TSTAMP: get the current timestamp value
/linux-4.1.27/tools/iio/
H A Diio_event_monitor.c46 [IIO_TIMESTAMP] = "timestamp",
212 event->timestamp, event->id); print_event()
216 printf("Event: time: %lld, ", event->timestamp); print_event()
/linux-4.1.27/drivers/staging/iio/cdc/
H A Dad7150.c497 s64 timestamp = iio_get_time_ns(); ad7150_event_handler() local
513 timestamp); ad7150_event_handler()
521 timestamp); ad7150_event_handler()
530 timestamp); ad7150_event_handler()
538 timestamp); ad7150_event_handler()
/linux-4.1.27/net/hsr/
H A Dhsr_framereg.c360 unsigned long timestamp; hsr_prune_nodes() local
381 timestamp = time_a; hsr_prune_nodes()
385 timestamp = time_b; hsr_prune_nodes()
388 if (time_is_after_jiffies(timestamp + hsr_prune_nodes()
398 if (time_is_before_jiffies(timestamp + hsr_prune_nodes()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c416 * ixgbe_ptp_rx_hang - detect error case when Rx timestamp registers latched
421 * particular error is rare but leaves the device in a state unable to timestamp
430 /* if we don't have a valid timestamp in the registers, just update the ixgbe_ptp_rx_hang()
456 * if the timestamp is valid, we convert it into the timecounter ns
488 * timestamp has been taken for the current skb. It is necessary, because the
489 * descriptor's "done" bit does not correlate with the timestamp event.
519 * @skb: particular skb to send timestamp with
521 * if the timestamp is valid, we convert it into the timecounter ns
548 * for error case of latched timestamp on a dropped packet. ixgbe_ptp_rx_hwtstamp()
688 * ixgbe_ptp_set_ts_config - user entry point for timestamp mode
909 /* set default timestamp mode to disabled here. We do this in ixgbe_ptp_create_clock()
/linux-4.1.27/fs/pstore/
H A Dram.c232 struct timespec timestamp; ramoops_write_kmsg_hdr() local
235 /* Report zeroed timestamp if called before timekeeping has resumed. */ ramoops_write_kmsg_hdr()
236 if (__getnstimeofday(&timestamp)) { ramoops_write_kmsg_hdr()
237 timestamp.tv_sec = 0; ramoops_write_kmsg_hdr()
238 timestamp.tv_nsec = 0; ramoops_write_kmsg_hdr()
241 (long)timestamp.tv_sec, (long)(timestamp.tv_nsec / 1000), ramoops_write_kmsg_hdr()
/linux-4.1.27/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c346 * update current time ref with received timestamp
368 * decode received timestamp
372 /* only 1st packet supplies a word timestamp */ pcan_usb_decode_ts()
579 /* only timestamp */ pcan_usb_decode_status()
641 /* first data packet timestamp is a word */ pcan_usb_decode_data()
657 /* convert timestamp into kernel time */ pcan_usb_decode_data()
H A Dpcan_usb_core.h145 /* common timestamp management */
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dtdls.c312 const u8 *peer, bool peer_initiator, u32 timestamp) iwl_mvm_tdls_check_action()
351 else if (timestamp <= mvm->tdls_cs.peer.sent_timestamp) iwl_mvm_tdls_check_action()
399 u32 timestamp, u16 switch_time, iwl_mvm_tdls_config_channel_switch()
413 timestamp); iwl_mvm_tdls_config_channel_switch()
423 cmd.timing.frame_timestamp = cpu_to_le32(timestamp); iwl_mvm_tdls_config_channel_switch()
724 params->chandef, params->timestamp, iwl_mvm_tdls_recv_channel_switch()
310 iwl_mvm_tdls_check_action(struct iwl_mvm *mvm, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u32 timestamp) iwl_mvm_tdls_check_action() argument
393 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm *mvm, struct ieee80211_vif *vif, enum iwl_tdls_channel_switch_type type, const u8 *peer, bool peer_initiator, u8 oper_class, struct cfg80211_chan_def *chandef, u32 timestamp, u16 switch_time, u16 switch_timeout, struct sk_buff *skb, u32 ch_sw_tm_ie) iwl_mvm_tdls_config_channel_switch() argument
H A Dutils.c257 IWL_ERR(mvm, "FW Error notification: timestamp 0x%16llX\n", iwl_mvm_rx_fw_error()
258 le64_to_cpu(err_resp->timestamp)); iwl_mvm_rx_fw_error()
347 u32 tsf_low; /* network timestamp function timer */
348 u32 tsf_hi; /* network timestamp function timer */
394 u32 tsf_low; /* network timestamp function timer */
395 u32 tsf_hi; /* network timestamp function timer */
574 IWL_ERR(mvm, "0x%08X | timestamp\n", table.u_timestamp); iwl_mvm_dump_nic_error_log_old()
661 IWL_ERR(mvm, "0x%08X | timestamp\n", table.u_timestamp); iwl_mvm_dump_nic_error_log()
H A Dfw-api.h440 __le32 timestamp; member in struct:mvm_alive_resp_ver1
462 __le32 timestamp; member in struct:mvm_alive_resp_ver2
487 __le32 timestamp; member in struct:mvm_alive_resp
525 * @timestamp: TSF in usecs.
533 __le64 timestamp; member in struct:iwl_error_resp
800 * @timestamp: action timestamp in GP2
808 __le32 timestamp; member in struct:iwl_time_event_notif
1062 * @timestamp: TSF at on air rise
1082 __le64 timestamp; member in struct:iwl_rx_phy_info
1394 * @timestamp: in milliseconds since 1970-01-01 00:00:00 UTC
1401 __le64 timestamp; member in struct:iwl_mvm_marker
1607 * @frame_timestamp: GP2 timestamp of channel-switch request/response packet
/linux-4.1.27/net/mac80211/
H A Dtrace.h1033 __field(u64, timestamp)
1043 __entry->timestamp = ch_switch->timestamp;
2156 __field(u64, timestamp)
2166 __entry->timestamp = ch_switch->timestamp;
2174 CHANDEF_PR_FMT " count:%d block_tx:%d timestamp:%llu",
2176 __entry->block_tx, __entry->timestamp
2286 __field(u32, timestamp)
2299 __entry->timestamp = params->timestamp;
2309 __entry->timestamp, __entry->switch_time,
H A Dmesh_sync.c96 * Get time when timestamp field was received. If we don't mesh_sync_offset_rx_bcn_presp()
129 t_t = le64_to_cpu(mgmt->u.beacon.timestamp); mesh_sync_offset_rx_bcn_presp()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dregs.h240 #define E1000_RXSTMPL 0x0B624 /* Rx timestamp Low - RO */
241 #define E1000_RXSTMPH 0x0B628 /* Rx timestamp High - RO */
242 #define E1000_TXSTMPL 0x0B618 /* Tx timestamp value Low - RO */
243 #define E1000_TXSTMPH 0x0B61C /* Tx timestamp value High - RO */
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_pci.c1098 u64 timestamp; fm10k_1588_msg_vf() local
1102 &timestamp); fm10k_1588_msg_vf()
1108 fm10k_ts_tx_hwtstamp(interface, 0, timestamp); fm10k_1588_msg_vf()
1234 struct fm10k_swapi_1588_timestamp timestamp; fm10k_1588_msg_pf() local
1242 &timestamp, sizeof(timestamp)); fm10k_1588_msg_pf()
1248 if (timestamp.dglort) { fm10k_1588_msg_pf()
1249 fm10k_ts_tx_hwtstamp(interface, timestamp.dglort, fm10k_1588_msg_pf()
1250 le64_to_cpu(timestamp.egress)); fm10k_1588_msg_pf()
1255 if (!timestamp.sglort) fm10k_1588_msg_pf()
1259 sglort = le16_to_cpu(timestamp.sglort); fm10k_1588_msg_pf()
1265 le64_to_cpu(timestamp.ingress)); fm10k_1588_msg_pf()
1275 /* notify VF if this timestamp belongs to it */ fm10k_1588_msg_pf()
1285 le64_to_cpu(timestamp.ingress)); fm10k_1588_msg_pf()
1682 /* Intitialize timestamp data */ fm10k_sw_init()
1907 /* cleanup timestamp handling */ fm10k_remove()
H A Dfm10k_ptp.c106 /* timestamp the sk_buff and return it to the socket */ fm10k_ts_tx_hwtstamp()
124 /* walk though the list and flush any expired timestamp packets */ skb_queue_walk_safe()
159 /* Initialize skb queue for pending timestamp requests */ fm10k_ts_init()
/linux-4.1.27/drivers/spi/
H A Dspi-mpc52xx.c85 int timestamp; member in struct:mpc52xx_spi
251 ms->timestamp = get_tbl(); mpc52xx_spi_fsmstate_transfer()
252 ms->timestamp += ms->transfer->delay_usecs * tb_ticks_per_usec; mpc52xx_spi_fsmstate_transfer()
280 if (((int)get_tbl()) - ms->timestamp < 0) mpc52xx_spi_fsmstate_wait()
/linux-4.1.27/drivers/staging/android/uapi/
H A Dsync.h35 * @timestamp_ns: timestamp of status change in nanoseconds
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Drx.h138 __le32 timestamp; member in struct:wl1271_rx_descriptor
/linux-4.1.27/drivers/dma-buf/
H A Dfence.c74 if (!ktime_to_ns(fence->timestamp)) { fence_signal_locked()
75 fence->timestamp = ktime_get(); fence_signal_locked()
114 if (!ktime_to_ns(fence->timestamp)) { fence_signal()
115 fence->timestamp = ktime_get(); fence_signal()
/linux-4.1.27/drivers/pps/
H A Dkc.c107 * @ts: PPS event timestamp
/linux-4.1.27/include/net/irda/
H A Ddiscovery.h85 unsigned long timestamp; /* Last time discovered */ member in struct:discovery_t
/linux-4.1.27/include/uapi/linux/hsi/
H A Dcs-protocol.h96 * timestamp taken when the last control command was received
/linux-4.1.27/arch/mn10300/kernel/
H A Dtime.c110 "timestamp counter I/O clock running at %lu.%02lu" time_init()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dnvram.h41 __be64 timestamp; member in struct:oops_log_info
/linux-4.1.27/kernel/trace/
H A Dtrace_clock.c65 * timestamp on a trace event - i.e. not life threatening.
/linux-4.1.27/net/atm/
H A Dlec_arpc.h28 unsigned long timestamp; /* Used for various timestamping things: member in struct:lec_arp_table
/linux-4.1.27/samples/kprobes/
H A Dkretprobe_example.c38 /* Here we use the entry_hanlder to timestamp function entry */ entry_handler()
/linux-4.1.27/sound/oss/
H A Dsound_config.h87 int timestamp; member in struct:voice_alloc_info
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c63 u64 timestamp) mlx4_en_fill_hwtstamps()
69 nsec = timecounter_cyc2time(&mdev->clock, timestamp); mlx4_en_fill_hwtstamps()
61 mlx4_en_fill_hwtstamps(struct mlx4_en_dev *mdev, struct skb_shared_hwtstamps *hwts, u64 timestamp) mlx4_en_fill_hwtstamps() argument
/linux-4.1.27/drivers/net/phy/
H A Ddp83640.c648 * enable an event timestamp recalibrate()
741 /* calculate length of the event timestamp status message */ decode_evnt()
775 event.timestamp = phy2txts(&dp83640->edata); decode_evnt()
778 event.timestamp -= 35; decode_evnt()
840 pr_debug("rx timestamp queue overflow, count %d\n", overflow); decode_rxts()
847 pr_debug("rx timestamp pool is empty\n"); decode_rxts()
890 pr_debug("have timestamp but tx_queue empty\n"); decode_txts()
896 pr_debug("tx timestamp queue overflow, count %d\n", overflow); decode_txts()
/linux-4.1.27/drivers/firmware/efi/
H A Defi-pstore.c40 static inline u64 generic_id(unsigned long timestamp, generic_id() argument
43 return ((u64) timestamp * 100 + part) * 1000 + count; generic_id()
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks_command.c199 * This is for timestamp processing. In Windows mode, all 32bit fields of second
200 * CIP header in AMDTP transmit packet is used for 'presentation timestamp'. In
/linux-4.1.27/include/sound/
H A Dpcm.h290 * userspace-provided audio timestamp config to kernel,
307 * kernel-provided audio timestamp report to user-space
316 /* actual type if hardware could not support requested timestamp */
344 struct timespec trigger_tstamp; /* trigger timestamp */
345 bool trigger_tstamp_latched; /* trigger timestamp latched in low-level driver/hardware */
374 int tstamp_mode; /* mmap timestamp is updated */
412 int tstamp_type; /* timestamp type */
421 /* -- audio timestamp config -- */
871 * The trigger_master mark is cleared at timestamp updates at the end
1124 * snd_pcm_gettime - Fill the timespec depending on the timestamp mode
/linux-4.1.27/drivers/misc/sgi-xp/
H A Dxpc_partition.c188 * Set timestamp of when reserved page was setup by XPC. xpc_setup_rsvd_page()
204 /* a zero timestamp indicates our rsvd page is not initialized */ xpc_teardown_rsvd_page()
242 /* zero timestamp indicates the reserved page has not been setup */ xpc_get_remote_rp()
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_video.c438 * for to make timestamp recovery as accurate as possible. uvc_video_clock_decode()
540 * uvc_video_clock_update - Update the buffer timestamp
542 * This function converts the buffer PTS timestamp to the host clock domain by
544 * buffer timestamp field.
567 * to avoid losing precision in the division. Similarly, the host timestamp is
598 * timestamp of the sliding window to 1s.
691 v4l2_buf->timestamp.tv_sec, uvc_video_clock_update()
692 (unsigned long)v4l2_buf->timestamp.tv_usec, uvc_video_clock_update()
697 v4l2_buf->timestamp.tv_sec = ts.tv_sec; uvc_video_clock_update()
698 v4l2_buf->timestamp.tv_usec = ts.tv_nsec / NSEC_PER_USEC; uvc_video_clock_update()
1026 buf->buf.v4l2_buf.timestamp.tv_sec = ts.tv_sec; uvc_video_decode_start()
1027 buf->buf.v4l2_buf.timestamp.tv_usec = uvc_video_decode_start()
H A Duvcvideo.h407 unsigned int nb_pts; /* Number of packets with a PTS timestamp */
414 unsigned int nb_scr; /* Number of packets with a SCR timestamp */
421 struct timespec start_ts; /* Stream start timestamp */
422 struct timespec stop_ts; /* Stream stop timestamp */
/linux-4.1.27/drivers/net/can/softing/
H A Dsofting.h42 ktime_t ts_overflow; /* timestamp overflow value, in ktime */
/linux-4.1.27/drivers/media/platform/exynos-gsc/
H A Dgsc-m2m.c89 dst_vb->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp; gsc_m2m_job_finish()
128 dst_vb->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp; gsc_get_bufs()
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00debug.c166 struct timeval timestamp; rt2x00debug_dump_frame() local
172 do_gettimeofday(&timestamp); rt2x00debug_dump_frame()
201 dump_hdr->timestamp_sec = cpu_to_le32(timestamp.tv_sec); rt2x00debug_dump_frame()
202 dump_hdr->timestamp_usec = cpu_to_le32(timestamp.tv_usec); rt2x00debug_dump_frame()
/linux-4.1.27/drivers/staging/android/
H A Dsync_debug.c100 ktime_to_timespec64(pt->base.timestamp); sync_print_pt()
/linux-4.1.27/drivers/staging/iio/
H A Diio_simple_dummy_buffer.c149 * a timestamp as close as possible to a data ready trigger firing. iio_simple_dummy_configure_buffer()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
H A Dmce-apei.c91 /* timestamp, platform_id, partition_id are all invalid */ apei_write_mce()
/linux-4.1.27/arch/tile/include/arch/
H A Dmpipe_shm.h287 * Enable TimeStamp insertion. When clear, timestamp field may be filled
289 * timestamp when the start of packet is received from the MAC.
440 * from the MAC. This is the nanoseconds part of the packet timestamp.
445 * from the MAC. This is the seconds part of the packet timestamp.
/linux-4.1.27/drivers/atm/
H A Deni.h62 ktime_t timestamp; /* for RX timing */ member in struct:eni_vcc
/linux-4.1.27/fs/xfs/
H A Dxfs_trans_inode.c60 * Transactional inode timestamp update. Requires the inode to be locked and
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dnvram.c39 static time64_t last_unread_rtas_event; /* timestamp */
/linux-4.1.27/arch/mn10300/proc-mn2ws0050/include/proc/
H A Ddmactl-regs.h44 #define DMxCTR_BG_TMSUFLOW 0x0000001f /* - timestamp timer underflow */
/linux-4.1.27/arch/ia64/include/asm/
H A Dsal.h312 /* Definition of timestamp according to SAL spec for logging purposes */
329 u8 validation_bits; /* 0: platform_guid, 1: !timestamp */
331 sal_log_timestamp_t timestamp; /* Timestamp */ member in struct:sal_log_record_header
505 u8 timestamp[4]; member in struct:sal_log_sel_dev_err_info
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_readq.c199 * put a timestamp
/linux-4.1.27/drivers/media/pci/meye/
H A Dmeye.h284 struct timeval timestamp; /* timestamp */ member in struct:meye_grab_buffer
/linux-4.1.27/drivers/media/pci/zoran/
H A Dzoran.h40 struct timeval timestamp; /* timestamp */ member in struct:zoran_sync

Completed in 5236 milliseconds

1234