Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c815 struct tx_ts_cmp *tscmp) in bnxt_tx_ts_cmp() argument
819 u32 opaque = tscmp->tx_ts_cmp_opaque; in bnxt_tx_ts_cmp()
826 ts = BNXT_GET_TX_TS_48B_NS(tscmp); in bnxt_tx_ts_cmp()
830 if (BNXT_TX_TS_ERR(tscmp)) { in bnxt_tx_ts_cmp()
833 le32_to_cpu(tscmp->tx_ts_cmp_flags_type), in bnxt_tx_ts_cmp()
834 le32_to_cpu(tscmp->tx_ts_cmp_errors_v)); in bnxt_tx_ts_cmp()
H A Dbnxt_ptp.h178 struct tx_ts_cmp *tscmp);
H A Dbnxt.h201 #define BNXT_GET_TX_TS_48B_NS(tscmp) \ argument
202 (le32_to_cpu((tscmp)->tx_ts_cmp_ts_ns_lo) | \
203 ((u64)(le32_to_cpu((tscmp)->tx_ts_cmp_flags_type) & \
206 #define BNXT_TX_TS_ERR(tscmp) \ argument
207 (((tscmp)->tx_ts_cmp_flags_type & cpu_to_le32(TX_TS_CMP_FLAGS_ERROR)) &&\
208 ((tscmp)->tx_ts_cmp_errors_v & cpu_to_le32(TX_TS_CMP_TS_INVALID_ERR)))