Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c859 struct tx_ts_cmp *tscmp) in bnxt_tx_ts_cmp() argument
863 u32 opaque = tscmp->tx_ts_cmp_opaque; in bnxt_tx_ts_cmp()
870 ts = BNXT_GET_TX_TS_48B_NS(tscmp); in bnxt_tx_ts_cmp()
874 if (BNXT_TX_TS_ERR(tscmp)) { in bnxt_tx_ts_cmp()
877 le32_to_cpu(tscmp->tx_ts_cmp_flags_type), in bnxt_tx_ts_cmp()
878 le32_to_cpu(tscmp->tx_ts_cmp_errors_v)); in bnxt_tx_ts_cmp()
H A Dbnxt_ptp.h170 struct tx_ts_cmp *tscmp);
H A Dbnxt.h210 #define BNXT_GET_TX_TS_48B_NS(tscmp) \ argument
211 (le32_to_cpu((tscmp)->tx_ts_cmp_ts_ns_lo) | \
212 ((u64)(le32_to_cpu((tscmp)->tx_ts_cmp_flags_type) & \
215 #define BNXT_TX_TS_ERR(tscmp) \ argument
216 (((tscmp)->tx_ts_cmp_flags_type & cpu_to_le32(TX_TS_CMP_FLAGS_ERROR)) &&\
217 ((tscmp)->tx_ts_cmp_errors_v & cpu_to_le32(TX_TS_CMP_TS_INVALID_ERR)))