linux/drivers/staging/media/atomisp/pci/hive_types.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 _HRT_HIVE_TYPES_H
#define _HRT_HIVE_TYPES_H

#include "version.h"

/* boolean data type */
hive_bool;
#define hive_false
#define hive_true

hive_int8;
hive_int16;
hive_int32;
hive_int64;

hive_uint8;
hive_uint16;
hive_uint32;
hive_uint64;

#define HRT_DATA_WIDTH
#define HRT_ADDRESS_WIDTH
#define HRT_DATA_BYTES
#define HRT_ADDRESS_BYTES
#define SIZEOF_HRT_REG

hrt_data;
hrt_address;

/* use 64 bit addresses in simulation, where possible */
hive_sim_address;

/* below is for csim, not for hrt, rename and move this elsewhere */

hive_uint;
hive_address;
hive_slave_address;
hive_mem_address;

/* MMIO devices */
hive_mmio_id;
hive_slave_id;
hive_port_id;
hive_master_id;
hive_mem_id;
hive_dev_id;
hive_fifo_id;

hive_hier_id;
hive_device_id;
hive_proc_id;
hive_cell_id;
hive_host_id;
hive_bus_id;
hive_bridge_id;
hive_fifo_adapter_id;
hive_custom_device_id;

hive_slot_id;
hive_fu_id;
hive_reg_file_id;
hive_reg_id;

/* Streaming devices */
hive_outport_id;
hive_inport_id;

hive_msink_id;

/* HRT specific */
hive_program;
hive_function;

#endif /* _HRT_HIVE_TYPES_H */