linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/debug_global.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Support for Intel Camera Imaging ISP subsystem.
 * Copyright (c) 2015, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#ifndef __DEBUG_GLOBAL_H_INCLUDED__
#define __DEBUG_GLOBAL_H_INCLUDED__

#include <type_support.h>

#define DEBUG_BUF_SIZE
#define DEBUG_BUF_MASK

#define DEBUG_DATA_ENABLE_ADDR
#define DEBUG_DATA_BUF_MODE_ADDR
#define DEBUG_DATA_HEAD_ADDR
#define DEBUG_DATA_TAIL_ADDR
#define DEBUG_DATA_BUF_ADDR

#define DEBUG_DATA_ENABLE_DDR_ADDR
#define DEBUG_DATA_BUF_MODE_DDR_ADDR
#define DEBUG_DATA_HEAD_DDR_ADDR
#define DEBUG_DATA_TAIL_DDR_ADDR
#define DEBUG_DATA_BUF_DDR_ADDR

#define DEBUG_BUFFER_ISP_DMEM_ADDR

/*
 * The linear buffer mode will accept data until the first
 * overflow and then stop accepting new data
 * The circular buffer mode will accept if there is place
 * and discard the data if the buffer is full
 */
debug_buf_mode_t;

struct debug_data_s {};

/* thread.sp.c doesn't have a notion of HIVE_ISP_DDR_WORD_BYTES
   still one point of control is needed for debug purposes */

#ifdef HIVE_ISP_DDR_WORD_BYTES
struct debug_data_ddr_s {};
#endif

#endif /* __DEBUG_GLOBAL_H_INCLUDED__ */