Path: blob/master/drivers/crypto/marvell/octeontx/otx_cptpf.h
26285 views
/* SPDX-License-Identifier: GPL-2.01* Marvell OcteonTX CPT driver2*3* Copyright (C) 2019 Marvell International Ltd.4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*/910#ifndef __OTX_CPTPF_H11#define __OTX_CPTPF_H1213#include <linux/types.h>14#include <linux/device.h>15#include "otx_cptpf_ucode.h"1617/*18* OcteonTX CPT device structure19*/20struct otx_cpt_device {21void __iomem *reg_base; /* Register start address */22struct pci_dev *pdev; /* Pci device handle */23struct otx_cpt_eng_grps eng_grps;/* Engine groups information */24struct list_head list;25u8 pf_type; /* PF type SE or AE */26u8 max_vfs; /* Maximum number of VFs supported by the CPT */27u8 vfs_enabled; /* Number of enabled VFs */28};2930void otx_cpt_mbox_intr_handler(struct otx_cpt_device *cpt, int mbx);31void otx_cpt_disable_all_cores(struct otx_cpt_device *cpt);3233#endif /* __OTX_CPTPF_H */343536