Searched refs:shhwtstamp (Results 1 – 1 of 1) sorted by relevance
347 struct skb_shared_hwtstamps shhwtstamp; in stmmac_get_tx_hwtstamp() local370 memset(&shhwtstamp, 0, sizeof(struct skb_shared_hwtstamps)); in stmmac_get_tx_hwtstamp()371 shhwtstamp.hwtstamp = ns_to_ktime(ns); in stmmac_get_tx_hwtstamp()373 skb_tstamp_tx(skb, &shhwtstamp); in stmmac_get_tx_hwtstamp()389 struct skb_shared_hwtstamps *shhwtstamp = NULL; in stmmac_get_rx_hwtstamp() local407 shhwtstamp = skb_hwtstamps(skb); in stmmac_get_rx_hwtstamp()408 memset(shhwtstamp, 0, sizeof(struct skb_shared_hwtstamps)); in stmmac_get_rx_hwtstamp()409 shhwtstamp->hwtstamp = ns_to_ktime(ns); in stmmac_get_rx_hwtstamp()