linux/drivers/accel/habanalabs/include/gaudi/gaudi_fw_if.h

/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright 2019-2020 HabanaLabs, Ltd.
 * All Rights Reserved.
 *
 */

#ifndef GAUDI_FW_IF_H
#define GAUDI_FW_IF_H

#define GAUDI_EVENT_QUEUE_MSI_IDX
#define GAUDI_NIC_PORT1_MSI_IDX
#define GAUDI_NIC_PORT3_MSI_IDX
#define GAUDI_NIC_PORT5_MSI_IDX
#define GAUDI_NIC_PORT7_MSI_IDX
#define GAUDI_NIC_PORT9_MSI_IDX

#define UBOOT_FW_OFFSET
#define LINUX_FW_OFFSET

/* HBM thermal delta in [Deg] added to composite (CTemp) */
#define HBM_TEMP_ADJUST_COEFF

enum gaudi_nic_axi_error {};

/*
 * struct eq_nic_sei_event - describes an AXI error cause.
 * @axi_error_cause: one of the events defined in enum gaudi_nic_axi_error.
 * @id: can be either 0 or 1, to further describe unit with interrupt cause
 *      (i.e. TXE0 or TXE1).
 * @pad[6]: padding structure to 64bit.
 */
struct eq_nic_sei_event {};

struct gaudi_cold_rst_data {};

#define GAUDI_PLL_FREQ_LOW

#endif /* GAUDI_FW_IF_H */