linux/drivers/platform/x86/dell/dell-wmi-sysman/biosattr-interface.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Functions corresponding to SET methods under BIOS attributes interface GUID for use
 * with dell-wmi-sysman
 *
 *  Copyright (c) 2020 Dell Inc.
 */

#include <linux/wmi.h>
#include "dell-wmi-sysman.h"

#define SETDEFAULTVALUES_METHOD_ID
#define SETBIOSDEFAULTS_METHOD_ID
#define SETATTRIBUTE_METHOD_ID

static int call_biosattributes_interface(struct wmi_device *wdev, char *in_args, size_t size,
					int method_id)
{}

/**
 * set_attribute() - Update an attribute value
 * @a_name: The attribute name
 * @a_value: The attribute value
 *
 * Sets an attribute to new value
 */
int set_attribute(const char *a_name, const char *a_value)
{}

/**
 * set_bios_defaults() - Resets BIOS defaults
 * @deftype: the type of BIOS value reset to issue.
 *
 * Resets BIOS defaults
 */
int set_bios_defaults(u8 deftype)
{}

static int bios_attr_set_interface_probe(struct wmi_device *wdev, const void *context)
{}

static void bios_attr_set_interface_remove(struct wmi_device *wdev)
{}

static const struct wmi_device_id bios_attr_set_interface_id_table[] =;
static struct wmi_driver bios_attr_set_interface_driver =;

int init_bios_attr_set_interface(void)
{}

void exit_bios_attr_set_interface(void)
{}

MODULE_DEVICE_TABLE(wmi, bios_attr_set_interface_id_table);