#include <linux/cpumask.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci_regs.h>
#include <linux/vmalloc.h>
#include <linux/pci.h>
#include "nitrox_dev.h"
#include "nitrox_common.h"
#include "nitrox_req.h"
#include "nitrox_csr.h"
#define CRYPTO_CTX_SIZE …
#define PKTIN_Q_ALIGN_BYTES …
#define AQM_Q_ALIGN_BYTES …
static int nitrox_cmdq_init(struct nitrox_cmdq *cmdq, int align_bytes)
{ … }
static void nitrox_cmdq_reset(struct nitrox_cmdq *cmdq)
{ … }
static void nitrox_cmdq_cleanup(struct nitrox_cmdq *cmdq)
{ … }
static void nitrox_free_aqm_queues(struct nitrox_device *ndev)
{ … }
static int nitrox_alloc_aqm_queues(struct nitrox_device *ndev)
{ … }
static void nitrox_free_pktin_queues(struct nitrox_device *ndev)
{ … }
static int nitrox_alloc_pktin_queues(struct nitrox_device *ndev)
{ … }
static int create_crypto_dma_pool(struct nitrox_device *ndev)
{ … }
static void destroy_crypto_dma_pool(struct nitrox_device *ndev)
{ … }
void *crypto_alloc_context(struct nitrox_device *ndev)
{ … }
void crypto_free_context(void *ctx)
{ … }
int nitrox_common_sw_init(struct nitrox_device *ndev)
{ … }
void nitrox_common_sw_cleanup(struct nitrox_device *ndev)
{ … }