xref: /titanic_50/usr/src/uts/i86pc/sys/speedstep.h (revision 0e7515250c8395f368aa45fb9acae7c4f8f8b786)
15cff7825Smh27603 /*
25cff7825Smh27603  * CDDL HEADER START
35cff7825Smh27603  *
45cff7825Smh27603  * The contents of this file are subject to the terms of the
55cff7825Smh27603  * Common Development and Distribution License (the "License").
65cff7825Smh27603  * You may not use this file except in compliance with the License.
75cff7825Smh27603  *
85cff7825Smh27603  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95cff7825Smh27603  * or http://www.opensolaris.org/os/licensing.
105cff7825Smh27603  * See the License for the specific language governing permissions
115cff7825Smh27603  * and limitations under the License.
125cff7825Smh27603  *
135cff7825Smh27603  * When distributing Covered Code, include this CDDL HEADER in each
145cff7825Smh27603  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155cff7825Smh27603  * If applicable, add the following below this CDDL HEADER, with the
165cff7825Smh27603  * fields enclosed by brackets "[]" replaced with your own identifying
175cff7825Smh27603  * information: Portions Copyright [yyyy] [name of copyright owner]
185cff7825Smh27603  *
195cff7825Smh27603  * CDDL HEADER END
205cff7825Smh27603  */
215cff7825Smh27603 /*
22*0e751525SEric Saxe  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
235cff7825Smh27603  * Use is subject to license terms.
245cff7825Smh27603  */
255cff7825Smh27603 
265cff7825Smh27603 #ifndef	_SPEEDSTEP_H
275cff7825Smh27603 #define	_SPEEDSTEP_H
285cff7825Smh27603 
29*0e751525SEric Saxe #include <sys/cpupm.h>
305cff7825Smh27603 
315cff7825Smh27603 #ifdef __cplusplus
325cff7825Smh27603 extern "C" {
335cff7825Smh27603 #endif
345cff7825Smh27603 
35*0e751525SEric Saxe extern boolean_t speedstep_supported(uint_t, uint_t);
367f606aceSMark Haywood 
37*0e751525SEric Saxe extern cpupm_state_ops_t speedstep_ops;
385cff7825Smh27603 
395cff7825Smh27603 #ifdef __cplusplus
405cff7825Smh27603 }
415cff7825Smh27603 #endif
425cff7825Smh27603 
435cff7825Smh27603 #endif	/* _SPEEDSTEP_H */
44