| /drivers/net/wireless/ath/ath12k/ |
| A D | trace.h | 79 __entry->info = ar->pdev->timestamp.info; 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; 127 __entry->mlo_offset_lo = ar->pdev->timestamp.mlo_offset_lo; 128 __entry->mlo_offset_hi = ar->pdev->timestamp.mlo_offset_hi; 130 __entry->mlo_comp_clks = ar->pdev->timestamp.mlo_comp_clks; [all …]
|
| /drivers/net/ethernet/marvell/octeontx2/nic/ |
| 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()
|
| /drivers/net/can/dev/ |
| 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 = timestamp; in can_rx_offload_offload_one() 223 struct sk_buff *skb, u32 timestamp) in can_rx_offload_queue_timestamp() argument 234 cb->timestamp = timestamp; in can_rx_offload_queue_timestamp() 245 unsigned int idx, u32 timestamp, in can_rx_offload_get_echo_skb_queue_timestamp() argument [all …]
|
| /drivers/net/can/rockchip/ |
| A D | rockchip_canfd-timestamp.c | 19 struct sk_buff *skb, const u32 timestamp) in rkcanfd_skb_set_timestamp() argument 24 ns = timecounter_cyc2time(&priv->tc, timestamp); in rkcanfd_skb_set_timestamp() 34 priv = container_of(delayed_work, struct rkcanfd_priv, timestamp); in rkcanfd_timestamp_work() 37 schedule_delayed_work(&priv->timestamp, priv->work_delay_jiffies); in rkcanfd_timestamp_work() 76 INIT_DELAYED_WORK(&priv->timestamp, rkcanfd_timestamp_work); in rkcanfd_timestamp_init() 94 schedule_delayed_work(&priv->timestamp, priv->work_delay_jiffies); in rkcanfd_timestamp_start() 99 cancel_delayed_work(&priv->timestamp); in rkcanfd_timestamp_stop() 104 cancel_delayed_work_sync(&priv->timestamp); in rkcanfd_timestamp_stop_sync()
|
| /drivers/platform/chrome/ |
| A D | cros_ec_sensorhub_ring.c | 393 sample->timestamp) in cros_ec_sensor_ring_check_for_past_timestamp() 395 sample->timestamp = in cros_ec_sensor_ring_check_for_past_timestamp() 399 sample->timestamp; in cros_ec_sensor_ring_check_for_past_timestamp() 433 s64 a = in->timestamp; in cros_ec_sensor_ring_process_event() 463 fifo_info->timestamp, in cros_ec_sensor_ring_process_event() 501 fifo_info->timestamp, in cros_ec_sensor_ring_process_event() 523 out->timestamp = now; in cros_ec_sensor_ring_process_event() 747 s64 timestamp; in cros_ec_sensor_ring_spread_add_legacy() local 756 timestamp = out->timestamp; in cros_ec_sensor_ring_spread_add_legacy() 776 timestamp += time_period; in cros_ec_sensor_ring_spread_add_legacy() [all …]
|
| /drivers/dma-buf/ |
| A D | dma-fence-unwrap.c | 124 ktime_t timestamp; in __dma_fence_unwrap_merge() local 128 timestamp = ns_to_ktime(0); in __dma_fence_unwrap_merge() 138 if (ktime_after(t, timestamp)) in __dma_fence_unwrap_merge() 139 timestamp = t; in __dma_fence_unwrap_merge() 152 return dma_fence_allocate_private_stub(timestamp); in __dma_fence_unwrap_merge() 170 if (ktime_after(t, timestamp)) in __dma_fence_unwrap_merge() 171 timestamp = t; in __dma_fence_unwrap_merge() 196 tmp = dma_fence_allocate_private_stub(timestamp); in __dma_fence_unwrap_merge()
|
| /drivers/iio/imu/inv_mpu6050/ |
| A D | inv_mpu_ring.c | 52 s64 timestamp; in inv_mpu6050_read_fifo() local 104 inv_sensors_timestamp_interrupt(&st->timestamp, 1, pf->timestamp); in inv_mpu6050_read_fifo() 105 inv_sensors_timestamp_apply_odr(&st->timestamp, fifo_period, 1, 0); in inv_mpu6050_read_fifo() 118 timestamp = inv_sensors_timestamp_pop(&st->timestamp); in inv_mpu6050_read_fifo() 119 iio_push_to_buffers_with_timestamp(indio_dev, data, timestamp); in inv_mpu6050_read_fifo()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | clock.h | 97 u64 timestamp) in mlx5_timecounter_cyc2time() argument 105 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time() 114 u64 timestamp) in mlx5_real_time_cyc2time() argument 116 u64 time = REAL_TIME_TO_NS(timestamp >> 32, timestamp & 0xFFFFFFFF); in mlx5_real_time_cyc2time() 131 u64 timestamp) in mlx5_timecounter_cyc2time() argument 137 u64 timestamp) in mlx5_real_time_cyc2time() argument
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
| 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()
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | low_latency.c | 20 unsigned long timestamp) in iwl_mld_calc_low_latency() argument 37 time_after(timestamp, ll->window_start[mac_id] + in iwl_mld_calc_low_latency() 41 ll->window_start[mac_id] = timestamp; in iwl_mld_calc_low_latency() 94 unsigned long timestamp = jiffies; in iwl_mld_low_latency_wk() local 104 low_latency_active = iwl_mld_calc_low_latency(mld, timestamp); in iwl_mld_low_latency_wk() 107 mld->low_latency.timestamp = timestamp; in iwl_mld_low_latency_wk() 144 ll->timestamp = ts; in iwl_mld_low_latency_init() 165 ll->timestamp = jiffies; in iwl_mld_low_latency_restart_cleanup() 295 if (time_is_before_jiffies(mld->low_latency.timestamp + MLD_LL_PERIOD)) in iwl_mld_low_latency_update_counters() 317 ll->timestamp = ts; in iwl_mld_low_latency_restart()
|
| /drivers/gpu/drm/amd/include/ |
| A D | mes_v12_api_def.h | 296 uint64_t timestamp; member 378 uint64_t timestamp; member 411 uint64_t timestamp; member 438 uint64_t timestamp; member 449 uint64_t timestamp; member 464 uint64_t timestamp; member 499 uint64_t timestamp; member 521 uint64_t timestamp; member 574 uint64_t timestamp; member 664 uint64_t timestamp; member [all …]
|
| /drivers/accel/habanalabs/common/ |
| A D | irq.c | 85 job->timestamp = timestamp; in job_finish() 119 cs->completion_timestamp = timestamp; in cs_finish() 137 ktime_t timestamp = ktime_get(); in hl_irq_handler_cq() local 179 cs_finish(hdev, shadow_index, timestamp); in hl_irq_handler_cq() 181 job_finish(hdev, shadow_index, cq, timestamp); in hl_irq_handler_cq() 263 u64 timestamp; in handle_registration_node() local 300 timestamp = ktime_to_ns(intr->timestamp); in handle_registration_node() 302 *pend->ts_reg_info.timestamp_kernel_addr = timestamp; in handle_registration_node() 387 pend->fence.timestamp = intr->timestamp; in handle_user_interrupt_wait_list() 425 user_int->timestamp = ktime_get(); in hl_irq_user_interrupt_handler() [all …]
|
| /drivers/net/can/spi/mcp251xfd/ |
| A D | mcp251xfd-timestamp.c | 35 priv = container_of(delayed_work, struct mcp251xfd_priv, timestamp); in mcp251xfd_timestamp_work() 38 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_work() 51 INIT_DELAYED_WORK(&priv->timestamp, mcp251xfd_timestamp_work); in mcp251xfd_timestamp_init() 57 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_start() 63 cancel_delayed_work_sync(&priv->timestamp); in mcp251xfd_timestamp_stop()
|
| /drivers/media/v4l2-core/ |
| A D | v4l2-compat-ioctl32.c | 292 } timestamp; member 415 .timestamp.tv_sec = vb32.timestamp.tv_sec, in get_v4l2_buffer32() 416 .timestamp.tv_usec = vb32.timestamp.tv_usec, in get_v4l2_buffer32() 460 .timestamp.tv_sec = vb32.timestamp.tv_sec, in get_v4l2_buffer32_time32() 461 .timestamp.tv_usec = vb32.timestamp.tv_usec, in get_v4l2_buffer32_time32() 502 .timestamp.tv_sec = vb->timestamp.tv_sec, in put_v4l2_buffer32() 503 .timestamp.tv_usec = vb->timestamp.tv_usec, in put_v4l2_buffer32() 547 .timestamp.tv_sec = vb->timestamp.tv_sec, in put_v4l2_buffer32_time32() 548 .timestamp.tv_usec = vb->timestamp.tv_usec, in put_v4l2_buffer32_time32() 758 } timestamp; member [all …]
|
| /drivers/iio/common/inv_sensors/ |
| A D | inv_sensors_timestamp.c | 119 delta = ts->it.lo - ts->timestamp; in inv_align_timestamp_it() 132 ts->timestamp += adjust; in inv_align_timestamp_it() 136 size_t sample_nb, int64_t timestamp) in inv_sensors_timestamp_interrupt() argument 149 it->up = timestamp; in inv_sensors_timestamp_interrupt() 158 if (ts->timestamp == 0) { in inv_sensors_timestamp_interrupt() 161 ts->timestamp = it->up - interval; in inv_sensors_timestamp_interrupt() 192 if (ts->timestamp != 0) { in inv_sensors_timestamp_apply_odr() 198 ts->timestamp = ts->it.up - interval; in inv_sensors_timestamp_apply_odr()
|
| /drivers/firewire/ |
| A D | core-transaction.c | 103 tstamp = transaction->packet.timestamp; in fw_cancel_transaction() 447 packet->timestamp); in transmit_phy_packet_callback() 654 u32 timestamp; member 784 u32 timestamp; in compute_split_timeout_timestamp() local 790 timestamp += (cycles / 8000) << 13; in compute_split_timeout_timestamp() 791 timestamp |= cycles % 8000; in compute_split_timeout_timestamp() 793 return timestamp; in compute_split_timeout_timestamp() 838 request->response.timestamp = in allocate_request() 844 request->timestamp = p->timestamp; in allocate_request() 917 return request->timestamp; in fw_request_get_timestamp() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A D | fw_tracer.h | 60 u64 timestamp; member 126 u32 timestamp; member 150 u64 timestamp; member 155 u32 timestamp; member 174 u8 timestamp[0x7]; member 181 u8 timestamp[0x7]; member
|
| /drivers/thermal/ |
| A D | thermal_debugfs.c | 59 ktime_t timestamp; member 101 ktime_t timestamp; member 127 ktime_t timestamp; member 365 cdev_dbg->timestamp); in cdev_dt_seq_show() 438 cdev_dbg->timestamp = now; in thermal_debug_cdev_state_update() 495 cdev_dbg->timestamp = ktime_get(); in thermal_debug_cdev_add() 567 tze->timestamp = now; in thermal_debugfs_tz_event_alloc() 656 trip_stats->timestamp = now; in thermal_debug_tz_trip_up() 669 trip_stats->timestamp = KTIME_MAX; in tz_episode_close_trip() 831 if (trip_stats->timestamp != KTIME_MAX) { in tze_seq_show() [all …]
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | link.c | 341 unsigned int timestamp = jiffies_to_msecs(jiffies); in ath_ani_calibrate() local 372 common->ani.longcal_timer = timestamp; in ath_ani_calibrate() 379 common->ani.shortcal_timer = timestamp; in ath_ani_calibrate() 380 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate() 383 if ((timestamp - common->ani.resetcal_timer) >= in ath_ani_calibrate() 387 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate() 394 common->ani.checkani_timer = timestamp; in ath_ani_calibrate() 454 unsigned long timestamp = jiffies_to_msecs(jiffies); in ath_start_ani() local 461 common->ani.longcal_timer = timestamp; in ath_start_ani() 462 common->ani.shortcal_timer = timestamp; in ath_start_ani() [all …]
|
| /drivers/s390/scsi/ |
| A D | zfcp_diag.c | 52 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup() 61 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup() 95 if (!time_after_eq(capture_timestamp, hdr->timestamp)) in zfcp_diag_update_xdata() 98 hdr->timestamp = capture_timestamp; in zfcp_diag_update_xdata() 209 if (!time_after_eq(now, hdr->timestamp)) in __zfcp_diag_test_buffer_age_isfresh() 212 if (jiffies_to_msecs(now - hdr->timestamp) >= diag->max_age) in __zfcp_diag_test_buffer_age_isfresh()
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_ptp.c | 103 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() argument 109 *timestamp = 0; in qed_ptp_hw_read_rx_ts() 117 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_MSB); in qed_ptp_hw_read_rx_ts() 118 *timestamp <<= 32; in qed_ptp_hw_read_rx_ts() 119 *timestamp |= val; in qed_ptp_hw_read_rx_ts() 129 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() argument 135 *timestamp = 0; in qed_ptp_hw_read_tx_ts() 144 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_MSB); in qed_ptp_hw_read_tx_ts() 145 *timestamp <<= 32; in qed_ptp_hw_read_tx_ts() 146 *timestamp |= val; in qed_ptp_hw_read_tx_ts()
|
| /drivers/iio/common/st_sensors/ |
| A D | st_sensors_buffer.c | 54 s64 timestamp; in st_sensors_trigger_handler() local 63 timestamp = sdata->hw_timestamp; in st_sensors_trigger_handler() 65 timestamp = iio_get_time_ns(indio_dev); in st_sensors_trigger_handler() 72 timestamp); in st_sensors_trigger_handler()
|
| /drivers/net/can/usb/etas_es58x/ |
| A D | es581_4.h | 96 __le64 timestamp; member 107 __le64 timestamp; member 117 __le64 timestamp; member 130 __le64 timestamp; member 193 __le64 timestamp; member
|
| /drivers/net/can/usb/kvaser_usb/ |
| A D | kvaser_usb.h | 257 const __le16 *timestamp) in kvaser_usb_timestamp48_to_ktime() argument 259 u64 ticks = le16_to_cpu(timestamp[0]) | in kvaser_usb_timestamp48_to_ktime() 260 (u64)(le16_to_cpu(timestamp[1])) << 16 | in kvaser_usb_timestamp48_to_ktime() 261 (u64)(le16_to_cpu(timestamp[2])) << 32; in kvaser_usb_timestamp48_to_ktime() 267 __le64 timestamp) in kvaser_usb_timestamp64_to_ktime() argument 269 return kvaser_usb_ticks_to_ktime(cfg, le64_to_cpu(timestamp)); in kvaser_usb_timestamp64_to_ktime()
|
| /drivers/iio/adc/ |
| A D | cc10001_adc.c | 265 struct iio_chan_spec *chan_array, *timestamp; in cc10001_adc_channel_init() local 292 timestamp = &chan_array[idx]; in cc10001_adc_channel_init() 293 timestamp->type = IIO_TIMESTAMP; in cc10001_adc_channel_init() 294 timestamp->channel = -1; in cc10001_adc_channel_init() 295 timestamp->scan_index = idx; in cc10001_adc_channel_init() 296 timestamp->scan_type.sign = 's'; in cc10001_adc_channel_init() 297 timestamp->scan_type.realbits = 64; in cc10001_adc_channel_init() 298 timestamp->scan_type.storagebits = 64; in cc10001_adc_channel_init()
|