Home
last modified time | relevance | path

Searched refs:hwts (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/net/phy/ !
Dnxp-c45-tja11xx.c276 struct nxp_c45_hwts *hwts);
500 struct nxp_c45_hwts *hwts) in nxp_c45_reconstruct_ts() argument
502 ts->tv_nsec = hwts->nsec; in nxp_c45_reconstruct_ts()
503 if ((ts->tv_sec & TS_SEC_MASK) < (hwts->sec & TS_SEC_MASK)) in nxp_c45_reconstruct_ts()
506 ts->tv_sec |= hwts->sec & TS_SEC_MASK; in nxp_c45_reconstruct_ts()
510 struct nxp_c45_hwts *hwts, in nxp_c45_match_ts() argument
513 return ntohs(header->sequence_id) == hwts->sequence_id && in nxp_c45_match_ts()
514 ptp_get_msgtype(header, type) == hwts->msg_type && in nxp_c45_match_ts()
515 header->domain_number == hwts->domain_number; in nxp_c45_match_ts()
583 struct nxp_c45_hwts *hwts) in nxp_c45_read_egress_ts() argument
[all …]
Dbcm-phy-ptp.c389 struct skb_shared_hwtstamps *hwts; in bcm_ptp_rxtstamp() local
406 hwts = skb_hwtstamps(skb); in bcm_ptp_rxtstamp()
407 hwts->hwtstamp = ktime_set(sec, nsec); in bcm_ptp_rxtstamp()
462 struct skb_shared_hwtstamps hwts; in bcm_ptp_match_tstamp() local
485 memset(&hwts, 0, sizeof(hwts)); in bcm_ptp_match_tstamp()
486 hwts.hwtstamp = capts->hwtstamp; in bcm_ptp_match_tstamp()
487 skb_complete_tx_timestamp(ts_skb, &hwts); in bcm_ptp_match_tstamp()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ !
Den_clock.c75 struct skb_shared_hwtstamps *hwts, in mlx4_en_fill_hwtstamps() argument
78 memset(hwts, 0, sizeof(struct skb_shared_hwtstamps)); in mlx4_en_fill_hwtstamps()
79 hwts->hwtstamp = mlx4_en_get_hwtstamp(mdev, timestamp); in mlx4_en_fill_hwtstamps()
Den_tx.c294 struct skb_shared_hwtstamps hwts; in mlx4_en_free_tx_desc() local
296 mlx4_en_fill_hwtstamps(priv->mdev, &hwts, timestamp); in mlx4_en_free_tx_desc()
297 skb_tstamp_tx(skb, &hwts); in mlx4_en_free_tx_desc()
Dmlx4_en.h812 struct skb_shared_hwtstamps *hwts,
/linux-6.6.21/drivers/net/can/usb/peak_usb/ !
Dpcan_usb_pro.c541 struct skb_shared_hwtstamps *hwts; in pcan_usb_pro_handle_canmsg() local
562 hwts = skb_hwtstamps(skb); in pcan_usb_pro_handle_canmsg()
564 &hwts->hwtstamp); in pcan_usb_pro_handle_canmsg()
582 struct skb_shared_hwtstamps *hwts; in pcan_usb_pro_handle_error() local
677 hwts = skb_hwtstamps(skb); in pcan_usb_pro_handle_error()
678 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); in pcan_usb_pro_handle_error()
Dpcan_usb.c539 struct skb_shared_hwtstamps *hwts = skb_hwtstamps(skb); in pcan_usb_decode_error() local
542 &hwts->hwtstamp); in pcan_usb_decode_error()
655 struct skb_shared_hwtstamps *hwts; in pcan_usb_decode_data() local
708 hwts = skb_hwtstamps(skb); in pcan_usb_decode_data()
709 peak_usb_get_ts_time(&mc->pdev->time_ref, mc->ts16, &hwts->hwtstamp); in pcan_usb_decode_data()
Dpcan_usb_core.c220 struct skb_shared_hwtstamps *hwts = skb_hwtstamps(skb); in peak_usb_netif_rx_64() local
225 hwts->hwtstamp = ns_to_ktime(ns_ts); in peak_usb_netif_rx_64()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ !
Dhclge_ptp.c77 struct skb_shared_hwtstamps hwts; in hclge_ptp_clean_tx_hwts() local
94 hwts.hwtstamp = ns_to_ktime(ns); in hclge_ptp_clean_tx_hwts()
95 skb_tstamp_tx(skb, &hwts); in hclge_ptp_clean_tx_hwts()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ !
Den_tx.c747 struct skb_shared_hwtstamps hwts = {}; in mlx5e_consume_skb() local
750 hwts.hwtstamp = mlx5e_cqe_ts_to_ns(sq->ptp_cyc2time, sq->clock, ts); in mlx5e_consume_skb()
753 hwts.hwtstamp, sq->ptpsq->cq_stats); in mlx5e_consume_skb()
755 skb_tstamp_tx(skb, &hwts); in mlx5e_consume_skb()
/linux-6.6.21/drivers/net/can/peak_canfd/ !
Dpeak_canfd.c238 struct skb_shared_hwtstamps *hwts = skb_hwtstamps(skb); in pucan_netif_rx() local
245 hwts->hwtstamp = ns_to_ktime(ts_us * NSEC_PER_USEC); in pucan_netif_rx()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ !
Dptp.c86 struct skb_shared_hwtstamps hwts = {}; in mlx5e_skb_cb_hwtstamp_tx() local
99 hwts.hwtstamp = mlx5e_skb_cb_get_hwts(skb)->port_hwtstamp; in mlx5e_skb_cb_hwtstamp_tx()
100 skb_tstamp_tx(skb, &hwts); in mlx5e_skb_cb_hwtstamp_tx()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ !
Dionic_txrx.c808 struct skb_shared_hwtstamps hwts = {}; in ionic_tx_clean() local
821 hwts.hwtstamp = ionic_lif_phc_ktime(q->lif, hwstamp); in ionic_tx_clean()
824 skb_tstamp_tx(skb, &hwts); in ionic_tx_clean()
/linux-6.6.21/drivers/net/can/usb/etas_es58x/ !
Des58x_core.c179 struct skb_shared_hwtstamps *hwts; in es58x_set_skb_timestamp() local
181 hwts = skb_hwtstamps(skb); in es58x_set_skb_timestamp()
185 hwts->hwtstamp = ns_to_ktime(es58x_timestamp_to_ns(timestamp) + in es58x_set_skb_timestamp()
/linux-6.6.21/net/wireless/ !
Drdev-ops.h1513 struct cfg80211_set_hw_timestamp *hwts) in rdev_set_hw_timestamp() argument
1521 trace_rdev_set_hw_timestamp(wiphy, dev, hwts); in rdev_set_hw_timestamp()
1522 ret = rdev->ops->set_hw_timestamp(wiphy, dev, hwts); in rdev_set_hw_timestamp()
Dtrace.h3946 struct cfg80211_set_hw_timestamp *hwts),
3948 TP_ARGS(wiphy, netdev, hwts),
3960 MAC_ASSIGN(macaddr, hwts->macaddr);
3961 __entry->enable = hwts->enable;
Dnl80211.c16348 struct cfg80211_set_hw_timestamp hwts = {}; in nl80211_set_hw_timestamp() local
16358 hwts.macaddr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_hw_timestamp()
16360 hwts.enable = in nl80211_set_hw_timestamp()
16363 return rdev_set_hw_timestamp(rdev, dev, &hwts); in nl80211_set_hw_timestamp()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ !
Dmac80211.c6130 struct cfg80211_set_hw_timestamp *hwts) in iwl_mvm_set_hw_timestamp() argument
6137 if (!hwts->macaddr) in iwl_mvm_set_hw_timestamp()
6140 if (hwts->enable) in iwl_mvm_set_hw_timestamp()
6145 ret = iwl_mvm_time_sync_config(mvm, hwts->macaddr, protocols); in iwl_mvm_set_hw_timestamp()
Dmvm.h2725 struct cfg80211_set_hw_timestamp *hwts);
/linux-6.6.21/include/net/ !
Dmac80211.h4639 struct cfg80211_set_hw_timestamp *hwts);
Dcfg80211.h4762 struct cfg80211_set_hw_timestamp *hwts);
/linux-6.6.21/net/mac80211/ !
Dcfg.c5019 struct cfg80211_set_hw_timestamp *hwts) in ieee80211_set_hw_timestamp() argument
5030 return local->ops->set_hw_timestamp(&local->hw, &sdata->vif, hwts); in ieee80211_set_hw_timestamp()