Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c856 struct tx_ts_cmp *tscmp) in bnxt_tx_ts_cmp() argument
860 u32 opaque = tscmp->tx_ts_cmp_opaque; in bnxt_tx_ts_cmp()
867 ts = BNXT_GET_TX_TS_48B_NS(tscmp); in bnxt_tx_ts_cmp()
871 if (BNXT_TX_TS_ERR(tscmp)) { in bnxt_tx_ts_cmp()
874 le32_to_cpu(tscmp->tx_ts_cmp_flags_type), in bnxt_tx_ts_cmp()
875 le32_to_cpu(tscmp->tx_ts_cmp_errors_v)); in bnxt_tx_ts_cmp()
H A Dbnxt.h211 #define BNXT_GET_TX_TS_48B_NS(tscmp) \ argument
212 (le32_to_cpu((tscmp)->tx_ts_cmp_ts_ns_lo) | \
213 ((u64)(le32_to_cpu((tscmp)->tx_ts_cmp_flags_type) & \
216 #define BNXT_TX_TS_ERR(tscmp) \ argument
217 (((tscmp)->tx_ts_cmp_flags_type & cpu_to_le32(TX_TS_CMP_FLAGS_ERROR)) &&\
218 ((tscmp)->tx_ts_cmp_errors_v & cpu_to_le32(TX_TS_CMP_TS_INVALID_ERR)))