Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c539 struct skb_shared_hwtstamps shhwtstamp; in stmmac_get_tx_hwtstamp() local
561 memset(&shhwtstamp, 0, sizeof(struct skb_shared_hwtstamps)); in stmmac_get_tx_hwtstamp()
562 shhwtstamp.hwtstamp = ns_to_ktime(ns); in stmmac_get_tx_hwtstamp()
566 skb_tstamp_tx(skb, &shhwtstamp); in stmmac_get_tx_hwtstamp()
582 struct skb_shared_hwtstamps *shhwtstamp = NULL; in stmmac_get_rx_hwtstamp() local
599 shhwtstamp = skb_hwtstamps(skb); in stmmac_get_rx_hwtstamp()
600 memset(shhwtstamp, 0, sizeof(struct skb_shared_hwtstamps)); in stmmac_get_rx_hwtstamp()
601 shhwtstamp->hwtstamp = ns_to_ktime(ns); in stmmac_get_rx_hwtstamp()