#ifndef ADF_GEN4_HW_CSR_DATA_H_
#define ADF_GEN4_HW_CSR_DATA_H_
#include <linux/bitops.h>
#include "adf_accel_devices.h"
#define ADF_BANK_INT_SRC_SEL_MASK …
#define ADF_RING_CSR_RING_CONFIG …
#define ADF_RING_CSR_RING_LBASE …
#define ADF_RING_CSR_RING_UBASE …
#define ADF_RING_CSR_RING_HEAD …
#define ADF_RING_CSR_RING_TAIL …
#define ADF_RING_CSR_STAT …
#define ADF_RING_CSR_UO_STAT …
#define ADF_RING_CSR_E_STAT …
#define ADF_RING_CSR_NE_STAT …
#define ADF_RING_CSR_NF_STAT …
#define ADF_RING_CSR_F_STAT …
#define ADF_RING_CSR_C_STAT …
#define ADF_RING_CSR_INT_FLAG_EN …
#define ADF_RING_CSR_INT_FLAG …
#define ADF_RING_CSR_INT_SRCSEL …
#define ADF_RING_CSR_INT_COL_EN …
#define ADF_RING_CSR_INT_COL_CTL …
#define ADF_RING_CSR_INT_FLAG_AND_COL …
#define ADF_RING_CSR_EXP_STAT …
#define ADF_RING_CSR_EXP_INT_EN …
#define ADF_RING_CSR_INT_COL_CTL_ENABLE …
#define ADF_RING_CSR_ADDR_OFFSET …
#define ADF_RING_BUNDLE_SIZE …
#define ADF_RING_CSR_RING_SRV_ARB_EN …
#define BUILD_RING_BASE_ADDR(addr, size) …
#define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) …
#define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) …
#define READ_CSR_STAT(csr_base_addr, bank) …
#define READ_CSR_UO_STAT(csr_base_addr, bank) …
#define READ_CSR_E_STAT(csr_base_addr, bank) …
#define READ_CSR_NE_STAT(csr_base_addr, bank) …
#define READ_CSR_NF_STAT(csr_base_addr, bank) …
#define READ_CSR_F_STAT(csr_base_addr, bank) …
#define READ_CSR_C_STAT(csr_base_addr, bank) …
#define READ_CSR_EXP_STAT(csr_base_addr, bank) …
#define READ_CSR_EXP_INT_EN(csr_base_addr, bank) …
#define WRITE_CSR_EXP_INT_EN(csr_base_addr, bank, value) …
#define READ_CSR_RING_CONFIG(csr_base_addr, bank, ring) …
#define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) …
#define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) …
static inline u64 read_base(void __iomem *csr_base_addr, u32 bank, u32 ring)
{ … }
#define READ_CSR_RING_BASE(csr_base_addr, bank, ring) …
#define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) …
#define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) …
#define READ_CSR_INT_EN(csr_base_addr, bank) …
#define WRITE_CSR_INT_EN(csr_base_addr, bank, value) …
#define READ_CSR_INT_FLAG(csr_base_addr, bank) …
#define WRITE_CSR_INT_FLAG(csr_base_addr, bank, value) …
#define READ_CSR_INT_SRCSEL(csr_base_addr, bank) …
#define WRITE_CSR_INT_SRCSEL(csr_base_addr, bank) …
#define WRITE_CSR_INT_SRCSEL_W_VAL(csr_base_addr, bank, value) …
#define READ_CSR_INT_COL_EN(csr_base_addr, bank) …
#define WRITE_CSR_INT_COL_EN(csr_base_addr, bank, value) …
#define READ_CSR_INT_COL_CTL(csr_base_addr, bank) …
#define WRITE_CSR_INT_COL_CTL(csr_base_addr, bank, value) …
#define READ_CSR_INT_FLAG_AND_COL(csr_base_addr, bank) …
#define WRITE_CSR_INT_FLAG_AND_COL(csr_base_addr, bank, value) …
#define READ_CSR_RING_SRV_ARB_EN(csr_base_addr, bank) …
#define WRITE_CSR_RING_SRV_ARB_EN(csr_base_addr, bank, value) …
void adf_gen4_init_hw_csr_ops(struct adf_hw_csr_ops *csr_ops);
#endif