Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c541 struct skb_shared_hwtstamps *hwts; in pcan_usb_pro_handle_canmsg() local
568 hwts = skb_hwtstamps(skb); in pcan_usb_pro_handle_canmsg()
570 &hwts->hwtstamp); in pcan_usb_pro_handle_canmsg()
588 struct skb_shared_hwtstamps *hwts; in pcan_usb_pro_handle_error() local
689 hwts = skb_hwtstamps(skb); in pcan_usb_pro_handle_error()
690 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); in pcan_usb_pro_handle_error()
H A 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()
H A 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/drivers/net/can/peak_canfd/
H A 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/drivers/net/can/usb/etas_es58x/
H A 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/net/bluetooth/
H A Diso.c2645 struct skb_shared_hwtstamps *hwts; in iso_recv()
2695 hwts = skb_hwtstamps(skb); in iso_recv()
2696 hwts->hwtstamp = us_to_ktime(le32_to_cpu(hdr->ts)); in iso_recv()
2752 hwts = skb_hwtstamps(conn->rx_skb); in iso_recv()
2753 hwts->hwtstamp = skb_hwtstamps(skb)->hwtstamp; in iso_recv()
2637 struct skb_shared_hwtstamps *hwts; iso_recv() local
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c2832 struct cfg80211_set_hw_timestamp *hwts) in iwl_mld_set_hw_timestamp() argument
2838 if (!hwts->macaddr) in iwl_mld_set_hw_timestamp()
2841 if (hwts->enable) in iwl_mld_set_hw_timestamp()
2845 return iwl_mld_time_sync_config(mld, hwts->macaddr, protocols); in iwl_mld_set_hw_timestamp()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c1211 struct skb_shared_hwtstamps hwts = {}; in ionic_tx_clean() local
1220 hwts.hwtstamp = ionic_lif_phc_ktime(q->lif, hwstamp); in ionic_tx_clean()
1223 skb_tstamp_tx(skb, &hwts); in ionic_tx_clean()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c500 static ktime_t gve_rx_get_hwtstamp(struct gve_priv *gve, u32 hwts) in gve_rx_get_hwtstamp() argument
504 s32 diff = hwts - low; in gve_rx_get_hwtstamp()
/linux/net/wireless/
H A Drdev-ops.h1567 struct cfg80211_set_hw_timestamp *hwts) in rdev_set_hw_timestamp() argument
1572 trace_rdev_set_hw_timestamp(wiphy, dev, hwts); in rdev_set_hw_timestamp()
1574 ret = rdev->ops->set_hw_timestamp(wiphy, dev, hwts); in rdev_set_hw_timestamp()
H A Dtrace.h3154 struct cfg80211_set_hw_timestamp *hwts),
3156 TP_ARGS(wiphy, netdev, hwts),
3168 MAC_ASSIGN(macaddr, hwts->macaddr);
3169 __entry->enable = hwts->enable;
H A Dnl80211.c19235 struct cfg80211_set_hw_timestamp hwts = {}; in nl80211_set_hw_timestamp() local
19245 hwts.macaddr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_hw_timestamp()
19247 hwts.enable = in nl80211_set_hw_timestamp()
19250 return rdev_set_hw_timestamp(rdev, dev, &hwts); in nl80211_set_hw_timestamp()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac80211.c6334 struct cfg80211_set_hw_timestamp *hwts) in iwl_mvm_set_hw_timestamp() argument
6340 if (!hwts->macaddr) in iwl_mvm_set_hw_timestamp()
6343 if (hwts->enable) in iwl_mvm_set_hw_timestamp()
6348 return iwl_mvm_time_sync_config(mvm, hwts->macaddr, protocols); in iwl_mvm_set_hw_timestamp()
H A Dmvm.h2819 struct cfg80211_set_hw_timestamp *hwts);
/linux/include/net/
H A Dmac80211.h5127 struct cfg80211_set_hw_timestamp *hwts);
H A Dcfg80211.h5647 struct cfg80211_set_hw_timestamp *hwts);
/linux/net/mac80211/
H A Dcfg.c5908 struct cfg80211_set_hw_timestamp *hwts) in ieee80211_set_hw_timestamp() argument
5919 return local->ops->set_hw_timestamp(&local->hw, &sdata->vif, hwts); in ieee80211_set_hw_timestamp()