#include "gaudiP.h"
#include "../include/gaudi/asic_reg/gaudi_regs.h"
#define GAUDI_NUMBER_OF_LBW_RR_REGS …
#define GAUDI_NUMBER_OF_HBW_RR_REGS …
#define GAUDI_NUMBER_OF_LBW_RANGES …
static u64 gaudi_rr_lbw_hit_aw_regs[GAUDI_NUMBER_OF_LBW_RR_REGS] = …;
static u64 gaudi_rr_lbw_hit_ar_regs[GAUDI_NUMBER_OF_LBW_RR_REGS] = …;
static u64 gaudi_rr_lbw_min_aw_regs[GAUDI_NUMBER_OF_LBW_RR_REGS] = …;
static u64 gaudi_rr_lbw_max_aw_regs[GAUDI_NUMBER_OF_LBW_RR_REGS] = …;
static u64 gaudi_rr_lbw_min_ar_regs[GAUDI_NUMBER_OF_LBW_RR_REGS] = …;
static u64 gaudi_rr_lbw_max_ar_regs[GAUDI_NUMBER_OF_LBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_hit_aw_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_hit_ar_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_base_low_aw_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_base_high_aw_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_mask_low_aw_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_mask_high_aw_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_base_low_ar_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_base_high_ar_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_mask_low_ar_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static u64 gaudi_rr_hbw_mask_high_ar_regs[GAUDI_NUMBER_OF_HBW_RR_REGS] = …;
static void gaudi_pb_set_block(struct hl_device *hdev, u64 base)
{ … }
static void gaudi_init_mme_protection_bits(struct hl_device *hdev)
{ … }
static void gaudi_init_dma_protection_bits(struct hl_device *hdev)
{ … }
static void gaudi_init_nic_protection_bits(struct hl_device *hdev)
{ … }
static void gaudi_init_tpc_protection_bits(struct hl_device *hdev)
{ … }
static void gaudi_init_protection_bits(struct hl_device *hdev)
{ … }
static void gaudi_init_range_registers_lbw(struct hl_device *hdev)
{ … }
static void gaudi_init_range_registers_hbw(struct hl_device *hdev)
{ … }
void gaudi_init_security(struct hl_device *hdev)
{ … }
void gaudi_ack_protection_bits_errors(struct hl_device *hdev)
{ … }