Files
chromebox_10th_audio_driver/kernel-src/linux-hwe-6.17-6.17.0/include/linux/pci-bwctrl.h
2026-04-04 07:45:01 +00:00

29 lines
650 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* PCIe bandwidth controller
*
* Copyright (C) 2023-2024 Intel Corporation
*/
#ifndef LINUX_PCI_BWCTRL_H
#define LINUX_PCI_BWCTRL_H
#include <linux/pci.h>
struct thermal_cooling_device;
#ifdef CONFIG_PCIE_THERMAL
struct thermal_cooling_device *pcie_cooling_device_register(struct pci_dev *port);
void pcie_cooling_device_unregister(struct thermal_cooling_device *cdev);
#else
static inline struct thermal_cooling_device *pcie_cooling_device_register(struct pci_dev *port)
{
return NULL;
}
static inline void pcie_cooling_device_unregister(struct thermal_cooling_device *cdev)
{
}
#endif
#endif