Lines Matching refs:cqe
111 static inline u32 mlxsw_pci_cqe_##name##_get(enum mlxsw_pci_cqe_v v, char *cqe) \
116 return mlxsw_pci_cqe##v0##_##name##_get(cqe); \
118 return mlxsw_pci_cqe##v1##_##name##_get(cqe); \
120 return mlxsw_pci_cqe##v2##_##name##_get(cqe); \
124 char *cqe, u32 val) \
129 mlxsw_pci_cqe##v0##_##name##_set(cqe, val); \
132 mlxsw_pci_cqe##v1##_##name##_set(cqe, val); \
135 mlxsw_pci_cqe##v2##_##name##_set(cqe, val); \
153 MLXSW_ITEM32(pci, cqe, system_port, 0x00, 0, 16);
164 MLXSW_ITEM32(pci, cqe, wqe_counter, 0x04, 16, 16);
171 MLXSW_ITEM32(pci, cqe, byte_count, 0x04, 0, 14);
185 MLXSW_ITEM32(pci, cqe, trap_id, 0x08, 0, 10);
281 static inline u16 mlxsw_pci_cqe2_mirror_cong_get(const char *cqe) in mlxsw_pci_cqe2_mirror_cong_get() argument
283 u16 cong_high = mlxsw_pci_cqe2_mirror_cong_high_get(cqe); in mlxsw_pci_cqe2_mirror_cong_get()
284 u16 cong_low = mlxsw_pci_cqe2_mirror_cong_low_get(cqe); in mlxsw_pci_cqe2_mirror_cong_get()
338 static inline u64 mlxsw_pci_cqe2_time_stamp_get(const char *cqe) in mlxsw_pci_cqe2_time_stamp_get() argument
340 u64 ts_high = mlxsw_pci_cqe2_time_stamp_high_get(cqe); in mlxsw_pci_cqe2_time_stamp_get()
341 u64 ts_low = mlxsw_pci_cqe2_time_stamp_low_get(cqe); in mlxsw_pci_cqe2_time_stamp_get()
346 static inline u8 mlxsw_pci_cqe2_time_stamp_sec_get(const char *cqe) in mlxsw_pci_cqe2_time_stamp_sec_get() argument
348 u64 full_ts = mlxsw_pci_cqe2_time_stamp_get(cqe); in mlxsw_pci_cqe2_time_stamp_sec_get()
353 static inline u32 mlxsw_pci_cqe2_time_stamp_nsec_get(const char *cqe) in mlxsw_pci_cqe2_time_stamp_nsec_get() argument
355 u64 full_ts = mlxsw_pci_cqe2_time_stamp_get(cqe); in mlxsw_pci_cqe2_time_stamp_nsec_get()