Lines Matching defs:timestamp
332 struct delayed_work timestamp;
400 __le32 timestamp;
406 ×tamp, sizeof(timestamp),
412 *timestamp_p = le32_to_cpu(timestamp);
420 u32 timestamp = 0;
427 err = gs_usb_get_timestamp(parent, ×tamp);
431 "Error %d while reading timestamp. HW timestamps may be inaccurate.",
434 return timestamp;
442 parent = container_of(delayed_work, struct gs_usb, timestamp);
447 schedule_delayed_work(&parent->timestamp,
452 struct sk_buff *skb, u32 timestamp)
459 ns = timecounter_cyc2time(&parent->tc, timestamp);
479 INIT_DELAYED_WORK(&parent->timestamp, gs_usb_timestamp_work);
480 schedule_delayed_work(&parent->timestamp,
486 cancel_delayed_work_sync(&parent->timestamp);
517 u32 timestamp;
520 timestamp = le32_to_cpu(hf->canfd_ts->timestamp_us);
522 timestamp = le32_to_cpu(hf->classic_can_ts->timestamp_us);
525 gs_usb_skb_set_timestamp(dev, skb, timestamp);
527 return timestamp;