linux/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib_common.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *  Copyright (C) 2017 Chelsio Communications.  All rights reserved.
 */

#ifndef __CUDBG_LIB_COMMON_H__
#define __CUDBG_LIB_COMMON_H__

#define CUDBG_SIGNATURE

enum cudbg_dump_type {};

enum cudbg_compression_type {};

struct cudbg_hdr {};

struct cudbg_entity_hdr {};

struct cudbg_ver_hdr {};

struct cudbg_buffer {};

struct cudbg_error {};

#define CDUMP_MAX_COMP_BUF_SIZE
#define CUDBG_CHUNK_SIZE

int cudbg_get_buff(struct cudbg_init *pdbg_init,
		   struct cudbg_buffer *pdbg_buff, u32 size,
		   struct cudbg_buffer *pin_buff);
void cudbg_put_buff(struct cudbg_init *pdbg_init,
		    struct cudbg_buffer *pin_buff);
void cudbg_update_buff(struct cudbg_buffer *pin_buff,
		       struct cudbg_buffer *pout_buff);
#endif /* __CUDBG_LIB_COMMON_H__ */