Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/igc/
Digc_ptp.c141 struct skb_shared_hwtstamps *hwtstamps, in igc_ptp_systim_to_hwtstamp() argument
146 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igc_ptp_systim_to_hwtstamp()
148 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c411 struct skb_shared_hwtstamps *hwtstamps) in mlxsw_sp1_ptp_packet_finish() argument
426 if (hwtstamps) in mlxsw_sp1_ptp_packet_finish()
427 *skb_hwtstamps(skb) = *hwtstamps; in mlxsw_sp1_ptp_packet_finish()
431 skb_tstamp_tx(skb, hwtstamps); in mlxsw_sp1_ptp_packet_finish()
441 struct skb_shared_hwtstamps hwtstamps; in mlxsw_sp1_packet_timestamp() local
448 hwtstamps.hwtstamp = ns_to_ktime(nsec); in mlxsw_sp1_packet_timestamp()
450 key.local_port, key.ingress, &hwtstamps); in mlxsw_sp1_packet_timestamp()
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c86 static void i40e_ptp_convert_to_hwtstamp(struct skb_shared_hwtstamps *hwtstamps, in i40e_ptp_convert_to_hwtstamp() argument
89 memset(hwtstamps, 0, sizeof(*hwtstamps)); in i40e_ptp_convert_to_hwtstamp()
91 hwtstamps->hwtstamp = ns_to_ktime(timestamp); in i40e_ptp_convert_to_hwtstamp()
/drivers/net/ethernet/intel/igb/
Digb_ptp.c161 struct skb_shared_hwtstamps *hwtstamps, in igb_ptp_systim_to_hwtstamp() argument
178 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igb_ptp_systim_to_hwtstamp()
179 hwtstamps->hwtstamp = ns_to_ktime(ns); in igb_ptp_systim_to_hwtstamp()
183 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igb_ptp_systim_to_hwtstamp()
185 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1486 struct skb_shared_hwtstamps hwtstamps; in xgbe_tx_tstamp() local
1498 memset(&hwtstamps, 0, sizeof(hwtstamps)); in xgbe_tx_tstamp()
1499 hwtstamps.hwtstamp = ns_to_ktime(nsec); in xgbe_tx_tstamp()
1500 skb_tstamp_tx(pdata->tx_tstamp_skb, &hwtstamps); in xgbe_tx_tstamp()
2505 struct skb_shared_hwtstamps *hwtstamps; in xgbe_rx_poll() local
2662 hwtstamps = skb_hwtstamps(skb); in xgbe_rx_poll()
2663 hwtstamps->hwtstamp = ns_to_ktime(nsec); in xgbe_rx_poll()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c3425 struct skb_shared_hwtstamps *hwtstamps, in cxgb4_sgetim_to_hwtstamp() argument
3433 memset(hwtstamps, 0, sizeof(*hwtstamps)); in cxgb4_sgetim_to_hwtstamp()
3434 hwtstamps->hwtstamp = ns_to_ktime(ns); in cxgb4_sgetim_to_hwtstamp()
3499 struct skb_shared_hwtstamps *hwtstamps; in t4_systim_to_hwstamp() local
3515 hwtstamps = skb_hwtstamps(skb); in t4_systim_to_hwstamp()
3516 memset(hwtstamps, 0, sizeof(*hwtstamps)); in t4_systim_to_hwstamp()
3517 hwtstamps->hwtstamp = ns_to_ktime(get_unaligned_be64(data)); in t4_systim_to_hwstamp()
/drivers/net/ethernet/microchip/
Dlan743x_main.c2070 struct skb_shared_hwtstamps *hwtstamps = NULL; in lan743x_rx_process_packet() local
2229 hwtstamps = skb_hwtstamps(skb); in lan743x_rx_process_packet()
2230 if (hwtstamps) in lan743x_rx_process_packet()
2231 hwtstamps->hwtstamp = ktime_set(ts_sec, ts_nsec); in lan743x_rx_process_packet()
/drivers/net/ethernet/freescale/
Dfec_main.c1224 struct skb_shared_hwtstamps *hwtstamps) in fec_enet_hwtstamp() argument
1233 memset(hwtstamps, 0, sizeof(*hwtstamps)); in fec_enet_hwtstamp()
1234 hwtstamps->hwtstamp = ns_to_ktime(ns); in fec_enet_hwtstamp()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2126 skb_shinfo(new_skb)->hwtstamps = skb_shinfo(skb)->hwtstamps; in dpaa_a050385_wa()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c491 struct skb_shared_hwtstamps *hwtstamps, in e1000e_systim_to_hwtstamp() argument
501 memset(hwtstamps, 0, sizeof(*hwtstamps)); in e1000e_systim_to_hwtstamp()
502 hwtstamps->hwtstamp = ns_to_ktime(ns); in e1000e_systim_to_hwtstamp()