Lines Matching refs:ts_info
916 struct rswitch_gwca_ts_info *ts_info, *ts_info2; in rswitch_ts() local
930 list_for_each_entry_safe(ts_info, ts_info2, &priv->gwca.ts_info_list, list) { in rswitch_ts()
931 if (!(ts_info->port == port && ts_info->tag == tag)) in rswitch_ts()
938 skb_tstamp_tx(ts_info->skb, &shhwtstamps); in rswitch_ts()
939 dev_consume_skb_irq(ts_info->skb); in rswitch_ts()
940 list_del(&ts_info->list); in rswitch_ts()
941 kfree(ts_info); in rswitch_ts()
1472 struct rswitch_gwca_ts_info *ts_info, *ts_info2; in rswitch_stop() local
1481 list_for_each_entry_safe(ts_info, ts_info2, &rdev->priv->gwca.ts_info_list, list) { in rswitch_stop()
1482 if (ts_info->port != rdev->port) in rswitch_stop()
1484 dev_kfree_skb_irq(ts_info->skb); in rswitch_stop()
1485 list_del(&ts_info->list); in rswitch_stop()
1486 kfree(ts_info); in rswitch_stop()
1528 struct rswitch_gwca_ts_info *ts_info; in rswitch_start_xmit() local
1530 ts_info = kzalloc(sizeof(*ts_info), GFP_ATOMIC); in rswitch_start_xmit()
1531 if (!ts_info) in rswitch_start_xmit()
1538 ts_info->skb = skb_get(skb); in rswitch_start_xmit()
1539 ts_info->port = rdev->port; in rswitch_start_xmit()
1540 ts_info->tag = rdev->ts_tag; in rswitch_start_xmit()
1541 list_add_tail(&ts_info->list, &rdev->priv->gwca.ts_info_list); in rswitch_start_xmit()