Home
last modified time | relevance | path

Searched full:timestamp (Results 1 – 25 of 3039) sorted by relevance

12345678910>>...122

/kernel/linux/linux-5.10/fs/ext4/
Dinode-test.c14 * For constructing the nonnegative timestamp lower bound value.
19 * For constructing the nonnegative timestamp upper bound value.
25 * For constructing the negative timestamp lower bound value.
30 * For constructing the negative timestamp upper bound value.
43 "1901-12-13 Lower bound of 32bit < 0 timestamp, no extra bits"
45 "1969-12-31 Upper bound of 32bit < 0 timestamp, no extra bits"
47 "1970-01-01 Lower bound of 32bit >=0 timestamp, no extra bits"
49 "2038-01-19 Upper bound of 32bit >=0 timestamp, no extra bits"
51 "2038-01-19 Lower bound of 32bit <0 timestamp, lo extra sec bit on"
53 "2106-02-07 Upper bound of 32bit <0 timestamp, lo extra sec bit on"
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dordered-events.c21 u64 timestamp = new->timestamp; in queue_event() local
27 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event()
31 oe->max_timestamp = timestamp; in queue_event()
40 if (last->timestamp <= timestamp) { in queue_event()
41 while (last->timestamp <= timestamp) { in queue_event()
45 oe->max_timestamp = timestamp; in queue_event()
52 while (last->timestamp > timestamp) { in queue_event()
172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument
179 new->timestamp = timestamp; in ordered_events__new_event()
195 u64 timestamp, u64 file_offset) in ordered_events__queue() argument
[all …]
/kernel/linux/linux-6.6/tools/perf/util/
Dordered-events.c21 u64 timestamp = new->timestamp; in queue_event() local
27 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event()
31 oe->max_timestamp = timestamp; in queue_event()
40 if (last->timestamp <= timestamp) { in queue_event()
41 while (last->timestamp <= timestamp) { in queue_event()
45 oe->max_timestamp = timestamp; in queue_event()
52 while (last->timestamp > timestamp) { in queue_event()
172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument
179 new->timestamp = timestamp; in ordered_events__new_event()
195 u64 timestamp, u64 file_offset, const char *file_path) in ordered_events__queue() argument
[all …]
/kernel/linux/linux-6.6/fs/ext4/
Dinode-test.c14 * For constructing the nonnegative timestamp lower bound value.
19 * For constructing the nonnegative timestamp upper bound value.
25 * For constructing the negative timestamp lower bound value.
30 * For constructing the negative timestamp upper bound value.
43 "1901-12-13 Lower bound of 32bit < 0 timestamp, no extra bits"
45 "1969-12-31 Upper bound of 32bit < 0 timestamp, no extra bits"
47 "1970-01-01 Lower bound of 32bit >=0 timestamp, no extra bits"
49 "2038-01-19 Upper bound of 32bit >=0 timestamp, no extra bits"
51 "2038-01-19 Lower bound of 32bit <0 timestamp, lo extra sec bit on"
53 "2106-02-07 Upper bound of 32bit <0 timestamp, lo extra sec bit on"
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c22 * @timestamp: the interrupt timestamp
26 * to choose the data timestamp to come.
29 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument
31 /* Period boundaries for accepting timestamp */ in inv_mpu6050_update_period()
45 * Validate the use of it timestamp by checking if interrupt in inv_mpu6050_update_period()
51 delta = div_s64(timestamp - st->it_timestamp, divider); in inv_mpu6050_update_period()
53 /* update chip period and use it timestamp */ in inv_mpu6050_update_period()
62 * compute timestamp corresponding to the first sample using in inv_mpu6050_update_period()
66 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period()
69 /* save it timestamp */ in inv_mpu6050_update_period()
[all …]
/kernel/linux/linux-6.6/Documentation/networking/
Dtimestamping.rst14 Generates a timestamp for each incoming packet in (not necessarily
15 monotonic) system time. Reports the timestamp via recvmsg() in a
25 timestamp as struct timespec in nsec resolution.
33 Only for multicast:approximate transmit timestamp obtained by
34 reading the looped packet receive timestamp.
38 multiple timestamp sources, including hardware. Supports generating
48 same is true for all early receive timestamp options.
52 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in
65 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in
74 Supports multiple types of timestamp requests. As a result, this
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dtimestamping.rst14 Generates a timestamp for each incoming packet in (not necessarily
15 monotonic) system time. Reports the timestamp via recvmsg() in a
25 timestamp as struct timespec in nsec resolution.
33 Only for multicast:approximate transmit timestamp obtained by
34 reading the looped packet receive timestamp.
38 multiple timestamp sources, including hardware. Supports generating
48 same is true for all early receive timestamp options.
52 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in
64 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in
73 Supports multiple types of timestamp requests. As a result, this
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.h19 #define PTP_TCR 0x00 /* Timestamp Control Reg */
25 #define PTP_TAR 0x18 /* Timestamp Addend Reg */
27 #define PTP_ATNR 0x48 /* Auxiliary Timestamp - Nanoseconds Reg */
28 #define PTP_ATSR 0x4c /* Auxiliary Timestamp - Seconds Reg */
29 #define PTP_TS_INGR_CORR_NS 0x58 /* Ingress timestamp correction nanoseconds */
30 #define PTP_TS_EGR_CORR_NS 0x5C /* Egress timestamp correction nanoseconds*/
31 #define PTP_TS_INGR_CORR_SNS 0x60 /* Ingress timestamp correction subnanoseconds */
32 #define PTP_TS_EGR_CORR_SNS 0x64 /* Egress timestamp correction subnanoseconds */
40 /* PTP Timestamp control register defines */
41 #define PTP_TCR_TSENA BIT(0) /* Timestamp Enable */
[all …]
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c129 uint64_t timestamp; member
292 * A TSC packet can slip past MTC packets so that the timestamp appears in intel_pt_decoder_new()
299 intel_pt_log("timestamp: mtc_shift %u\n", decoder->mtc_shift); in intel_pt_decoder_new()
300 intel_pt_log("timestamp: tsc_ctc_ratio_n %u\n", decoder->tsc_ctc_ratio_n); in intel_pt_decoder_new()
301 intel_pt_log("timestamp: tsc_ctc_ratio_d %u\n", decoder->tsc_ctc_ratio_d); in intel_pt_decoder_new()
302 intel_pt_log("timestamp: tsc_ctc_mult %u\n", decoder->tsc_ctc_mult); in intel_pt_decoder_new()
303 intel_pt_log("timestamp: tsc_slip %#x\n", decoder->tsc_slip); in intel_pt_decoder_new()
520 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time()
528 decoder->timestamp = 0; in intel_pt_reposition()
554 intel_pt_log("Reference timestamp 0x%" PRIx64 "\n", in intel_pt_get_data()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
Dtrace.h79 __entry->info = ar->pdev->timestamp.info;
80 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us;
81 __entry->sync_tstmp_hi_us = ar->pdev->timestamp.sync_timestamp_lo_us;
82 __entry->mlo_offset_lo = ar->pdev->timestamp.mlo_offset_lo;
83 __entry->mlo_offset_hi = ar->pdev->timestamp.mlo_offset_hi;
84 __entry->mlo_offset_clks = ar->pdev->timestamp.mlo_offset_clks;
85 __entry->mlo_comp_clks = ar->pdev->timestamp.mlo_comp_clks;
86 __entry->mlo_comp_timer = ar->pdev->timestamp.mlo_comp_timer;
124 __entry->info = ar->pdev->timestamp.info;
125 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us;
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_sensorhub.h32 * @timestamp: Timestamp in host timespace when the sample was acquired by
37 s64 timestamp);
54 s64 timestamp; member
67 * struct cros_ec_sensors_ts_filter_state - Timestamp filetr state.
78 * @median_error: final error to apply to AP interrupt timestamp to get the
79 * "true timestamp" the event occurred.
98 * @penul_ts: last but one batch timestamp (penultimate timestamp).
99 * Used for timestamp spreading calculations
104 * @newest_sensor_event: Last sensor timestamp.
126 * @fifo_timestamp: Array for event timestamp and spreading.
[all …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dcros_ec_sensorhub.h32 * @timestamp: Timestamp in host timespace when the sample was acquired by
37 s64 timestamp);
54 s64 timestamp; member
67 * struct cros_ec_sensors_ts_filter_state - Timestamp filetr state.
78 * @median_error: final error to apply to AP interrupt timestamp to get the
79 * "true timestamp" the event occurred.
98 * @penul_ts: last but one batch timestamp (penultimate timestamp).
99 * Used for timestamp spreading calculations
104 * @newest_sensor_event: Last sensor timestamp.
126 * @fifo_timestamp: Array for event timestamp and spreading.
[all …]
/kernel/linux/linux-6.6/drivers/net/phy/
Ddp83640_reg.h20 #define PTP_TXTS 0x001c /* PTP Transmit Timestamp Register, in four 16-bit reads */
21 #define PTP_RXTS 0x001d /* PTP Receive Timestamp Register, in six? 16-bit reads */
71 #define TXTS_RDY (1<<11) /* Transmit Timestamp Ready */
72 #define RXTS_RDY (1<<10) /* Receive Timestamp Ready */
74 #define EVENT_RDY (1<<8) /* PTP Event Timestamp Ready */
75 #define TXTS_IE (1<<3) /* Transmit Timestamp Interrupt Enable */
76 #define RXTS_IE (1<<2) /* Receive Timestamp Interrupt Enable */
107 #define EVNT_TS_LEN_SHIFT (6) /* Indicates length of the Timestamp field in 16-bit word…
110 #define EVNT_NUM_SHIFT (2) /* Indicates Event Timestamp Unit which detected an event…
156 #define SYNC_1STEP (1<<15) /* insert timestamp into transmit Sync Messages */
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Ddp83640_reg.h20 #define PTP_TXTS 0x001c /* PTP Transmit Timestamp Register, in four 16-bit reads */
21 #define PTP_RXTS 0x001d /* PTP Receive Timestamp Register, in six? 16-bit reads */
71 #define TXTS_RDY (1<<11) /* Transmit Timestamp Ready */
72 #define RXTS_RDY (1<<10) /* Receive Timestamp Ready */
74 #define EVENT_RDY (1<<8) /* PTP Event Timestamp Ready */
75 #define TXTS_IE (1<<3) /* Transmit Timestamp Interrupt Enable */
76 #define RXTS_IE (1<<2) /* Receive Timestamp Interrupt Enable */
107 #define EVNT_TS_LEN_SHIFT (6) /* Indicates length of the Timestamp field in 16-bit word…
110 #define EVNT_NUM_SHIFT (2) /* Indicates Event Timestamp Unit which detected an event…
156 #define SYNC_1STEP (1<<15) /* insert timestamp into transmit Sync Messages */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/timestamp/
Dhardware-timestamps-common.yaml4 $id: http://devicetree.org/schemas/timestamp/hardware-timestamps-common.yaml#
7 title: Hardware timestamp providers
13 Some devices/SoCs have hardware timestamp engines (HTE) which can use
14 hardware means to timestamp entity in realtime. The entity could be anything
15 from GPIOs, IRQs, Bus and so on. The hardware timestamp engine present
20 pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$"
22 "#timestamp-cells":
27 - "#timestamp-cells"
/kernel/linux/linux-6.6/init/
DMakefile32 build-timestamp = $(or $(KBUILD_BUILD_TIMESTAMP), $(build-timestamp-auto))
36 …utsver=$$(echo '$(pound)'"$(build-version)" $(smp-flag-y) $(preempt-flag-y) "$(build-timestamp)" |…
52 # Build version-timestamp.c with final UTS_VERSION
56 include/generated/utsversion.h: build-timestamp-auto = $(shell LC_ALL=C date)
60 $(obj)/version-timestamp.o: include/generated/utsversion.h
61 CFLAGS_version-timestamp.o := -include include/generated/utsversion.h
62 KASAN_SANITIZE_version-timestamp.o := n
63 KCSAN_SANITIZE_version-timestamp.o := n
64 GCOV_PROFILE_version-timestamp.o := n
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample()
166 * IRQ Timestamp Filtering
169 * we have to calculate it's timestamp in the AP timebase. There are 3 time
218 * @b: IRQ timestamp, EC timebase (us)
219 * @c: IRQ timestamp, AP timebase (ns)
221 * Given a new IRQ timestamp pair (EC and AP timebases), add it to the filter
301 * cros_ec_sensor_ring_ts_filter() - Translate EC timebase timestamp to AP
305 * @x: any ec timestamp (us):
307 * cros_ec_sensor_ring_ts_filter(a) => a' event timestamp, AP timebase
308 * cros_ec_sensor_ring_ts_filter(b) => calculated timestamp when the EC IRQ
[all …]
/kernel/linux/linux-6.6/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample()
166 * IRQ Timestamp Filtering
169 * we have to calculate it's timestamp in the AP timebase. There are 3 time
218 * @b: IRQ timestamp, EC timebase (us)
219 * @c: IRQ timestamp, AP timebase (ns)
221 * Given a new IRQ timestamp pair (EC and AP timebases), add it to the filter
301 * cros_ec_sensor_ring_ts_filter() - Translate EC timebase timestamp to AP
305 * @x: any ec timestamp (us):
307 * cros_ec_sensor_ring_ts_filter(a) => a' event timestamp, AP timebase
308 * cros_ec_sensor_ring_ts_filter(b) => calculated timestamp when the EC IRQ
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
Dice_ptp.h36 /* The ice hardware captures Tx hardware timestamps in the PHY. The timestamp
44 * To handle this, timestamp indexes must be tracked by software to ensure
53 * The timestamp blocks are handled differently for E810- and E822-based
86 * struct ice_tx_tstamp - Tracking for a single Tx timestamp
87 * @skb: pointer to the SKB for this timestamp request
88 * @start: jiffies when the timestamp was first requested
89 * @cached_tstamp: last read timestamp
91 * This structure tracks a single timestamp request. The SKB pointer is
95 * Timestamp values in the PHY are read only and do not get cleared except at
96 * hardware reset or when a new timestamp value is captured.
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_timestamp.h36 * struct inv_icm42600_timestamp - timestamp management states
38 * @timestamp: store last timestamp for computing next data timestamp
46 int64_t timestamp; member
63 size_t sensor_nb, int64_t timestamp);
68 ts->timestamp += ts->period; in inv_icm42600_timestamp_pop()
69 return ts->timestamp; in inv_icm42600_timestamp_pop()
82 ts->timestamp = 0; in inv_icm42600_timestamp_reset()
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c155 uint64_t timestamp; member
362 * A TSC packet can slip past MTC packets so that the timestamp appears in intel_pt_decoder_new()
369 intel_pt_log("timestamp: mtc_shift %u\n", decoder->mtc_shift); in intel_pt_decoder_new()
370 intel_pt_log("timestamp: tsc_ctc_ratio_n %u\n", decoder->tsc_ctc_ratio_n); in intel_pt_decoder_new()
371 intel_pt_log("timestamp: tsc_ctc_ratio_d %u\n", decoder->tsc_ctc_ratio_d); in intel_pt_decoder_new()
372 intel_pt_log("timestamp: tsc_ctc_mult %u\n", decoder->tsc_ctc_mult); in intel_pt_decoder_new()
373 intel_pt_log("timestamp: tsc_slip %#x\n", decoder->tsc_slip); in intel_pt_decoder_new()
621 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time()
630 decoder->timestamp = 0; in intel_pt_reposition()
657 intel_pt_log("Reference timestamp 0x%" PRIx64 "\n", in intel_pt_get_data()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ptp.h11 static inline u64 otx2_ptp_convert_rx_timestamp(u64 timestamp) in otx2_ptp_convert_rx_timestamp() argument
13 return be64_to_cpu(*(__be64 *)&timestamp); in otx2_ptp_convert_rx_timestamp()
16 static inline u64 otx2_ptp_convert_tx_timestamp(u64 timestamp) in otx2_ptp_convert_tx_timestamp() argument
18 return timestamp; in otx2_ptp_convert_tx_timestamp()
21 static inline u64 cn10k_ptp_convert_timestamp(u64 timestamp) in cn10k_ptp_convert_timestamp() argument
23 return ((timestamp >> 32) * NSEC_PER_SEC) + (timestamp & 0xFFFFFFFFUL); in cn10k_ptp_convert_timestamp()
/kernel/linux/linux-6.6/include/linux/iio/common/
Dinv_sensors_timestamp.h44 * struct inv_sensors_timestamp - timestamp management states
49 * @timestamp: store last timestamp for computing next data timestamp
60 int64_t timestamp; member
75 size_t sensor_nb, int64_t timestamp);
79 ts->timestamp += ts->period; in inv_sensors_timestamp_pop()
80 return ts->timestamp; in inv_sensors_timestamp_pop()
92 ts->timestamp = 0; in inv_sensors_timestamp_reset()
/kernel/linux/linux-6.6/include/linux/iio/
Dbuffer.h24 * iio_push_to_buffers_with_timestamp() - push data and timestamp to buffers
27 * @timestamp: timestamp for the sample data
30 * device the function will store the supplied timestamp as the last element in
32 * data buffer needs to be large enough to hold the additional timestamp
38 void *data, int64_t timestamp) in iio_push_to_buffers_with_timestamp() argument
42 ((int64_t *)data)[ts_offset] = timestamp; in iio_push_to_buffers_with_timestamp()
50 int64_t timestamp);
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.h19 #define PTP_TCR 0x00 /* Timestamp Control Reg */
25 #define PTP_TAR 0x18 /* Timestamp Addend Reg */
31 /* PTP Timestamp control register defines */
32 #define PTP_TCR_TSENA BIT(0) /* Timestamp Enable */
33 #define PTP_TCR_TSCFUPDT BIT(1) /* Timestamp Fine/Coarse Update */
34 #define PTP_TCR_TSINIT BIT(2) /* Timestamp Initialize */
35 #define PTP_TCR_TSUPDT BIT(3) /* Timestamp Update */
36 #define PTP_TCR_TSTRIG BIT(4) /* Timestamp Interrupt Trigger Enable */
38 #define PTP_TCR_TSENALL BIT(8) /* Enable Timestamp for All Frames */
48 /* Enable Timestamp Snapshot for Event Messages */

12345678910>>...122