Lines Matching refs:hwts
276 struct nxp_c45_hwts *hwts);
500 struct nxp_c45_hwts *hwts)
502 ts->tv_nsec = hwts->nsec;
503 if ((ts->tv_sec & TS_SEC_MASK) < (hwts->sec & TS_SEC_MASK))
506 ts->tv_sec |= hwts->sec & TS_SEC_MASK;
510 struct nxp_c45_hwts *hwts,
513 return ntohs(header->sequence_id) == hwts->sequence_id &&
514 ptp_get_msgtype(header, type) == hwts->msg_type &&
515 header->domain_number == hwts->domain_number;
583 struct nxp_c45_hwts *hwts)
588 hwts->domain_number =
590 hwts->msg_type =
592 hwts->sequence_id =
594 hwts->nsec =
596 hwts->nsec |=
598 hwts->sec = nxp_c45_read_reg_field(phydev, ®map->sec_1_0);
599 hwts->sec |= nxp_c45_read_reg_field(phydev, ®map->sec_4_2) << 2;
603 struct nxp_c45_hwts *hwts)
616 nxp_c45_read_egress_ts(priv, hwts);
634 struct nxp_c45_hwts *hwts)
658 nxp_c45_read_egress_ts(priv, hwts);
708 struct nxp_c45_hwts hwts;
716 ts_valid = data->get_egressts(priv, &hwts);
723 nxp_c45_process_txts(priv, &hwts);
729 hwts.sec = ts_raw >> 30;
730 hwts.nsec = ts_raw & GENMASK(29, 0);
731 nxp_c45_reconstruct_ts(&ts, &hwts);
1265 struct nxp_c45_hwts hwts;
1285 while (data->get_egressts(priv, &hwts))
1286 nxp_c45_process_txts(priv, &hwts);