1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2021 Intel Corporation
6 #ifndef _INTEL_GUC_SLPC_TYPES_H_
7 #define _INTEL_GUC_SLPC_TYPES_H_
9 #include <linux/atomic.h>
10 #include <linux/workqueue.h>
11 #include <linux/mutex.h>
12 #include <linux/types.h>
14 #define SLPC_RESET_TIMEOUT_MS 5
16 struct intel_guc_slpc {
18 struct slpc_shared_data *vaddr;
22 /* platform frequency limits */
28 /* frequency softlimits */
29 u32 min_freq_softlimit;
30 u32 max_freq_softlimit;
32 /* Protects set/reset of boost freq
33 * and value of num_waiters
37 struct work_struct boost_work;