linux/drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ACPI_ACPI_THERMAL_H
#define __ACPI_ACPI_THERMAL_H

#include <asm/ioctl.h>

#define ACPI_THERMAL_MAGIC

#define ACPI_THERMAL_GET_TRT_LEN
#define ACPI_THERMAL_GET_ART_LEN
#define ACPI_THERMAL_GET_TRT_COUNT
#define ACPI_THERMAL_GET_ART_COUNT

#define ACPI_THERMAL_GET_TRT
#define ACPI_THERMAL_GET_ART

/*
 * ACPI_THERMAL_GET_PSVT_COUNT = Number of PSVT entries
 * ACPI_THERMAL_GET_PSVT_LEN = Total return data size (PSVT count x each
 * PSVT entry size)
 * ACPI_THERMAL_GET_PSVT = Get the data as an array of psvt_objects
 */
#define ACPI_THERMAL_GET_PSVT_LEN
#define ACPI_THERMAL_GET_PSVT_COUNT
#define ACPI_THERMAL_GET_PSVT

struct art {} __packed;

struct trt {} __packed;

#define ACPI_NR_PSVT_ELEMENTS
#define ACPI_PSVT_CONTROL_KNOB
#define ACPI_LIMIT_STR_MAX_LEN

struct psvt {} __packed;

#define ACPI_NR_ART_ELEMENTS
/* for usrspace */
art_object;

trt_object;

psvt_object;

#ifdef __KERNEL__
int acpi_thermal_rel_misc_device_add(acpi_handle handle);
int acpi_thermal_rel_misc_device_remove(acpi_handle handle);
int acpi_parse_art(acpi_handle handle, int *art_count, struct art **arts,
		bool create_dev);
int acpi_parse_trt(acpi_handle handle, int *trt_count, struct trt **trts,
		bool create_dev);
#endif

#endif /* __ACPI_ACPI_THERMAL_H */