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.c837 struct tx_ts_cmp *tscmp) in bnxt_tx_ts_cmp() argument
841 u32 opaque = tscmp->tx_ts_cmp_opaque; in bnxt_tx_ts_cmp()
848 ts = BNXT_GET_TX_TS_48B_NS(tscmp); in bnxt_tx_ts_cmp()
852 if (BNXT_TX_TS_ERR(tscmp)) { in bnxt_tx_ts_cmp()
855 le32_to_cpu(tscmp->tx_ts_cmp_flags_type), in bnxt_tx_ts_cmp()
856 le32_to_cpu(tscmp->tx_ts_cmp_errors_v)); in bnxt_tx_ts_cmp()
H A Dbnxt.h213 #define BNXT_GET_TX_TS_48B_NS(tscmp) \ argument
214 (le32_to_cpu((tscmp)->tx_ts_cmp_ts_ns_lo) | \
215 ((u64)(le32_to_cpu((tscmp)->tx_ts_cmp_flags_type) & \
218 #define BNXT_TX_TS_ERR(tscmp) \ argument
219 (((tscmp)->tx_ts_cmp_flags_type & cpu_to_le32(TX_TS_CMP_FLAGS_ERROR)) &&\
220 ((tscmp)->tx_ts_cmp_errors_v & cpu_to_le32(TX_TS_CMP_TS_INVALID_ERR)))