/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017 Chelsio Communications. All rights reserved. */ #ifndef __CUDBG_IF_H__ #define __CUDBG_IF_H__ /* Error codes */ #define CUDBG_STATUS_NO_MEM … #define CUDBG_STATUS_ENTITY_NOT_FOUND … #define CUDBG_STATUS_NOT_IMPLEMENTED … #define CUDBG_SYSTEM_ERROR … #define CUDBG_STATUS_CCLK_NOT_DEFINED … #define CUDBG_STATUS_PARTIAL_DATA … #define CUDBG_MAJOR_VERSION … #define CUDBG_MINOR_VERSION … enum cudbg_dbg_entity_type { … }; struct cudbg_init { … }; static inline unsigned int cudbg_mbytes_to_bytes(unsigned int size) { … } #endif /* __CUDBG_IF_H__ */