Home
last modified time | relevance | path

Searched refs:capts (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c419 struct bcm_ptp_capture *capts) in bcm_ptp_get_tstamp() argument
444 capts->msgtype = reg >> 12; in bcm_ptp_get_tstamp()
445 capts->tx_dir = !!(reg & BIT(11)); in bcm_ptp_get_tstamp()
454 capts->hwtstamp = ktime_set(sec, nsec); in bcm_ptp_get_tstamp()
460 struct bcm_ptp_capture *capts) in bcm_ptp_match_tstamp() argument
470 if (BCM_SKB_CB(skb)->seq_id == capts->seq_id && in bcm_ptp_match_tstamp()
471 BCM_SKB_CB(skb)->msgtype == capts->msgtype) { in bcm_ptp_match_tstamp()
486 hwts.hwtstamp = capts->hwtstamp; in bcm_ptp_match_tstamp()
506 struct bcm_ptp_capture capts; in bcm_ptp_do_aux_work() local
510 if (!bcm_ptp_get_tstamp(priv, &capts)) { in bcm_ptp_do_aux_work()
[all …]