Lines Matching refs:p_info
2543 const struct netcp_packet *p_info) in gbe_need_txtstamp() argument
2545 struct sk_buff *skb = p_info->skb; in gbe_need_txtstamp()
2551 struct netcp_packet *p_info) in gbe_txtstamp_mark_pkt() argument
2553 struct phy_device *phydev = p_info->skb->dev->phydev; in gbe_txtstamp_mark_pkt()
2556 if (!(skb_shinfo(p_info->skb)->tx_flags & SKBTX_HW_TSTAMP) || in gbe_txtstamp_mark_pkt()
2565 skb_shinfo(p_info->skb)->tx_flags |= SKBTX_IN_PROGRESS; in gbe_txtstamp_mark_pkt()
2569 if (gbe_need_txtstamp(gbe_intf, p_info)) { in gbe_txtstamp_mark_pkt()
2570 p_info->txtstamp = gbe_txtstamp; in gbe_txtstamp_mark_pkt()
2571 p_info->ts_context = (void *)gbe_intf; in gbe_txtstamp_mark_pkt()
2572 skb_shinfo(p_info->skb)->tx_flags |= SKBTX_IN_PROGRESS; in gbe_txtstamp_mark_pkt()
2578 static int gbe_rxtstamp(struct gbe_intf *gbe_intf, struct netcp_packet *p_info) in gbe_rxtstamp() argument
2580 struct phy_device *phydev = p_info->skb->dev->phydev; in gbe_rxtstamp()
2583 if (p_info->rxtstamp_complete) in gbe_rxtstamp()
2587 p_info->rxtstamp_complete = true; in gbe_rxtstamp()
2592 cpts_rx_timestamp(gbe_dev->cpts, p_info->skb); in gbe_rxtstamp()
2594 p_info->rxtstamp_complete = true; in gbe_rxtstamp()
2728 struct netcp_packet *p_info) in gbe_txtstamp_mark_pkt() argument
2734 struct netcp_packet *p_info) in gbe_rxtstamp() argument
2872 static int gbe_txhook(int order, void *data, struct netcp_packet *p_info) in gbe_txhook() argument
2876 p_info->tx_pipe = &gbe_intf->tx_pipe; in gbe_txhook()
2878 return gbe_txtstamp_mark_pkt(gbe_intf, p_info); in gbe_txhook()
2881 static int gbe_rxhook(int order, void *data, struct netcp_packet *p_info) in gbe_rxhook() argument
2885 return gbe_rxtstamp(gbe_intf, p_info); in gbe_rxhook()