1*5cff7825Smh27603 /* 2*5cff7825Smh27603 * CDDL HEADER START 3*5cff7825Smh27603 * 4*5cff7825Smh27603 * The contents of this file are subject to the terms of the 5*5cff7825Smh27603 * Common Development and Distribution License (the "License"). 6*5cff7825Smh27603 * You may not use this file except in compliance with the License. 7*5cff7825Smh27603 * 8*5cff7825Smh27603 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*5cff7825Smh27603 * or http://www.opensolaris.org/os/licensing. 10*5cff7825Smh27603 * See the License for the specific language governing permissions 11*5cff7825Smh27603 * and limitations under the License. 12*5cff7825Smh27603 * 13*5cff7825Smh27603 * When distributing Covered Code, include this CDDL HEADER in each 14*5cff7825Smh27603 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*5cff7825Smh27603 * If applicable, add the following below this CDDL HEADER, with the 16*5cff7825Smh27603 * fields enclosed by brackets "[]" replaced with your own identifying 17*5cff7825Smh27603 * information: Portions Copyright [yyyy] [name of copyright owner] 18*5cff7825Smh27603 * 19*5cff7825Smh27603 * CDDL HEADER END 20*5cff7825Smh27603 */ 21*5cff7825Smh27603 /* 22*5cff7825Smh27603 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*5cff7825Smh27603 * Use is subject to license terms. 24*5cff7825Smh27603 */ 25*5cff7825Smh27603 26*5cff7825Smh27603 #ifndef _SPEEDSTEP_H 27*5cff7825Smh27603 #define _SPEEDSTEP_H 28*5cff7825Smh27603 29*5cff7825Smh27603 #pragma ident "%Z%%M% %I% %E% SMI" 30*5cff7825Smh27603 31*5cff7825Smh27603 #include <sys/cpudrv.h> 32*5cff7825Smh27603 33*5cff7825Smh27603 #ifdef __cplusplus 34*5cff7825Smh27603 extern "C" { 35*5cff7825Smh27603 #endif 36*5cff7825Smh27603 37*5cff7825Smh27603 extern int speedstep_init(cpudrv_devstate_t *); 38*5cff7825Smh27603 extern void speedstep_fini(cpudrv_devstate_t *); 39*5cff7825Smh27603 extern int speedstep_power(cpudrv_devstate_t *, uint32_t); 40*5cff7825Smh27603 41*5cff7825Smh27603 #ifdef __cplusplus 42*5cff7825Smh27603 } 43*5cff7825Smh27603 #endif 44*5cff7825Smh27603 45*5cff7825Smh27603 #endif /* _SPEEDSTEP_H */ 46