Home
last modified time | relevance | path

Searched refs:hwtstamps (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-timestamp.c45 struct skb_shared_hwtstamps *hwtstamps = skb_hwtstamps(skb); in mcp251xfd_skb_set_timestamp() local
49 hwtstamps->hwtstamp = ns_to_ktime(ns); in mcp251xfd_skb_set_timestamp()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c597 struct skb_shared_hwtstamps *hwtstamps) in mlxsw_sp1_ptp_packet_finish() argument
612 if (hwtstamps) in mlxsw_sp1_ptp_packet_finish()
613 *skb_hwtstamps(skb) = *hwtstamps; in mlxsw_sp1_ptp_packet_finish()
617 skb_tstamp_tx(skb, hwtstamps); in mlxsw_sp1_ptp_packet_finish()
631 struct skb_shared_hwtstamps hwtstamps; in mlxsw_sp1_packet_timestamp() local
638 hwtstamps.hwtstamp = ns_to_ktime(nsec); in mlxsw_sp1_packet_timestamp()
640 key.local_port, key.ingress, &hwtstamps); in mlxsw_sp1_packet_timestamp()
1417 struct skb_shared_hwtstamps *hwtstamps) in mlxsw_sp2_ptp_hwtstamp_fill() argument
1435 hwtstamps->hwtstamp = ns_to_ktime(nsec); in mlxsw_sp2_ptp_hwtstamp_fill()
1441 struct skb_shared_hwtstamps hwtstamps; in mlxsw_sp2_ptp_receive() local
[all …]
/linux-6.1.9/drivers/net/ethernet/engleder/
Dtsnep_main.c510 struct skb_shared_hwtstamps hwtstamps; in tsnep_tx_poll() local
521 memset(&hwtstamps, 0, sizeof(hwtstamps)); in tsnep_tx_poll()
522 hwtstamps.hwtstamp = ns_to_ktime(timestamp); in tsnep_tx_poll()
524 skb_tstamp_tx(entry->skb, &hwtstamps); in tsnep_tx_poll()
752 struct skb_shared_hwtstamps *hwtstamps = skb_hwtstamps(skb); in tsnep_build_skb() local
759 memset(hwtstamps, 0, sizeof(*hwtstamps)); in tsnep_build_skb()
760 hwtstamps->netdev_data = rx_inline; in tsnep_build_skb()
1233 const struct skb_shared_hwtstamps *hwtstamps, in tsnep_netdev_get_tstamp() argument
1236 struct tsnep_rx_inline *rx_inline = hwtstamps->netdev_data; in tsnep_netdev_get_tstamp()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_ptp.c422 struct skb_shared_hwtstamps *hwtstamps, in igc_ptp_systim_to_hwtstamp() argument
427 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igc_ptp_systim_to_hwtstamp()
429 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_ptp.c162 struct skb_shared_hwtstamps *hwtstamps, in igb_ptp_systim_to_hwtstamp() argument
168 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igb_ptp_systim_to_hwtstamp()
179 hwtstamps->hwtstamp = ns_to_ktime(ns); in igb_ptp_systim_to_hwtstamp()
184 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1472 struct skb_shared_hwtstamps hwtstamps; in xgbe_tx_tstamp() local
1484 memset(&hwtstamps, 0, sizeof(hwtstamps)); in xgbe_tx_tstamp()
1485 hwtstamps.hwtstamp = ns_to_ktime(nsec); in xgbe_tx_tstamp()
1486 skb_tstamp_tx(pdata->tx_tstamp_skb, &hwtstamps); in xgbe_tx_tstamp()
2482 struct skb_shared_hwtstamps *hwtstamps; in xgbe_rx_poll() local
2639 hwtstamps = skb_hwtstamps(skb); in xgbe_rx_poll()
2640 hwtstamps->hwtstamp = ns_to_ktime(nsec); in xgbe_rx_poll()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c328 static void i40e_ptp_convert_to_hwtstamp(struct skb_shared_hwtstamps *hwtstamps, in i40e_ptp_convert_to_hwtstamp() argument
331 memset(hwtstamps, 0, sizeof(*hwtstamps)); in i40e_ptp_convert_to_hwtstamp()
333 hwtstamps->hwtstamp = ns_to_ktime(timestamp); in i40e_ptp_convert_to_hwtstamp()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ptp.c2145 struct skb_shared_hwtstamps *hwtstamps; in ice_ptp_rx_hwtstamp() local
2167 hwtstamps = skb_hwtstamps(skb); in ice_ptp_rx_hwtstamp()
2168 memset(hwtstamps, 0, sizeof(*hwtstamps)); in ice_ptp_rx_hwtstamp()
2169 hwtstamps->hwtstamp = ns_to_ktime(ts_ns); in ice_ptp_rx_hwtstamp()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c3431 struct skb_shared_hwtstamps *hwtstamps, in cxgb4_sgetim_to_hwtstamp() argument
3439 memset(hwtstamps, 0, sizeof(*hwtstamps)); in cxgb4_sgetim_to_hwtstamp()
3440 hwtstamps->hwtstamp = ns_to_ktime(ns); in cxgb4_sgetim_to_hwtstamp()
3505 struct skb_shared_hwtstamps *hwtstamps; in t4_systim_to_hwstamp() local
3521 hwtstamps = skb_hwtstamps(skb); in t4_systim_to_hwstamp()
3522 memset(hwtstamps, 0, sizeof(*hwtstamps)); in t4_systim_to_hwstamp()
3523 hwtstamps->hwtstamp = ns_to_ktime(get_unaligned_be64(data)); in t4_systim_to_hwstamp()
/linux-6.1.9/include/linux/
Dskbuff.h581 struct skb_shared_hwtstamps hwtstamps; member
1636 return &skb_shinfo(skb)->hwtstamps; in skb_hwtstamps()
4263 struct skb_shared_hwtstamps *hwtstamps);
4266 struct skb_shared_hwtstamps *hwtstamps,
4281 struct skb_shared_hwtstamps *hwtstamps);
Dnetdevice.h1617 const struct skb_shared_hwtstamps *hwtstamps,
4831 const struct skb_shared_hwtstamps *hwtstamps, in netdev_get_tstamp() argument
4837 return ops->ndo_get_tstamp(dev, hwtstamps, cycles); in netdev_get_tstamp()
4839 return hwtstamps->hwtstamp; in netdev_get_tstamp()
/linux-6.1.9/net/core/
Dskbuff.c4923 struct skb_shared_hwtstamps *hwtstamps) in skb_complete_tx_timestamp() argument
4934 *skb_hwtstamps(skb) = *hwtstamps; in skb_complete_tx_timestamp()
4947 struct skb_shared_hwtstamps *hwtstamps, in __skb_tstamp_tx() argument
4956 if (!hwtstamps && !(sk->sk_tsflags & SOF_TIMESTAMPING_OPT_TX_SWHW) && in __skb_tstamp_tx()
4986 if (hwtstamps) in __skb_tstamp_tx()
4987 *skb_hwtstamps(skb) = *hwtstamps; in __skb_tstamp_tx()
4996 struct skb_shared_hwtstamps *hwtstamps) in skb_tstamp_tx() argument
4998 return __skb_tstamp_tx(orig_skb, NULL, hwtstamps, orig_skb->sk, in skb_tstamp_tx()
Dfilter.c9579 hwtstamps, 8, in bpf_convert_ctx_access()
/linux-6.1.9/drivers/net/can/usb/
Dgs_usb.c446 struct skb_shared_hwtstamps *hwtstamps = skb_hwtstamps(skb); in gs_usb_skb_set_timestamp() local
453 hwtstamps->hwtstamp = ns_to_ktime(ns); in gs_usb_skb_set_timestamp()
/linux-6.1.9/net/bpf/
Dtest_run.c1049 skb_shinfo(skb)->hwtstamps.hwtstamp = __skb->hwtstamp; in convert___skb_to_skb()
1069 __skb->hwtstamp = skb_shinfo(skb)->hwtstamps.hwtstamp; in convert_skb_to___skb()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dfec_main.c1365 struct skb_shared_hwtstamps *hwtstamps) in fec_enet_hwtstamp() argument
1374 memset(hwtstamps, 0, sizeof(*hwtstamps)); in fec_enet_hwtstamp()
1375 hwtstamps->hwtstamp = ns_to_ktime(ns); in fec_enet_hwtstamp()
/linux-6.1.9/include/net/
Dsock.h2691 struct skb_shared_hwtstamps *hwtstamps = skb_hwtstamps(skb); in sock_recv_timestamp() local
2702 (hwtstamps->hwtstamp && in sock_recv_timestamp()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2165 skb_shinfo(new_skb)->hwtstamps = skb_shinfo(skb)->hwtstamps; in dpaa_a050385_wa_skb()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dnetdev.c493 struct skb_shared_hwtstamps *hwtstamps, in e1000e_systim_to_hwtstamp() argument
503 memset(hwtstamps, 0, sizeof(*hwtstamps)); in e1000e_systim_to_hwtstamp()
504 hwtstamps->hwtstamp = ns_to_ktime(ns); in e1000e_systim_to_hwtstamp()
/linux-6.1.9/lib/
Dtest_bpf.c14645 skb_shinfo(skb[0])->hwtstamps.hwtstamp = 1000; in build_test_skb()