Cross Reference: intel_acpi.h
xref: /src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.h
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/external/bsd/drm2/dist/drm/i915/display/
11.5Sriastrad/*	$NetBSD: intel_acpi.h,v 1.5 2024/04/16 14:34:01 riastradh Exp $	*/
21.1Sriastrad
31.1Sriastrad/* SPDX-License-Identifier: MIT */
41.1Sriastrad/*
51.1Sriastrad * Copyright © 2019 Intel Corporation
61.1Sriastrad */
71.1Sriastrad
81.1Sriastrad#ifndef __INTEL_ACPI_H__
91.1Sriastrad#define __INTEL_ACPI_H__
101.1Sriastrad
111.5Sriastrad#include <linux/acpi.h>
121.5Sriastrad
131.3Sriastradstruct drm_i915_private;
141.3Sriastrad
151.1Sriastrad#ifdef CONFIG_ACPI
161.3Sriastrad#ifdef __NetBSD__
171.3Sriastradvoid intel_register_dsm_handler(struct drm_i915_private *);
181.3Sriastrad#else
191.1Sriastradvoid intel_register_dsm_handler(void);
201.3Sriastrad#endif
211.1Sriastradvoid intel_unregister_dsm_handler(void);
221.1Sriastrad#else
231.3Sriastrad#ifdef __NetBSD__
241.4Sriastradstatic inline void intel_register_dsm_handler(struct drm_i915_private *i915) { return; }
251.3Sriastrad#else
261.1Sriastradstatic inline void intel_register_dsm_handler(void) { return; }
271.3Sriastrad#endif
281.1Sriastradstatic inline void intel_unregister_dsm_handler(void) { return; }
291.1Sriastrad#endif /* CONFIG_ACPI */
301.1Sriastrad
311.1Sriastrad#endif /* __INTEL_ACPI_H__ */
32

Indexes created Mon Nov 10 17:20:41 GMT 2025