Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/igb/
Digb_ptp.c166 struct skb_shared_hwtstamps *hwtstamps, in igb_ptp_systim_to_hwtstamp() argument
183 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igb_ptp_systim_to_hwtstamp()
184 hwtstamps->hwtstamp = ns_to_ktime(ns); in igb_ptp_systim_to_hwtstamp()
188 memset(hwtstamps, 0, sizeof(*hwtstamps)); in igb_ptp_systim_to_hwtstamp()
190 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp()
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c105 static void i40e_ptp_convert_to_hwtstamp(struct skb_shared_hwtstamps *hwtstamps, in i40e_ptp_convert_to_hwtstamp() argument
108 memset(hwtstamps, 0, sizeof(*hwtstamps)); in i40e_ptp_convert_to_hwtstamp()
110 hwtstamps->hwtstamp = ns_to_ktime(timestamp); in i40e_ptp_convert_to_hwtstamp()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c798 struct skb_shared_hwtstamps hwtstamps; in xgbe_tx_tstamp() local
806 memset(&hwtstamps, 0, sizeof(hwtstamps)); in xgbe_tx_tstamp()
807 hwtstamps.hwtstamp = ns_to_ktime(nsec); in xgbe_tx_tstamp()
808 skb_tstamp_tx(pdata->tx_tstamp_skb, &hwtstamps); in xgbe_tx_tstamp()
1598 struct skb_shared_hwtstamps *hwtstamps; in xgbe_rx_poll() local
1732 hwtstamps = skb_hwtstamps(skb); in xgbe_rx_poll()
1733 hwtstamps->hwtstamp = ns_to_ktime(nsec); in xgbe_rx_poll()
/drivers/net/ethernet/freescale/
Dfec_main.c1170 struct skb_shared_hwtstamps *hwtstamps) in fec_enet_hwtstamp() argument
1179 memset(hwtstamps, 0, sizeof(*hwtstamps)); in fec_enet_hwtstamp()
1180 hwtstamps->hwtstamp = ns_to_ktime(ns); in fec_enet_hwtstamp()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c511 struct skb_shared_hwtstamps *hwtstamps, in e1000e_systim_to_hwtstamp() argument
521 memset(hwtstamps, 0, sizeof(*hwtstamps)); in e1000e_systim_to_hwtstamp()
522 hwtstamps->hwtstamp = ns_to_ktime(ns); in e1000e_systim_to_hwtstamp()