/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | debug.h | 109 * @timestamp: TSF in usecs. 117 __le64 timestamp; member in struct:iwl_error_resp 288 * @timestamp: in milliseconds since 1970-01-01 00:00:00 UTC 295 __le64 timestamp; member in struct:iwl_mvm_marker
|
/linux-master/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-isys-queue.c | 628 u64 time = (u64)info->timestamp[1] << 32 | info->timestamp[0]; 634 * The timestamp is invalid as no TSC in some FPGA platform, 641 if (time == stream->seq[i].timestamp) { 648 dev_dbg(dev, "sof: sequence %u, timestamp value %llu\n", 649 stream->seq[i].sequence, stream->seq[i].timestamp); 665 delta = tsc_now - ((u64)info->timestamp[1] << 32 | info->timestamp[0]); 685 vbuf->vb2_buf.timestamp = ns; 688 dev_dbg(dev, "buf: %s: buffer done, CPU-timestamp [all...] |
/linux-master/drivers/firmware/efi/ |
H A D | efi-pstore.c | 76 static inline u64 generic_id(u64 timestamp, unsigned int part, int count) argument 78 return (timestamp * 100 + part) * 1000 + count;
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_main.c | 749 unsigned long timestamp = jiffies_to_msecs(jiffies); local 751 common->ani.longcal_timer = timestamp; 752 common->ani.shortcal_timer = timestamp; 753 common->ani.checkani_timer = timestamp; 777 unsigned int timestamp = jiffies_to_msecs(jiffies); local 788 if ((timestamp - common->ani.longcal_timer) >= ATH_LONG_CALINTERVAL) { 791 common->ani.longcal_timer = timestamp; 799 if ((timestamp - common->ani.shortcal_timer) >= 803 common->ani.shortcal_timer = timestamp; 804 common->ani.resetcal_timer = timestamp; [all...] |
/linux-master/drivers/power/supply/ |
H A D | surface_battery.c | 131 unsigned long timestamp; member in struct:spwr_battery_device 211 unsigned long cache_deadline = bat->timestamp + msecs_to_jiffies(cache_time); 216 if (cached && bat->timestamp && time_is_after_jiffies(cache_deadline)) 227 bat->timestamp = jiffies; 263 bat->timestamp = jiffies;
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_ishtp.c | 211 * @timestamp: Timestamp of when parent callback started 218 struct ishtp_cl_rb *rb_in_proc, ktime_t timestamp) 322 * Set timestamp from beginning of function since we actually 325 client_data->ec_dev->last_event_time = timestamp; 353 ktime_t timestamp; local 356 * Take timestamp as close to hardware interrupt as possible for sensor 359 timestamp = cros_ec_get_time_ns(); 363 process_recv(cros_ish_cl, rb_in_proc, timestamp); 217 process_recv(struct ishtp_cl *cros_ish_cl, struct ishtp_cl_rb *rb_in_proc, ktime_t timestamp) argument
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_file.c | 751 struct drm_pending_event *e, ktime_t timestamp) 762 if (timestamp) 763 dma_fence_signal_timestamp(e->fence, timestamp); 785 * @timestamp: timestamp to set for the fence event in kernel's CLOCK_MONOTONIC 798 struct drm_pending_event *e, ktime_t timestamp) 800 drm_send_event_helper(dev, e, timestamp); 750 drm_send_event_helper(struct drm_device *dev, struct drm_pending_event *e, ktime_t timestamp) argument 797 drm_send_event_timestamp_locked(struct drm_device *dev, struct drm_pending_event *e, ktime_t timestamp) argument
|
/linux-master/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 963 * If we getting called from IRQ handler we know the stored timestamp is 966 * before the watermark interrupt was triggered, take a timestamp 971 data->old_timestamp = data->timestamp; 972 data->timestamp = iio_get_time_ns(indio_dev); 977 * frequency, timestamp for last sample and number of samples. 987 * based on the timestamp delta between the last two flush operations. 989 sample_period = (data->timestamp - data->old_timestamp); 991 tstamp = data->timestamp - (count - 1) * sample_period; 1201 pf->timestamp); 1295 data->timestamp); [all...] |
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 870 struct can_frame **cf, u32 *timestamp) 875 err = mcp251xfd_get_timestamp(priv, timestamp); 881 mcp251xfd_skb_set_timestamp(priv, skb, *timestamp); 892 u32 timestamp, rxovif; local 927 skb = mcp251xfd_alloc_can_err_skb(priv, &cf, ×tamp); 934 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); 951 u32 bdiag1, timestamp; local 956 err = mcp251xfd_get_timestamp(priv, ×tamp); 1038 mcp251xfd_skb_set_timestamp(priv, skb, timestamp); 1039 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); 869 mcp251xfd_alloc_can_err_skb(struct mcp251xfd_priv *priv, struct can_frame **cf, u32 *timestamp) argument 1052 u32 trec, timestamp; local [all...] |
/linux-master/drivers/iio/gyro/ |
H A D | mpu3050-core.c | 477 s64 timestamp __aligned(8); 479 s64 timestamp; local 483 * If we're using the hardware trigger, get the precise timestamp from 485 * timestamp here so it will be close in time to the actual values 489 timestamp = mpu3050->hw_timestamp; 491 timestamp = iio_get_time_ns(indio_dev); 576 timestamp); 602 * At this point, the timestamp that triggered the 606 * timestamp to zero and let userspace deal with it. 608 timestamp [all...] |
/linux-master/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 170 vb2_buf = vb2_find_buffer(cap_q, run->hevc.dpram->dpb[i].timestamp); 173 run->hevc.dpram->dpb[i].timestamp, 177 run->hevc.dpram->dpb[i].timestamp); 290 "sequence:%u timestamp:%lld field:%s", 292 run->dst->vb2_buf.timestamp, 484 "index: %u, status: %s, timestamp: %llu, is_held: %d", 486 vb2->timestamp, 624 "Got OUTPUT buffer sequence %d, timestamp %llu\n", 625 run.src->sequence, run.src->vb2_buf.timestamp); 628 "Got CAPTURE buffer sequence %d, timestamp [all...] |
/linux-master/drivers/iio/adc/ |
H A D | at91_adc.c | 279 iio_push_to_buffers_with_timestamp(idev, st->buffer, pf->timestamp); 487 struct iio_chan_spec *chan_array, *timestamp; local 525 timestamp = chan_array + idx; 527 timestamp->type = IIO_TIMESTAMP; 528 timestamp->channel = -1; 529 timestamp->scan_index = idx; 530 timestamp->scan_type.sign = 's'; 531 timestamp->scan_type.realbits = 64; 532 timestamp->scan_type.storagebits = 64;
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | habanalabs_ioctl.c | 374 ktime_to_us(hdev->clk_throttling.timestamp[i].start); 376 if (ktime_compare(hdev->clk_throttling.timestamp[i].end, zero_time)) 377 end_time = hdev->clk_throttling.timestamp[i].end; 383 hdev->clk_throttling.timestamp[i].start)); 594 info.timestamp = ktime_to_ns(hdev->last_successful_open_ktime); 610 info.timestamp = ktime_to_ns(hdev->captured_err_info.cs_timeout.timestamp); 643 info.timestamp = ktime_to_ns(hdev->captured_err_info.undef_opcode.timestamp);
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 172 * - The packet timestamp must be accessed only while holding the pending 583 packet->timestamp = KTIME_MAX; 794 const ktime_t timestamp = ktime_get_coarse_boottime(); local 798 * Note: We can get the time for the timestamp before acquiring the 801 * to overwrite the timestamp with an outdated value below. 814 * set. We still need to update the timestamp as the packet timeout is 817 p->timestamp = timestamp; 828 ssh_ptl_timeout_reaper_mod(ptl, timestamp, timestamp [all...] |
/linux-master/drivers/gpu/drm/v3d/ |
H A D | v3d_submit.c | 447 /* Get data for the query timestamp job submission. */ 454 struct drm_v3d_timestamp_query timestamp; local 466 if (copy_from_user(×tamp, ext, sizeof(timestamp))) 469 if (timestamp.pad) 474 job->timestamp_query.queries = kvmalloc_array(timestamp.count, 480 offsets = u64_to_user_ptr(timestamp.offsets); 481 syncs = u64_to_user_ptr(timestamp.syncs); 483 for (int i = 0; i < timestamp.count; i++) { 500 job->timestamp_query.count = timestamp [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 272 int index, u64 timestamp, 277 int index, u64 timestamp, 293 if (unlikely(timestamp)) { 296 mlx4_en_fill_hwtstamps(priv->mdev, &hwts, timestamp); 344 int index, u64 timestamp, 349 int index, u64 timestamp, 484 u64 timestamp = 0; local 490 timestamp = mlx4_en_get_cqe_ts(cqe); 497 timestamp, napi_budget); 275 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, int index, u64 timestamp, int napi_mode) argument 347 mlx4_en_recycle_tx_desc(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, int index, u64 timestamp, int napi_mode) argument
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-out.c | 98 vid_out_buf->vb.vb2_buf.timestamp = 115 vbi_out_buf->vb.vb2_buf.timestamp = 129 meta_out_buf->vb.vb2_buf.timestamp =
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | coredump.c | 138 ktime_get_real_ts64(&crash_data->timestamp); 337 dump->tv_sec = crash_data->timestamp.tv_sec; 338 dump->tv_nsec = crash_data->timestamp.tv_nsec;
|
/linux-master/net/batman-adv/ |
H A D | fragmentation.c | 175 chain->timestamp = jiffies; 192 chain->timestamp = jiffies; 205 chain->timestamp = jiffies;
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | reset.c | 289 u8 evt_id, ktime_t timestamp, 299 r->timestamp = timestamp; 288 scmi_reset_fill_custom_report(const struct scmi_protocol_handle *ph, u8 evt_id, ktime_t timestamp, const void *payld, size_t payld_sz, void *report, u32 *src_id) argument
|
/linux-master/drivers/net/can/ |
H A D | kvaser_pciefd.c | 435 u64 timestamp; member in struct:kvaser_pciefd_rx_packet 567 struct sk_buff *skb, u64 timestamp) 570 ns_to_ktime(div_u64(timestamp * 1000, pcie->freq_to_ticks_div)); 1228 kvaser_pciefd_set_skb_timestamp(pcie, skb, p->timestamp); 1324 kvaser_pciefd_set_skb_timestamp(can->kv_pcie, skb, p->timestamp); 1385 kvaser_pciefd_set_skb_timestamp(can->kv_pcie, skb, p->timestamp); 1475 kvaser_pciefd_set_skb_timestamp(can->kv_pcie, skb, p->timestamp); 1513 kvaser_pciefd_set_skb_timestamp(pcie, skb, p->timestamp); 1551 __le64 timestamp; local 1568 /* Read 64-bit timestamp */ 566 kvaser_pciefd_set_skb_timestamp(const struct kvaser_pciefd *pcie, struct sk_buff *skb, u64 timestamp) argument [all...] |
/linux-master/drivers/iio/magnetometer/ |
H A D | af8133j.c | 359 s64 timestamp = iio_get_time_ns(indio_dev); local 362 s64 timestamp __aligned(8); 372 iio_push_to_buffers_with_timestamp(indio_dev, &sample, timestamp);
|
/linux-master/drivers/thermal/ |
H A D | cpufreq_cooling.c | 45 * @timestamp: wall time of the last invocation of get_cpu_idle_time_us() 49 u64 timestamp; member in struct:time_in_idle 179 delta_time = now - idle_time->timestamp; 187 idle_time->timestamp = now;
|
/linux-master/drivers/thermal/intel/ |
H A D | intel_hfi.c | 106 * @timestamp: Timestamp of the last update of the local table. 121 u64 *timestamp; member in union:hfi_instance::__anon1891 300 if (*hfi_instance->timestamp == new_timestamp) { 310 * timestamp. 348 sizeof(*hfi_instance->timestamp);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_irq.c | 450 * timestamp is not supported on some legacy SOCs (cik, cz, iceland, 451 * si and tonga), so initialize timestamp and timestamp_src to 0 453 entry.timestamp = 0; 493 if (amdgpu_ih_ts_after(ih->processed_timestamp, entry.timestamp)) 494 ih->processed_timestamp = entry.timestamp;
|