/linux-master/drivers/iio/temperature/ |
H A D | hid-sensor-temperature.c | 21 u64 timestamp __aligned(8);
|
/linux-master/drivers/infiniband/core/ |
H A D | sysfs.c | 819 if (time_is_after_eq_jiffies(stats->timestamp + stats->lifespan)) 825 stats->timestamp = jiffies; 960 data->stats->timestamp = jiffies; 1057 data->stats->timestamp = jiffies;
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | roce_hsi.h | 3128 __le32 timestamp; member in struct:sq_send 3163 __le32 timestamp; member in struct:sq_send_hdr 3223 __le32 timestamp; member in struct:sq_send_raweth_qp1 3285 __le32 timestamp; member in struct:sq_send_raweth_qp1_hdr 3314 __le32 timestamp; member in struct:sq_rdma 3344 __le32 timestamp; member in struct:sq_rdma_hdr
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 3843 /* keep timestamp in units of 1.024 usec */ 3856 if ((ts - cce->timestamp) / 2 > U32_MAX) 3866 cpu_to_be32(cce->timestamp);
|
H A D | mad.h | 210 u64 timestamp; /* wider than 32 bits to detect 32 bit rollover */ member in struct:opa_hfi1_cong_log_event_internal
|
H A D | rc.c | 2694 /* keep timestamp in units of 1.024 usec */ 2695 cc_event->timestamp = ktime_get_ns() / 1024;
|
/linux-master/drivers/input/ |
H A D | input.c | 381 * Reset the timestamp on flush so we won't end up 384 * whether to generate a synthetic timestamp. 386 dev->timestamp[INPUT_CLK_MONO] = ktime_set(0, 0); 2055 * input_set_timestamp - set timestamp for input events 2056 * @dev: input device to set timestamp for 2057 * @timestamp: the time at which the event has occurred 2062 * call this function as soon as a timestamp is acquired ensuring 2065 * The system entering suspend state between timestamp acquisition and 2068 void input_set_timestamp(struct input_dev *dev, ktime_t timestamp) argument 2070 dev->timestamp[INPUT_CLK_MON [all...] |
/linux-master/drivers/input/misc/ |
H A D | uinput.c | 574 * Returns true if the given timestamp is valid (i.e., if all the following 576 * 1) given timestamp is positive 580 static bool is_valid_timestamp(const ktime_t timestamp) argument 588 if (ktime_compare(zero_time, timestamp) >= 0) 595 if (ktime_after(min_time, timestamp) || ktime_after(timestamp, current_time)) 606 ktime_t timestamp; local 621 timestamp = ktime_set(ev.input_event_sec, ev.input_event_usec * NSEC_PER_USEC); 622 if (is_valid_timestamp(timestamp)) 623 input_set_timestamp(udev->dev, timestamp); [all...] |
/linux-master/drivers/input/rmi4/ |
H A D | rmi_f54.c | 356 vb->timestamp = ktime_get_ns();
|
/linux-master/drivers/input/tests/ |
H A D | input_test.c | 71 ktime_t *timestamp, time; local 73 timestamp = input_get_timestamp(input_dev); 74 time = timestamp[INPUT_CLK_MONO]; 76 /* The returned timestamp must always be valid */ 82 timestamp = input_get_timestamp(input_dev); 83 /* The timestamp must be the same than set before */ 84 KUNIT_ASSERT_EQ(test, ktime_compare(timestamp[INPUT_CLK_MONO], time), 0);
|
/linux-master/drivers/input/touchscreen/ |
H A D | sur40.c | 49 __le32 timestamp; /* milliseconds (inc. by 16 or 17 each frame) */ member in struct:sur40_header 100 __le32 timestamp; /* milliseconds (increases by 16 or 17 each frame) */ member in struct:sur40_image_header 605 new_buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/isdn/mISDN/ |
H A D | clock.c | 18 * enabled. If function call is delayed, tv must be set with the timestamp 41 static int iclock_timestamp_valid; /* already received one timestamp */ 134 mISDN_clock_update(struct mISDNclock *iclock, int samples, ktime_t *timestamp) argument 153 if (timestamp) { /* timestamp must be set, if function call is delayed */ 154 iclock_timestamp = *timestamp; 160 if (timestamp) { /* timestamp must be set, if function call is delayed */ 161 timestamp_now = *timestamp; 167 /* add elapsed time to counter and set new timestamp */ [all...] |
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-layout.c | 129 u64 timestamp; member in struct:index_save_data 553 encode_u64_le(buffer, &offset, isl->save_data.timestamp); 835 encode_u64_le(buffer, &offset, isl->save_data.timestamp); 848 if ((isl->zone_count == 0) || (isl->save_data.timestamp == 0)) 854 return isl->save_data.timestamp; 991 isl->save_data.timestamp = ktime_to_ms(current_time_ns(CLOCK_REALTIME)); 1433 decode_u64_le(buffer, &offset, &isl->save_data.timestamp);
|
/linux-master/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 88 buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 3096 b->timestamp = ktime_get_ns(); 3200 vb->timestamp = ktime_get_ns();
|
H A D | videobuf2-v4l2.c | 149 * For output buffers copy the timestamp if needed, 153 vb->timestamp = v4l2_buffer_get_timestamp(b); 317 * their timestamp and timestamp source flags from the 486 /* Copy back data such as timestamp, flags, etc. */ 494 v4l2_buffer_set_timestamp(b, vb->timestamp); 543 * For non-COPY timestamps, drop timestamp source bits 544 * and obtain the timestamp source from the queue. 594 vb->timestamp = 0; 615 struct vb2_buffer *vb2_find_buffer(struct vb2_queue *q, u64 timestamp) argument [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | rtl2832_sdr.c | 258 fbuf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/i2c/ |
H A D | video-i2c.c | 481 vb2_buf->timestamp = ktime_get_ns();
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttv-driver.c | 2737 wakeup->top->vbuf.vb2_buf.timestamp = ts; 2748 wakeup->top->vbuf.vb2_buf.timestamp = ts; 2758 wakeup->bottom->vbuf.vb2_buf.timestamp = ts; 2773 wakeup->vbuf.vb2_buf.timestamp = ktime_get_ns(); 2841 item->vbuf.vb2_buf.timestamp = ktime_get_ns(); 2848 item->vbuf.vb2_buf.timestamp = ktime_get_ns(); 2869 wakeup->vbuf.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-mailbox.c | 192 vb_buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-core.c | 437 buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
H A D | cx23885-video.c | 99 buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 116 buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 527 buf->vb.vb2_buf.timestamp = ktime_get_ns();
|
/linux-master/drivers/media/pci/dt3155/ |
H A D | dt3155.c | 258 ipd->curr_buf->vb2_buf.timestamp = ktime_get_ns();
|