Lines Matching refs:capts
419 struct bcm_ptp_capture *capts)
441 capts->seq_id = bcm_phy_read_exp(priv->phydev, TS_INFO_0);
444 capts->msgtype = reg >> 12;
445 capts->tx_dir = !!(reg & BIT(11));
454 capts->hwtstamp = ktime_set(sec, nsec);
460 struct bcm_ptp_capture *capts)
470 if (BCM_SKB_CB(skb)->seq_id == capts->seq_id &&
471 BCM_SKB_CB(skb)->msgtype == capts->msgtype) {
486 hwts.hwtstamp = capts->hwtstamp;
506 struct bcm_ptp_capture capts;
510 if (!bcm_ptp_get_tstamp(priv, &capts)) {
514 bcm_ptp_match_tstamp(priv, &capts);