linux/drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf_comm.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 _IA_CSS_CIRCBUF_COMM_H
#define _IA_CSS_CIRCBUF_COMM_H

#include <linux/build_bug.h>

#include <type_support.h>  /* uint8_t, uint32_t */

#define IA_CSS_CIRCBUF_PADDING

/****************************************************************
 *
 * Portable Data structures
 *
 ****************************************************************/
/**
 * @brief Data structure for the circular descriptor.
 */
ia_css_circbuf_desc_t;
struct ia_css_circbuf_desc_s {};

#define SIZE_OF_IA_CSS_CIRCBUF_DESC_S_STRUCT

static_assert();

/**
 * @brief Data structure for the circular buffer element.
 */
ia_css_circbuf_elem_t;
struct ia_css_circbuf_elem_s {};

#define SIZE_OF_IA_CSS_CIRCBUF_ELEM_S_STRUCT

static_assert();

#endif /*_IA_CSS_CIRCBUF_COMM_H*/