Lines Matching refs:rx_ts

369 				   struct mchp_rds_ptp_rx_ts *rx_ts)  in mchp_rds_ptp_match_skb()  argument
382 if (skb_sig != rx_ts->seq_id) in mchp_rds_ptp_match_skb()
394 shhwtstamps->hwtstamp = ktime_set(rx_ts->seconds, rx_ts->nsec); in mchp_rds_ptp_match_skb()
402 struct mchp_rds_ptp_rx_ts *rx_ts) in mchp_rds_ptp_match_rx_ts() argument
409 if (!mchp_rds_ptp_match_skb(clock, rx_ts)) { in mchp_rds_ptp_match_rx_ts()
411 list_add(&rx_ts->list, &clock->rx_ts_list); in mchp_rds_ptp_match_rx_ts()
414 kfree(rx_ts); in mchp_rds_ptp_match_rx_ts()
421 struct mchp_rds_ptp_rx_ts *rx_ts, *tmp, *rx_ts_var = NULL; in mchp_rds_ptp_match_rx_skb() local
431 list_for_each_entry_safe(rx_ts, tmp, &clock->rx_ts_list, list) { in mchp_rds_ptp_match_rx_skb()
433 if (skb_sig != rx_ts->seq_id) in mchp_rds_ptp_match_rx_skb()
437 shhwtstamps->hwtstamp = ktime_set(rx_ts->seconds, rx_ts->nsec); in mchp_rds_ptp_match_rx_skb()
440 rx_ts_var = rx_ts; in mchp_rds_ptp_match_rx_skb()
486 struct mchp_rds_ptp_rx_ts *rx_ts, *tmp; in mchp_rds_ptp_hwtstamp() local
573 list_for_each_entry_safe(rx_ts, tmp, &clock->rx_ts_list, list) { in mchp_rds_ptp_hwtstamp()
574 list_del(&rx_ts->list); in mchp_rds_ptp_hwtstamp()
575 kfree(rx_ts); in mchp_rds_ptp_hwtstamp()
942 struct mchp_rds_ptp_rx_ts *rx_ts = NULL; in mchp_rds_ptp_get_rx_ts() local
979 rx_ts = kmalloc(sizeof(*rx_ts), GFP_KERNEL); in mchp_rds_ptp_get_rx_ts()
980 if (!rx_ts) in mchp_rds_ptp_get_rx_ts()
983 rx_ts->seconds = sec; in mchp_rds_ptp_get_rx_ts()
984 rx_ts->nsec = nsec; in mchp_rds_ptp_get_rx_ts()
985 rx_ts->seq_id = rc; in mchp_rds_ptp_get_rx_ts()
988 return rx_ts; in mchp_rds_ptp_get_rx_ts()
996 struct mchp_rds_ptp_rx_ts *rx_ts; in mchp_rds_ptp_process_rx_ts() local
998 rx_ts = mchp_rds_ptp_get_rx_ts(clock); in mchp_rds_ptp_process_rx_ts()
999 if (rx_ts) in mchp_rds_ptp_process_rx_ts()
1000 mchp_rds_ptp_match_rx_ts(clock, rx_ts); in mchp_rds_ptp_process_rx_ts()