/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | ordered-events.c | 21 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 > timestam in queue_event() 172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, union perf_event *event) ordered_events__new_event() argument 194 ordered_events__queue(struct ordered_events *oe, union perf_event *event, u64 timestamp, u64 file_offset) ordered_events__queue() argument 266 __ordered_events__flush(struct ordered_events *oe, enum oe_flush how, u64 timestamp) __ordered_events__flush() argument 344 ordered_events__flush_time(struct ordered_events *oe, u64 timestamp) ordered_events__flush_time() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | ordered-events.c | 21 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 > timestam in queue_event() 172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, union perf_event *event) ordered_events__new_event() argument 194 ordered_events__queue(struct ordered_events *oe, union perf_event *event, u64 timestamp, u64 file_offset, const char *file_path) ordered_events__queue() argument 267 __ordered_events__flush(struct ordered_events *oe, enum oe_flush how, u64 timestamp) __ordered_events__flush() argument 345 ordered_events__flush_time(struct ordered_events *oe, u64 timestamp) ordered_events__flush_time() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-timestamp.c | 17 u32 timestamp = 0; in mcp251xfd_timestamp_read() local 21 err = mcp251xfd_get_timestamp(priv, ×tamp); in mcp251xfd_timestamp_read() 24 "Error %d while reading timestamp. HW timestamps may be inaccurate.", in mcp251xfd_timestamp_read() 27 return timestamp; in mcp251xfd_timestamp_read() 35 priv = container_of(delayed_work, struct mcp251xfd_priv, timestamp); in mcp251xfd_timestamp_work() 38 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_work() 43 struct sk_buff *skb, u32 timestamp) in mcp251xfd_skb_set_timestamp() 48 ns = timecounter_cyc2time(&priv->tc, timestamp); in mcp251xfd_skb_set_timestamp() 63 INIT_DELAYED_WORK(&priv->timestamp, mcp251xfd_timestamp_work); in mcp251xfd_timestamp_init() 64 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_init() 42 mcp251xfd_skb_set_timestamp(const struct mcp251xfd_priv *priv, struct sk_buff *skb, u32 timestamp) mcp251xfd_skb_set_timestamp() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ptp.h | 11 static inline u64 otx2_ptp_convert_rx_timestamp(u64 timestamp) in otx2_ptp_convert_rx_timestamp() argument 13 return be64_to_cpu(*(__be64 *)×tamp); 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-5.10/arch/alpha/kernel/ |
H A D | err_common.c | 93 union el_timestamp timestamp; in el_process_header_subpacket() 111 timestamp.as_int = 0; in el_process_header_subpacket() 118 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket() 125 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket() 131 timestamp.as_int = 0; in el_process_header_subpacket() 145 el_print_timestamp(×tamp); in el_process_header_subpacket() 171 el_print_timestamp(union el_timestamp *timestamp) in el_print_timestamp() 173 if (timestamp in el_print_timestamp() 91 union el_timestamp timestamp; el_process_header_subpacket() local 169 el_print_timestamp(union el_timestamp *timestamp) el_print_timestamp() argument [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | err_common.c | 93 union el_timestamp timestamp; in el_process_header_subpacket() 111 timestamp.as_int = 0; in el_process_header_subpacket() 118 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket() 125 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket() 131 timestamp.as_int = 0; in el_process_header_subpacket() 145 el_print_timestamp(×tamp); in el_process_header_subpacket() 171 el_print_timestamp(union el_timestamp *timestamp) in el_print_timestamp() 173 if (timestamp in el_print_timestamp() 91 union el_timestamp timestamp; el_process_header_subpacket() local 169 el_print_timestamp(union el_timestamp *timestamp) el_print_timestamp() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | trace.h | 79 __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 [all...] |
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | of_unittest_expect | 251 $timestamp = ""; 265 $timestamp = $line; 267 if ($timestamp =~ /^\[\s*[0-9]+\.[0-9]*\] /) { 268 ($timestamp, $null) = split(/]/, $line); 269 $timestamp = $timestamp . "] "; 272 $timestamp = ""; 290 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 307 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 338 $line_num, $timestamp, [all...] |
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 129 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 in intel_pt_get_data() 677 uint64_t timestamp; global() member 708 uint64_t timestamp; intel_pt_calc_cyc_cb() local 945 uint64_t timestamp, masked_timestamp; intel_pt_next_period() local 983 uint64_t timestamp, masked_timestamp; intel_pt_sample_insn() local 1435 intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp) intel_pt_8b_tsc() argument 1452 uint64_t timestamp; intel_pt_calc_tsc_timestamp() local 1579 uint64_t timestamp; intel_pt_calc_mtc_timestamp() local 1650 uint64_t timestamp = decoder->cyc_ref_timestamp; intel_pt_calc_cyc_timestamp() local 3212 uint64_t timestamp; global() member 3267 intel_pt_fast_forward(struct intel_pt_decoder *decoder, uint64_t timestamp) intel_pt_fast_forward() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/can/dev/ |
H A D | rx-offload.c | 12 u32 timestamp; member 90 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort() 91 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort() 115 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare() 145 u32 timestamp; in can_rx_offload_offload_one() local 152 skb = offload->mailbox_read(offload, n, ×tamp, drop); in can_rx_offload_offload_one() 169 cb->timestamp in can_rx_offload_offload_one() 240 can_rx_offload_queue_sorted(struct can_rx_offload *offload, struct sk_buff *skb, u32 timestamp) can_rx_offload_queue_sorted() argument 265 can_rx_offload_get_echo_skb(struct can_rx_offload *offload, unsigned int idx, u32 timestamp) can_rx_offload_get_echo_skb() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/can/dev/ |
H A D | rx-offload.c | 12 u32 timestamp; member 91 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort() 92 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort() 116 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare() 146 u32 timestamp; in can_rx_offload_offload_one() local 153 skb = offload->mailbox_read(offload, n, ×tamp, drop); in can_rx_offload_offload_one() 170 cb->timestamp in can_rx_offload_offload_one() 222 can_rx_offload_queue_timestamp(struct can_rx_offload *offload, struct sk_buff *skb, u32 timestamp) can_rx_offload_queue_timestamp() argument 244 can_rx_offload_get_echo_skb_queue_timestamp(struct can_rx_offload *offload, unsigned int idx, u32 timestamp, unsigned int *frame_len_ptr) can_rx_offload_get_echo_skb_queue_timestamp() argument [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | power_cpu_migrate.h | 11 TP_PROTO(u64 timestamp, \ 14 TP_ARGS(timestamp, \ 23 __field(u64, timestamp ) 28 __entry->timestamp = timestamp; 32 TP_printk("timestamp=%llu cpu_hwid=0x%08lX", 33 (unsigned long long)__entry->timestamp,
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | power_cpu_migrate.h | 11 TP_PROTO(u64 timestamp, \ 14 TP_ARGS(timestamp, \ 23 __field(u64, timestamp ) 28 __entry->timestamp = timestamp; 32 TP_printk("timestamp=%llu cpu_hwid=0x%08lX", 33 (unsigned long long)__entry->timestamp,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.h | 66 u64 timestamp) in mlx5_timecounter_cyc2time() 74 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time() 83 u64 timestamp) in mlx5_real_time_cyc2time() 85 u64 time = REAL_TIME_TO_NS(timestamp >> 32, timestamp & 0xFFFFFFFF); in mlx5_real_time_cyc2time() 98 u64 timestamp) in mlx5_timecounter_cyc2time() 104 u64 timestamp) in mlx5_real_time_cyc2time() 65 mlx5_timecounter_cyc2time(struct mlx5_clock *clock, u64 timestamp) mlx5_timecounter_cyc2time() argument 82 mlx5_real_time_cyc2time(struct mlx5_clock *clock, u64 timestamp) mlx5_real_time_cyc2time() argument 97 mlx5_timecounter_cyc2time(struct mlx5_clock *clock, u64 timestamp) mlx5_timecounter_cyc2time() argument 103 mlx5_real_time_cyc2time(struct mlx5_clock *clock, u64 timestamp) mlx5_real_time_cyc2time() argument
|
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 155 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 in intel_pt_get_data() 780 uint64_t timestamp; global() member 811 uint64_t timestamp; intel_pt_calc_cyc_cb() local 1051 uint64_t timestamp, masked_timestamp; intel_pt_next_period() local 1089 uint64_t timestamp, masked_timestamp; intel_pt_sample_insn() local 1771 intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp) intel_pt_8b_tsc() argument 1787 intel_pt_time_in_range(struct intel_pt_decoder *decoder, uint64_t timestamp) intel_pt_time_in_range() argument 1802 uint64_t timestamp; intel_pt_calc_tsc_timestamp() local 1938 uint64_t timestamp; intel_pt_calc_mtc_timestamp() local 2009 uint64_t timestamp = decoder->cyc_ref_timestamp; intel_pt_calc_cyc_timestamp() local 4394 uint64_t timestamp; global() member 4449 intel_pt_fast_forward(struct intel_pt_decoder *decoder, uint64_t timestamp) intel_pt_fast_forward() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub_ring.c | 58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample() 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 323 * Return: timestamp i 719 s64 timestamp; cros_ec_sensor_ring_spread_add_legacy() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub_ring.c | 58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample() 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 323 * Return: timestamp i 719 s64 timestamp; cros_ec_sensor_ring_spread_add_legacy() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/blackbox/ |
H A D | blackbox_core.c | 108 const char *timestamp); 110 const char *timestamp, int need_sys_reset); 167 const char *timestamp) in format_log_dir() 170 !timestamp)) { in format_log_dir() 171 bbox_print_err("buf: %p, buf_size: %u, log_root_dir: %p, timestamp: %p\n", in format_log_dir() 172 buf, (unsigned int)buf_size, log_root_dir, timestamp); in format_log_dir() 177 scnprintf(buf, buf_size - 1, "%s/%s", log_root_dir, timestamp); in format_log_dir() 203 const char *timestamp, int need_sys_reset) in save_history_log() 208 if (unlikely(!log_root_dir || !info || !timestamp)) { in save_history_log() 209 bbox_print_err("log_root_dir: %p, info: %p, timestamp in save_history_log() 166 format_log_dir(char *buf, size_t buf_size, const char *log_root_dir, const char *timestamp) format_log_dir() argument 202 save_history_log(const char *log_root_dir, struct error_info *info, const char *timestamp, int need_sys_reset) save_history_log() argument 238 char timestamp[TIMESTAMP_MAX_LEN]; save_invalid_log() local 318 char timestamp[TIMESTAMP_MAX_LEN]; save_log_without_reset() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/blackbox/ |
H A D | blackbox_core.c | 108 const char *timestamp); 110 const char *timestamp, int need_sys_reset); 167 const char *timestamp) in format_log_dir() 170 !timestamp)) { in format_log_dir() 171 bbox_print_err("buf: %p, buf_size: %u, log_root_dir: %p, timestamp: %p\n", in format_log_dir() 172 buf, (unsigned int)buf_size, log_root_dir, timestamp); in format_log_dir() 177 scnprintf(buf, buf_size - 1, "%s/%s", log_root_dir, timestamp); in format_log_dir() 203 const char *timestamp, int need_sys_reset) in save_history_log() 208 if (unlikely(!log_root_dir || !info || !timestamp)) { in save_history_log() 209 bbox_print_err("log_root_dir: %p, info: %p, timestamp in save_history_log() 166 format_log_dir(char *buf, size_t buf_size, const char *log_root_dir, const char *timestamp) format_log_dir() argument 202 save_history_log(const char *log_root_dir, struct error_info *info, const char *timestamp, int need_sys_reset) save_history_log() argument 238 char timestamp[TIMESTAMP_MAX_LEN]; save_invalid_log() local 318 char timestamp[TIMESTAMP_MAX_LEN]; save_log_without_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 79 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 81 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 82 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 121 alarm->timestamp = nvkm_timer_read(tmr) + nsec; in nvkm_timer_alarm() 123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 132 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm() 138 WARN_ON(alarm->timestamp <= nvkm_timer_read(tmr)); in nvkm_timer_alarm()
|
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_ring.c | 22 * @timestamp: the interrupt timestamp 26 * to choose the data timestamp to come. 29 s64 timestamp, size_t nb) in inv_mpu6050_update_period() 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 in inv_mpu6050_update_period() 28 inv_mpu6050_update_period(struct inv_mpu6050_state *st, s64 timestamp, size_t nb) inv_mpu6050_update_period() argument 124 s64 timestamp; inv_mpu6050_read_fifo() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_timestamp.c | 63 /* enable timestamp register */ in inv_icm42600_timestamp_setup() 113 size_t sensor_nb, int64_t timestamp) in inv_icm42600_timestamp_interrupt() 125 /* update interrupt timestamp and compute chip and sensor periods */ in inv_icm42600_timestamp_interrupt() 128 it->up = timestamp; in inv_icm42600_timestamp_interrupt() 140 if (ts->timestamp == 0) { in inv_icm42600_timestamp_interrupt() 143 ts->timestamp = it->up - interval; in inv_icm42600_timestamp_interrupt() 147 /* if interrupt interval is valid, sync with interrupt timestamp */ in inv_icm42600_timestamp_interrupt() 152 delta = it->lo - ts->timestamp; in inv_icm42600_timestamp_interrupt() 162 ts->timestamp += delta; in inv_icm42600_timestamp_interrupt() 184 * timestamp fro in inv_icm42600_timestamp_apply_odr() 111 inv_icm42600_timestamp_interrupt(struct inv_icm42600_timestamp *ts, uint32_t fifo_period, size_t fifo_nb, size_t sensor_nb, int64_t timestamp) inv_icm42600_timestamp_interrupt() argument [all...] |
H A D | inv_icm42600_timestamp.h | 36 * 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/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 79 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 81 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 82 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 121 alarm->timestamp = nvkm_timer_read(tmr) + nsec; in nvkm_timer_alarm() 123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 132 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm() 138 WARN_ON(alarm->timestamp <= nvkm_timer_read(tmr)); in nvkm_timer_alarm()
|
/kernel/linux/linux-6.6/include/linux/iio/common/ |
H A D | inv_sensors_timestamp.h | 44 * 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()
|