/drivers/net/phy/ |
D | nxp-c45-tja11xx.c | 324 struct nxp_c45_hwts *hwts) in nxp_c45_reconstruct_ts() argument 326 ts->tv_nsec = hwts->nsec; in nxp_c45_reconstruct_ts() 327 if ((ts->tv_sec & TS_SEC_MASK) < (hwts->sec & TS_SEC_MASK)) in nxp_c45_reconstruct_ts() 330 ts->tv_sec |= hwts->sec & TS_SEC_MASK; in nxp_c45_reconstruct_ts() 334 struct nxp_c45_hwts *hwts, in nxp_c45_match_ts() argument 337 return ntohs(header->sequence_id) == hwts->sequence_id && in nxp_c45_match_ts() 338 ptp_get_msgtype(header, type) == hwts->msg_type && in nxp_c45_match_ts() 339 header->domain_number == hwts->domain_number; in nxp_c45_match_ts() 343 struct nxp_c45_hwts *hwts) in nxp_c45_get_hwtxts() argument 356 hwts->domain_number = reg; in nxp_c45_get_hwtxts() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 62 struct skb_shared_hwtstamps *hwts, in mlx4_en_fill_hwtstamps() argument 73 memset(hwts, 0, sizeof(struct skb_shared_hwtstamps)); in mlx4_en_fill_hwtstamps() 74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
|
D | en_tx.c | 289 struct skb_shared_hwtstamps hwts; in mlx4_en_free_tx_desc() local 291 mlx4_en_fill_hwtstamps(priv->mdev, &hwts, timestamp); in mlx4_en_free_tx_desc() 292 skb_tstamp_tx(skb, &hwts); in mlx4_en_free_tx_desc()
|
D | mlx4_en.h | 793 struct skb_shared_hwtstamps *hwts,
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 527 struct skb_shared_hwtstamps *hwts; in pcan_usb_pro_handle_canmsg() local 544 hwts = skb_hwtstamps(skb); in pcan_usb_pro_handle_canmsg() 546 &hwts->hwtstamp); in pcan_usb_pro_handle_canmsg() 566 struct skb_shared_hwtstamps *hwts; in pcan_usb_pro_handle_error() local 661 hwts = skb_hwtstamps(skb); in pcan_usb_pro_handle_error() 662 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); in pcan_usb_pro_handle_error()
|
D | pcan_usb.c | 517 struct skb_shared_hwtstamps *hwts = skb_hwtstamps(skb); in pcan_usb_decode_error() local 520 &hwts->hwtstamp); in pcan_usb_decode_error() 635 struct skb_shared_hwtstamps *hwts; in pcan_usb_decode_data() local 684 hwts = skb_hwtstamps(skb); in pcan_usb_decode_data() 685 peak_usb_get_ts_time(&mc->pdev->time_ref, mc->ts16, &hwts->hwtstamp); in pcan_usb_decode_data()
|
D | pcan_usb_core.c | 201 struct skb_shared_hwtstamps *hwts = skb_hwtstamps(skb); in peak_usb_netif_rx() local 203 peak_usb_get_ts_time(time_ref, ts_low, &hwts->hwtstamp); in peak_usb_netif_rx()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.c | 89 struct skb_shared_hwtstamps hwts; in hclge_ptp_clean_tx_hwts() local 106 hwts.hwtstamp = ns_to_ktime(ns); in hclge_ptp_clean_tx_hwts() 107 skb_tstamp_tx(skb, &hwts); in hclge_ptp_clean_tx_hwts()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 787 struct skb_shared_hwtstamps hwts = {}; in mlx5e_consume_skb() local 790 hwts.hwtstamp = mlx5e_cqe_ts_to_ns(sq->ptp_cyc2time, sq->clock, ts); in mlx5e_consume_skb() 793 hwts.hwtstamp, sq->ptpsq->cq_stats); in mlx5e_consume_skb() 795 skb_tstamp_tx(skb, &hwts); in mlx5e_consume_skb()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 41 struct skb_shared_hwtstamps hwts = {}; in mlx5e_skb_cb_hwtstamp_tx() local 54 hwts.hwtstamp = mlx5e_skb_cb_get_hwts(skb)->port_hwtstamp; in mlx5e_skb_cb_hwtstamp_tx() 55 skb_tstamp_tx(skb, &hwts); in mlx5e_skb_cb_hwtstamp_tx()
|
/drivers/net/can/peak_canfd/ |
D | peak_canfd.c | 237 struct skb_shared_hwtstamps *hwts = skb_hwtstamps(skb); in pucan_netif_rx() local 244 hwts->hwtstamp = ns_to_ktime(ts_us * NSEC_PER_USEC); in pucan_netif_rx()
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 956 struct aq_ring_s *hwts; in aq_ptp_ring_alloc() local 981 hwts = aq_ring_hwts_rx_alloc(&aq_ptp->hwts_rx, aq_nic, PTP_HWST_RING_IDX, in aq_ptp_ring_alloc() 984 if (!hwts) { in aq_ptp_ring_alloc()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 717 struct skb_shared_hwtstamps hwts = {}; in ionic_tx_clean() local 730 hwts.hwtstamp = ionic_lif_phc_ktime(q->lif, hwstamp); in ionic_tx_clean() 733 skb_tstamp_tx(skb, &hwts); in ionic_tx_clean()
|
/drivers/net/can/usb/etas_es58x/ |
D | es58x_core.c | 180 struct skb_shared_hwtstamps *hwts; in es58x_set_skb_timestamp() local 182 hwts = skb_hwtstamps(skb); in es58x_set_skb_timestamp() 186 hwts->hwtstamp = ns_to_ktime(es58x_timestamp_to_ns(timestamp) + in es58x_set_skb_timestamp()
|