/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 141 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/ |
D | spectrum_ptp.c | 411 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/ |
D | i40e_ptp.c | 86 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/ |
D | igb_ptp.c | 161 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/ |
D | xgbe-drv.c | 1486 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/ |
D | sge.c | 3425 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/ |
D | lan743x_main.c | 2070 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/ |
D | fec_main.c | 1224 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/ |
D | dpaa_eth.c | 2126 skb_shinfo(new_skb)->hwtstamps = skb_shinfo(skb)->hwtstamps; in dpaa_a050385_wa()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 491 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()
|