linux/drivers/crypto/intel/qat/qat_common/adf_pfvf_utils.c

// SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
/* Copyright(c) 2021 Intel Corporation */
#include <linux/crc8.h>
#include <linux/pci.h>
#include <linux/types.h>
#include "adf_accel_devices.h"
#include "adf_pfvf_msg.h"
#include "adf_pfvf_utils.h"

/* CRC Calculation */
DECLARE_CRC8_TABLE(pfvf_crc8_table);
#define ADF_PFVF_CRC8_POLYNOMIAL

void adf_pfvf_crc_init(void)
{}

u8 adf_pfvf_calc_blkmsg_crc(u8 const *buf, u8 buf_len)
{}

static bool set_value_on_csr_msg(struct adf_accel_dev *accel_dev, u32 *csr_msg,
				 u32 value, const struct pfvf_field_format *fmt)
{}

u32 adf_pfvf_csr_msg_of(struct adf_accel_dev *accel_dev,
			struct pfvf_message msg,
			const struct pfvf_csr_format *fmt)
{}

struct pfvf_message adf_pfvf_message_of(struct adf_accel_dev *accel_dev, u32 csr_msg,
					const struct pfvf_csr_format *fmt)
{}