⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.60
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
modules
/
5.15.0-1033-aws
/
build
/
include
/
linux
/
View File Name :
apple-gmux.h
/* SPDX-License-Identifier: GPL-2.0-only */ /* * apple-gmux.h - microcontroller built into dual GPU MacBook Pro & Mac Pro * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de> */ #ifndef LINUX_APPLE_GMUX_H #define LINUX_APPLE_GMUX_H #include <linux/acpi.h> #define GMUX_ACPI_HID "APP000B" #if IS_ENABLED(CONFIG_APPLE_GMUX) /** * apple_gmux_present() - detect if gmux is built into the machine * * Drivers may use this to activate quirks specific to dual GPU MacBook Pros * and Mac Pros, e.g. for deferred probing, runtime pm and backlight. * * Return: %true if gmux is present and the kernel was configured * with CONFIG_APPLE_GMUX, %false otherwise. */ static inline bool apple_gmux_present(void) { return acpi_dev_found(GMUX_ACPI_HID); } #else /* !CONFIG_APPLE_GMUX */ static inline bool apple_gmux_present(void) { return false; } #endif /* !CONFIG_APPLE_GMUX */ #endif /* LINUX_APPLE_GMUX_H */