Lines Matching refs:p_info
2547 const struct netcp_packet *p_info) in gbe_need_txtstamp() argument
2549 struct sk_buff *skb = p_info->skb; in gbe_need_txtstamp()
2555 struct netcp_packet *p_info) in gbe_txtstamp_mark_pkt() argument
2557 struct phy_device *phydev = p_info->skb->dev->phydev; in gbe_txtstamp_mark_pkt()
2560 if (!(skb_shinfo(p_info->skb)->tx_flags & SKBTX_HW_TSTAMP) || in gbe_txtstamp_mark_pkt()
2569 skb_shinfo(p_info->skb)->tx_flags |= SKBTX_IN_PROGRESS; in gbe_txtstamp_mark_pkt()
2573 if (gbe_need_txtstamp(gbe_intf, p_info)) { in gbe_txtstamp_mark_pkt()
2574 p_info->txtstamp = gbe_txtstamp; in gbe_txtstamp_mark_pkt()
2575 p_info->ts_context = (void *)gbe_intf; in gbe_txtstamp_mark_pkt()
2576 skb_shinfo(p_info->skb)->tx_flags |= SKBTX_IN_PROGRESS; in gbe_txtstamp_mark_pkt()
2582 static int gbe_rxtstamp(struct gbe_intf *gbe_intf, struct netcp_packet *p_info) in gbe_rxtstamp() argument
2584 struct phy_device *phydev = p_info->skb->dev->phydev; in gbe_rxtstamp()
2587 if (p_info->rxtstamp_complete) in gbe_rxtstamp()
2591 p_info->rxtstamp_complete = true; in gbe_rxtstamp()
2596 cpts_rx_timestamp(gbe_dev->cpts, p_info->skb); in gbe_rxtstamp()
2598 p_info->rxtstamp_complete = true; in gbe_rxtstamp()
2736 struct netcp_packet *p_info) in gbe_txtstamp_mark_pkt() argument
2742 struct netcp_packet *p_info) in gbe_rxtstamp() argument
2880 static int gbe_txhook(int order, void *data, struct netcp_packet *p_info) in gbe_txhook() argument
2884 p_info->tx_pipe = &gbe_intf->tx_pipe; in gbe_txhook()
2886 return gbe_txtstamp_mark_pkt(gbe_intf, p_info); in gbe_txhook()
2889 static int gbe_rxhook(int order, void *data, struct netcp_packet *p_info) in gbe_rxhook() argument
2893 return gbe_rxtstamp(gbe_intf, p_info); in gbe_rxhook()