linux/drivers/platform/x86/ideapad-laptop.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  ideapad-laptop.h - Lenovo IdeaPad ACPI Extras
 *
 *  Copyright © 2010 Intel Corporation
 *  Copyright © 2010 David Woodhouse <[email protected]>
 */

#ifndef _IDEAPAD_LAPTOP_H_
#define _IDEAPAD_LAPTOP_H_

#include <linux/acpi.h>
#include <linux/jiffies.h>
#include <linux/errno.h>

enum {};

static inline int eval_int_with_arg(acpi_handle handle, const char *name, unsigned long arg, unsigned long *res)
{}

static inline int eval_vpcr(acpi_handle handle, unsigned long cmd, unsigned long *res)
{}

static inline int eval_vpcw(acpi_handle handle, unsigned long cmd, unsigned long data)
{}

#define IDEAPAD_EC_TIMEOUT

static inline int read_ec_data(acpi_handle handle, unsigned long cmd, unsigned long *data)
{}

static inline int write_ec_cmd(acpi_handle handle, unsigned long cmd, unsigned long data)
{}

#undef IDEAPAD_EC_TIMEOUT
#endif /* !_IDEAPAD_LAPTOP_H_ */