linux/drivers/acpi/acpi_configfs.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ACPI configfs support
 *
 * Copyright (c) 2016 Intel Corporation
 */

#define pr_fmt(fmt)

#include <linux/init.h>
#include <linux/module.h>
#include <linux/configfs.h>
#include <linux/acpi.h>
#include <linux/security.h>

static struct config_group *acpi_table_group;

struct acpi_table {};

static ssize_t acpi_table_aml_write(struct config_item *cfg,
				    const void *data, size_t size)
{}

static inline struct acpi_table_header *get_header(struct config_item *cfg)
{}

static ssize_t acpi_table_aml_read(struct config_item *cfg,
				   void *data, size_t size)
{}

#define MAX_ACPI_TABLE_SIZE

CONFIGFS_BIN_ATTR();

static struct configfs_bin_attribute *acpi_table_bin_attrs[] =;

static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str)
{}

static ssize_t acpi_table_length_show(struct config_item *cfg, char *str)
{}

static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str)
{}

static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str)
{}

static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str)
{}

static ssize_t acpi_table_oem_revision_show(struct config_item *cfg, char *str)
{}

static ssize_t acpi_table_asl_compiler_id_show(struct config_item *cfg,
					       char *str)
{}

static ssize_t acpi_table_asl_compiler_revision_show(struct config_item *cfg,
						     char *str)
{}

CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();
CONFIGFS_ATTR_RO();

static struct configfs_attribute *acpi_table_attrs[] =;

static const struct config_item_type acpi_table_type =;

static struct config_item *acpi_table_make_item(struct config_group *group,
						const char *name)
{}

static void acpi_table_drop_item(struct config_group *group,
				 struct config_item *cfg)
{}

static struct configfs_group_operations acpi_table_group_ops =;

static const struct config_item_type acpi_tables_type =;

static const struct config_item_type acpi_root_group_type =;

static struct configfs_subsystem acpi_configfs =;

static int __init acpi_configfs_init(void)
{}
module_init();

static void __exit acpi_configfs_exit(void)
{}
module_exit(acpi_configfs_exit);

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();