Searched refs:timestamp (Results 226 - 250 of 881) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_main.c749 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 Dsurface_battery.c131 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 Dcros_ec_ishtp.c211 * @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 Ddrm_file.c751 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/net/hsr/
H A Dhsr_framereg.c502 unsigned long timestamp; local
529 timestamp = time_a;
533 timestamp = time_b;
536 if (time_is_after_jiffies(timestamp +
546 if (time_is_before_jiffies(timestamp +
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c870 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, &timestamp);
934 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp);
951 u32 bdiag1, timestamp; local
956 err = mcp251xfd_get_timestamp(priv, &timestamp);
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 Dmpu3050-core.c477 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 Dvisl-dec.c170 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 Dat91_adc.c279 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 Dhabanalabs_ioctl.c374 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 Dssh_packet_layer.c172 * - 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 Dv3d_submit.c447 /* Get data for the query timestamp job submission. */
454 struct drm_v3d_timestamp_query timestamp; local
466 if (copy_from_user(&timestamp, 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 Den_tx.c272 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 Dvivid-kthread-out.c98 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 Dcoredump.c138 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 Dfragmentation.c175 chain->timestamp = jiffies;
192 chain->timestamp = jiffies;
205 chain->timestamp = jiffies;
/linux-master/drivers/firmware/arm_scmi/
H A Dreset.c289 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/thermal/
H A Dcpufreq_cooling.c45 * @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/net/can/
H A Dkvaser_pciefd.c435 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 Daf8133j.c359 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/gpu/drm/i915/gt/uc/
H A Dintel_guc_submission.c1174 * frequency = 1/8th the time it takes for the timestamp to wrap (i.e. once in
1184 u32 gt_stamp_hi = upper_32_bits(guc->timestamp.gt_stamp);
1185 u32 gt_stamp_last = lower_32_bits(guc->timestamp.gt_stamp);
1191 * When gt is unparked, we update the gt timestamp and start the ping
1252 lockdep_assert_held(&guc->timestamp.lock);
1290 lockdep_assert_held(&guc->timestamp.lock);
1292 gt_stamp_hi = upper_32_bits(guc->timestamp.gt_stamp);
1294 MISC_STATUS1) >> guc->timestamp.shift;
1298 if (gt_stamp_lo < lower_32_bits(guc->timestamp.gt_stamp))
1301 guc->timestamp
[all...]
/linux-master/arch/alpha/include/asm/
H A Derr_ev7.h15 union el_timestamp timestamp; member in struct:ev7_pal_logout_subpacket
/linux-master/arch/alpha/kernel/
H A Derr_ev7.c254 el_print_timestamp(&packet->by_type.logout.timestamp);
/linux-master/drivers/media/pci/tw5864/
H A Dtw5864.h138 u64 timestamp; member in struct:tw5864_h264_frame
/linux-master/drivers/net/wireless/ti/wl1251/
H A Drx.c43 status->mactime = desc->timestamp;
46 * The rx status timestamp is a 32 bits value while the TSF is a

Completed in 523 milliseconds

1234567891011>>