// SPDX-License-Identifier: GPL-2.0 /* Marvell RVU Admin Function driver * * Copyright (C) 2018 Marvell. * */ #include <linux/module.h> #include <linux/pci.h> #include "rvu_struct.h" #include "common.h" #include "mbox.h" #include "rvu.h" struct reg_range { … }; struct hw_reg_map { … }; static struct hw_reg_map txsch_reg_map[NIX_TXSCH_LVL_CNT] = …; bool rvu_check_valid_reg(int regmap, int regblk, u64 reg) { … }