#ifndef _HPIDEBUG_H
#define _HPIDEBUG_H
#include "hpi_internal.h"
enum { … };
#define HPI_DEBUG_LEVEL_DEFAULT …
#ifdef SOURCEFILE_NAME
#undef FILE_LINE
#define FILE_LINE …
#endif
#define HPI_DEBUG_ASSERT(expression) …
#define HPI_DEBUG_LOG(level, ...) …
void hpi_debug_init(void);
int hpi_debug_level_set(int level);
int hpi_debug_level_get(void);
extern int hpi_debug_level;
void hpi_debug_message(struct hpi_message *phm, char *sz_fileline);
void hpi_debug_data(u16 *pdata, u32 len);
#define HPI_DEBUG_DATA(pdata, len) …
#define HPI_DEBUG_MESSAGE(level, phm) …
#define HPI_DEBUG_RESPONSE(phr) …
#ifndef compile_time_assert
#define compile_time_assert …
#endif
#endif