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

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright(c) 2023 Intel Corporation */
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/string_helpers.h>
#include <linux/stringify.h>

#include "adf_accel_devices.h"
#include "adf_admin.h"
#include "adf_common_drv.h"
#include "adf_gen4_pm.h"
#include "icp_qat_fw_init_admin.h"

/*
 * This is needed because a variable is used to index the mask at
 * pm_scnprint_table(), making it not compile time constant, so the compile
 * asserts from FIELD_GET() or u32_get_bits() won't be fulfilled.
 */
#define field_get(_mask, _reg)

#define PM_INFO_MEMBER_OFF(member)

#define PM_INFO_REGSET_ENTRY_MASK(_reg_, _field_, _mask_)

#define PM_INFO_REGSET_ENTRY32(_reg_, _field_)

#define PM_INFO_REGSET_ENTRY(_reg_, _field_)

#define PM_INFO_MAX_KEY_LEN

struct pm_status_row {};

static struct pm_status_row pm_fuse_rows[] =;

static struct pm_status_row pm_info_rows[] =;

static struct pm_status_row pm_ssm_rows[] =;

static struct pm_status_row pm_log_rows[] =;

static struct pm_status_row pm_event_rows[ICP_QAT_NUMBER_OF_PM_EVENTS] =;

static struct pm_status_row pm_csrs_rows[] =;

static int pm_scnprint_table(char *buff, struct pm_status_row *table,
			     u32 *pm_info_regs, size_t buff_size, int table_len,
			     bool lowercase)
{}

static int pm_scnprint_table_upper_keys(char *buff, struct pm_status_row *table,
					u32 *pm_info_regs, size_t buff_size,
					int table_len)
{}

static int pm_scnprint_table_lower_keys(char *buff, struct pm_status_row *table,
					u32 *pm_info_regs, size_t buff_size,
					int table_len)
{}

static_assert();

static ssize_t adf_gen4_print_pm_status(struct adf_accel_dev *accel_dev,
					char __user *buf, size_t count,
					loff_t *pos)
{}

void adf_gen4_init_dev_pm_data(struct adf_accel_dev *accel_dev)
{}