/linux-master/drivers/iio/accel/ |
H A D | kxcjk-1013.c | 249 /* Ensure timestamp naturally aligned */ 252 s64 timestamp __aligned(8); 262 int64_t timestamp; member in struct:kxcjk1013_data 1316 data->timestamp); 1395 data->timestamp); 1404 data->timestamp); 1413 data->timestamp); 1422 data->timestamp); 1431 data->timestamp); 1440 data->timestamp); [all...] |
H A D | bmc150-accel-core.c | 1003 * If we getting called from IRQ handler we know the stored timestamp is 1006 * before the watermark interrupt was triggered, take a timestamp 1011 data->old_timestamp = data->timestamp; 1012 data->timestamp = iio_get_time_ns(indio_dev); 1017 * frequency, timestamp for last sample and number of samples. 1027 * based on the timestamp delta between the last two flush operations. 1029 sample_period = (data->timestamp - data->old_timestamp); 1031 tstamp = data->timestamp - (count - 1) * sample_period; 1241 pf->timestamp); 1335 data->timestamp); [all...] |
H A D | fxls8962af-core.c | 166 int64_t timestamp, old_timestamp; /* Only used in hw fifo mode. */ member in struct:fxls8962af_data 949 data->old_timestamp = data->timestamp; 950 data->timestamp = iio_get_time_ns(indio_dev); 954 * frequency, timestamp for last sample and number of samples. 956 sample_period = (data->timestamp - data->old_timestamp); 958 tstamp = data->timestamp - (count - 1) * sample_period;
|
H A D | mma9553.c | 191 s64 timestamp; member in struct:mma9553_data 995 data->timestamp = iio_get_time_ns(indio_dev); 1036 data->timestamp); 1049 data->timestamp); 1058 data->timestamp);
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 93 void sparx5_set_port_ifh_timestamp(void *ifh_hdr, u64 timestamp) argument 95 ifh_encode_bitfield(ifh_hdr, timestamp, 232, 40);
|
H A D | sparx5_packet.c | 48 info->timestamp = 155 sparx5_ptp_rxtstamp(sparx5, skb, fi.timestamp);
|
/linux-master/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.c | 150 u64 timestamp = local_clock(); local 160 + timestamp - file_priv->start_ns[queue]
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.h | 60 * Number of IH timestamp ticks until a fault is considered handled 80 uint64_t timestamp:48; member in struct:amdgpu_gmc_fault 408 uint16_t pasid, uint64_t timestamp);
|
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_hw.h | 190 * @timestamp: frame timestamp 199 u64 timestamp; member in struct:hantro_vp9_frame_info 276 u64 timestamp; member in struct:hantro_av1_frame_ref
|
/linux-master/include/linux/ |
H A D | input.h | 130 * @timestamp: storage for a timestamp set by input_set_timestamp called 209 ktime_t timestamp[INPUT_CLK_MAX]; member in struct:input_dev 417 void input_set_timestamp(struct input_dev *dev, ktime_t timestamp);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 468 /* Check if a timestamp can be retrieved */ 487 /* Get next timestamp from fifo, which needs to be the 488 * rx timestamp which represents the id of the frame 496 /* Check if a timestamp can be retried */ 526 /* Get the h/w timestamp */ 529 /* Set the timestamp into the skb */ 588 ptp_event.timestamp = time; 1084 u64 src_port, u64 timestamp) 1099 timestamp = timestamp >> 1083 lan966x_ptp_rxtstamp(struct lan966x *lan966x, struct sk_buff *skb, u64 src_port, u64 timestamp) argument [all...] |
H A D | lan966x_main.c | 356 static void lan966x_ifh_set_timestamp(void *ifh, u64 timestamp) argument 358 lan966x_ifh_set(ifh, timestamp, IFH_POS_TIMESTAMP, IFH_WID_TIMESTAMP); 634 void lan966x_ifh_get_timestamp(void *ifh, u64 *timestamp) argument 636 *timestamp = lan966x_ifh_get(ifh, IFH_POS_TIMESTAMP, IFH_WID_TIMESTAMP); 648 u64 src_port, len, timestamp; local 666 lan966x_ifh_get_timestamp(ifh, ×tamp); 706 lan966x_ptp_rxtstamp(lan966x, skb, src_port, timestamp);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 261 event.timestamp = ns; 340 netdev_warn(bp->dev, "Unsupported FW for all RX pkts timestamp filter\n"); 356 netdev_warn(bp->dev, "Failed to configure HW packet timestamp filters\n"); 674 struct skb_shared_hwtstamps timestamp; local 680 memset(×tamp, 0, sizeof(timestamp)); 684 timestamp.hwtstamp = ns_to_ktime(ns); 685 skb_tstamp_tx(ptp->tx_skb, ×tamp);
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | sensors.c | 846 * dropping the timestamp value. 901 out->timestamp = get_unaligned_le64((void *)&in->timestamp_low); 1051 u8 evt_id, ktime_t timestamp, 1066 r->timestamp = timestamp; 1086 r->timestamp = timestamp; 1050 scmi_sensor_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
|
H A D | powercap.c | 871 u8 evt_id, ktime_t timestamp, 886 r->timestamp = timestamp; 903 r->timestamp = timestamp; 870 scmi_powercap_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/iio/light/ |
H A D | rpr0521.c | 199 * Ensure correct naturally aligned timestamp. 448 pf->timestamp = iio_get_time_ns(indio_dev); 460 /* Use irq timestamp when reasonable. */ 462 pf->timestamp = data->irq_timestamp; 465 /* Other chained trigger polls get timestamp only here. */ 466 if (!pf->timestamp) 467 pf->timestamp = iio_get_time_ns(indio_dev); 474 &data->scan, pf->timestamp); 478 pf->timestamp = 0;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 546 u16 timestamp = ib1 & ib1_ts_mask; local 548 if (timestamp > now) 549 return ib1_ts_mask + 1 - timestamp + now; 551 return now - timestamp; 621 u16 timestamp = mtk_eth_timestamp(eth); local 628 timestamp); 632 timestamp);
|
/linux-master/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_hydra.c | 177 __le16 timestamp[3]; member in struct:kvaser_cmd_error_event 189 __le16 timestamp[3]; member in struct:kvaser_cmd_chip_state_event 242 __le16 timestamp[3]; member in struct:kvaser_cmd_rx_can 336 __le64 timestamp; member in struct:kvaser_cmd_ext_rx_can 357 __le64 timestamp; member in struct:kvaser_cmd_ext_tx_ack 534 ticks = le64_to_cpu(cmd_ext->rx_can.timestamp); 536 ticks = le16_to_cpu(cmd->rx_can.timestamp[0]); 537 ticks += (u64)(le16_to_cpu(cmd->rx_can.timestamp[1])) << 16; 538 ticks += (u64)(le16_to_cpu(cmd->rx_can.timestamp[2])) << 32;
|
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_video.c | 540 * for to make timestamp recovery as accurate as possible. 642 * uvc_video_clock_update - Update the buffer timestamp 644 * This function converts the buffer PTS timestamp to the host clock domain by 646 * buffer timestamp field. 669 * to avoid losing precision in the division. Similarly, the host timestamp is 700 * timestamp of the sliding window to 1s. 710 u64 timestamp; local 789 timestamp = ktime_to_ns(first->host_time) + y - y1; 795 y, timestamp, vbuf->vb2_buf.timestamp, [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 142 u64 timestamp, tsns; local 157 timestamp = ((u64 *)sq->timestamps->base)[snd_comp->sqe_id]; 158 if (timestamp != 1) { 159 timestamp = pfvf->ptp->convert_tx_ptp_tstmp(timestamp); 160 err = otx2_ptp_tstamp2time(pfvf, timestamp, &tsns); 179 u64 timestamp, tsns; local 185 timestamp = pfvf->ptp->convert_rx_ptp_tstmp(*(u64 *)data); 186 /* The first 8 bytes is the timestamp */ 187 err = otx2_ptp_tstamp2time(pfvf, timestamp, [all...] |
/linux-master/drivers/iio/pressure/ |
H A D | zpa2326.c | 107 * @timestamp: Buffered samples ready datum. 125 s64 timestamp; member in struct:zpa2326_private 585 u64 timestamp; member in struct:__anon314 611 * Now push samples using timestamp stored either : 620 private->timestamp); 754 iio_priv(indio_dev))->timestamp = iio_get_time_ns(indio_dev); 1178 /* Only timestamp sample once it is ready. */ 1179 priv->timestamp = iio_get_time_ns(indio_dev); 1181 /* Interrupt handlers will timestamp for us. */
|
/linux-master/drivers/net/can/ |
H A D | bxcan.c | 108 /* RX FIFO mailbox data length and timestamp register (RDTxR, x = 0..1) bits */ 146 u32 dlc; /* data length control and timestamp */ 180 u32 timestamp; member in struct:bxcan_priv 362 unsigned int mbxno, u32 *timestamp, 394 priv->timestamp = FIELD_GET(BXCAN_RDTxR_TIME_MASK, dlc); 511 priv->timestamp); 596 priv->timestamp); 361 bxcan_mailbox_read(struct can_rx_offload *offload, unsigned int mbxno, u32 *timestamp, bool drop) argument
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 380 * ixgbe_ptp_convert_to_hwtstamp - convert register value to hw timestamp 382 * @hwtstamp: stack timestamp structure 383 * @timestamp: unsigned 64bit system time value 390 * timestamp registers, as there can't be a new timestamp until the old one is 393 * In addition to the timestamp in hardware, some controllers need a software 398 u64 timestamp) 409 * to convert the timestamp into cycles before it can be fed to the 423 systime.tv_sec = timestamp >> 32; 424 systime.tv_nsec = timestamp 396 ixgbe_ptp_convert_to_hwtstamp(struct ixgbe_adapter *adapter, struct skb_shared_hwtstamps *hwtstamp, u64 timestamp) argument [all...] |
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpts.c | 128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); 157 pevent.timestamp = event->timestamp; 340 ssh.hwtstamp = ns_to_ktime(event->timestamp); 345 dev_dbg(cpts->dev, "match tx timestamp mtype_seqid %08x\n", 352 dev_dbg(cpts->dev, "expiring tx timestamp from txq\n"); 482 ns = event->timestamp; 542 /* get the timestamp for timeouts */
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_hevc_req_multi_if.c | 192 u64 timestamp; member in struct:slice_hevc_dpb_entry 407 vb = vb2_find_buffer(vq, dpb->timestamp); 410 "Reference invalid: dpb_index(%d) timestamp(%lld)", 411 index, dpb->timestamp); 567 dst_entry->timestamp = src_entry->timestamp;
|