/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Header file for CPUFreq ondemand governor and related code.3*4* Copyright (C) 2016, Intel Corporation5* Author: Rafael J. Wysocki <[email protected]>6*/78#include "cpufreq_governor.h"910struct od_policy_dbs_info {11struct policy_dbs_info policy_dbs;12unsigned int freq_lo;13unsigned int freq_lo_delay_us;14unsigned int freq_hi_delay_us;15unsigned int sample_type:1;16};1718static inline struct od_policy_dbs_info *to_dbs_info(struct policy_dbs_info *policy_dbs)19{20return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs);21}2223struct od_dbs_tuners {24unsigned int powersave_bias;25};262728